Class PersonService
java.lang.Object
com.stripe.net.ApiService
com.stripe.service.v2.core.accounts.PersonService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreate a Person associated with an Account.create
(String accountId, RequestOptions options) Create a Person associated with an Account.create
(String accountId, PersonCreateParams params) Create a Person associated with an Account.create
(String accountId, PersonCreateParams params, RequestOptions options) Create a Person associated with an Account.Delete a Person associated with an Account.delete
(String accountId, String id, RequestOptions options) Delete a Person associated with an Account.Returns a list of Persons associated with an Account.list
(String accountId, RequestOptions options) Returns a list of Persons associated with an Account.list
(String accountId, PersonListParams params) Returns a list of Persons associated with an Account.list
(String accountId, PersonListParams params, RequestOptions options) Returns a list of Persons associated with an Account.Retrieves a Person associated with an Account.retrieve
(String accountId, String id, RequestOptions options) Retrieves a Person associated with an Account.Updates a Person associated with an Account.update
(String accountId, String id, RequestOptions options) Updates a Person associated with an Account.update
(String accountId, String id, PersonUpdateParams params) Updates a Person associated with an Account.update
(String accountId, String id, PersonUpdateParams params, RequestOptions options) Updates a Person associated with an Account.Methods inherited from class com.stripe.net.ApiService
getResponseGetter, request, requestStream
-
Constructor Details
-
PersonService
-
-
Method Details
-
list
public StripeCollection<Person> list(String accountId, PersonListParams params) throws StripeException Returns a list of Persons associated with an Account.- Throws:
StripeException
-
list
public StripeCollection<Person> list(String accountId, RequestOptions options) throws StripeException Returns a list of Persons associated with an Account.- Throws:
StripeException
-
list
Returns a list of Persons associated with an Account.- Throws:
StripeException
-
list
public StripeCollection<Person> list(String accountId, PersonListParams params, RequestOptions options) throws StripeException Returns a list of Persons associated with an Account.- Throws:
StripeException
-
create
Create a Person associated with an Account.- Throws:
StripeException
-
create
Create a Person associated with an Account.- Throws:
StripeException
-
create
Create a Person associated with an Account.- Throws:
StripeException
-
create
public Person create(String accountId, PersonCreateParams params, RequestOptions options) throws StripeException Create a Person associated with an Account.- Throws:
StripeException
-
delete
Delete a Person associated with an Account.- Throws:
StripeException
-
delete
Delete a Person associated with an Account.- Throws:
StripeException
-
retrieve
Retrieves a Person associated with an Account.- Throws:
StripeException
-
retrieve
Retrieves a Person associated with an Account.- Throws:
StripeException
-
update
Updates a Person associated with an Account.- Throws:
StripeException
-
update
Updates a Person associated with an Account.- Throws:
StripeException
-
update
Updates a Person associated with an Account.- Throws:
StripeException
-
update
public Person update(String accountId, String id, PersonUpdateParams params, RequestOptions options) throws StripeException Updates a Person associated with an Account.- Throws:
StripeException
-