Package com.stripe.service
Class AccountPersonService
java.lang.Object
com.stripe.net.ApiService
com.stripe.service.AccountPersonService
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCreates a new person.create
(String account, RequestOptions options) Creates a new person.create
(String account, AccountPersonCreateParams params) Creates a new person.create
(String account, AccountPersonCreateParams params, RequestOptions options) Creates a new person.Deletes an existing person’s relationship to the account’s legal entity.delete
(String account, String person, RequestOptions options) Deletes an existing person’s relationship to the account’s legal entity.Returns a list of people associated with the account’s legal entity.list
(String account, RequestOptions options) Returns a list of people associated with the account’s legal entity.list
(String account, AccountPersonListParams params) Returns a list of people associated with the account’s legal entity.list
(String account, AccountPersonListParams params, RequestOptions options) Returns a list of people associated with the account’s legal entity.Retrieves an existing person.retrieve
(String account, String person, RequestOptions options) Retrieves an existing person.retrieve
(String account, String person, AccountPersonRetrieveParams params) Retrieves an existing person.retrieve
(String account, String person, AccountPersonRetrieveParams params, RequestOptions options) Retrieves an existing person.Updates an existing person.update
(String account, String person, RequestOptions options) Updates an existing person.update
(String account, String person, AccountPersonUpdateParams params) Updates an existing person.update
(String account, String person, AccountPersonUpdateParams params, RequestOptions options) Updates an existing person.Methods inherited from class com.stripe.net.ApiService
getResponseGetter, request, requestStream
-
Constructor Details
-
AccountPersonService
-
-
Method Details
-
delete
Deletes an existing person’s relationship to the account’s legal entity. Any person with a relationship for an account can be deleted through the API, except if the person is theaccount_opener
. If your integration is using theexecutive
parameter, you cannot delete the only verifiedexecutive
on file.- Throws:
StripeException
-
delete
Deletes an existing person’s relationship to the account’s legal entity. Any person with a relationship for an account can be deleted through the API, except if the person is theaccount_opener
. If your integration is using theexecutive
parameter, you cannot delete the only verifiedexecutive
on file.- Throws:
StripeException
-
retrieve
public Person retrieve(String account, String person, AccountPersonRetrieveParams params) throws StripeException Retrieves an existing person.- Throws:
StripeException
-
retrieve
public Person retrieve(String account, String person, RequestOptions options) throws StripeException Retrieves an existing person.- Throws:
StripeException
-
retrieve
Retrieves an existing person.- Throws:
StripeException
-
retrieve
public Person retrieve(String account, String person, AccountPersonRetrieveParams params, RequestOptions options) throws StripeException Retrieves an existing person.- Throws:
StripeException
-
update
public Person update(String account, String person, AccountPersonUpdateParams params) throws StripeException Updates an existing person.- Throws:
StripeException
-
update
Updates an existing person.- Throws:
StripeException
-
update
Updates an existing person.- Throws:
StripeException
-
update
public Person update(String account, String person, AccountPersonUpdateParams params, RequestOptions options) throws StripeException Updates an existing person.- Throws:
StripeException
-
list
public StripeCollection<Person> list(String account, AccountPersonListParams params) throws StripeException Returns a list of people associated with the account’s legal entity. The people are returned sorted by creation date, with the most recent people appearing first.- Throws:
StripeException
-
list
Returns a list of people associated with the account’s legal entity. The people are returned sorted by creation date, with the most recent people appearing first.- Throws:
StripeException
-
list
Returns a list of people associated with the account’s legal entity. The people are returned sorted by creation date, with the most recent people appearing first.- Throws:
StripeException
-
list
public StripeCollection<Person> list(String account, AccountPersonListParams params, RequestOptions options) throws StripeException Returns a list of people associated with the account’s legal entity. The people are returned sorted by creation date, with the most recent people appearing first.- Throws:
StripeException
-
create
Creates a new person.- Throws:
StripeException
-
create
Creates a new person.- Throws:
StripeException
-
create
Creates a new person.- Throws:
StripeException
-
create
public Person create(String account, AccountPersonCreateParams params, RequestOptions options) throws StripeException Creates a new person.- Throws:
StripeException
-