Package com.stripe.service
Class ExternalAccountService
java.lang.Object
com.stripe.net.ApiService
com.stripe.service.ExternalAccountService
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(String account, ExternalAccountCreateParams params) Create an external account for a given account.create
(String account, ExternalAccountCreateParams params, RequestOptions options) Create an external account for a given account.Delete a specified external account for a given account.delete
(String account, String id, RequestOptions options) Delete a specified external account for a given account.List external accounts for an account.list
(String account, RequestOptions options) List external accounts for an account.list
(String account, ExternalAccountListParams params) List external accounts for an account.list
(String account, ExternalAccountListParams params, RequestOptions options) List external accounts for an account.Retrieve a specified external account for a given account.retrieve
(String account, String id, RequestOptions options) Retrieve a specified external account for a given account.retrieve
(String account, String id, ExternalAccountRetrieveParams params) Retrieve a specified external account for a given account.retrieve
(String account, String id, ExternalAccountRetrieveParams params, RequestOptions options) Retrieve a specified external account for a given account.Updates the metadata, account holder name, account holder type of a bank account belonging to a Custom account, and optionally sets it as the default for its currency.update
(String account, String id, RequestOptions options) Updates the metadata, account holder name, account holder type of a bank account belonging to a Custom account, and optionally sets it as the default for its currency.update
(String account, String id, ExternalAccountUpdateParams params) Updates the metadata, account holder name, account holder type of a bank account belonging to a Custom account, and optionally sets it as the default for its currency.update
(String account, String id, ExternalAccountUpdateParams params, RequestOptions options) Updates the metadata, account holder name, account holder type of a bank account belonging to a Custom account, and optionally sets it as the default for its currency.Methods inherited from class com.stripe.net.ApiService
getResponseGetter
-
Constructor Details
-
ExternalAccountService
-
-
Method Details
-
list
public StripeCollection<ExternalAccount> list(String account, ExternalAccountListParams params) throws StripeException List external accounts for an account.- Throws:
StripeException
-
list
public StripeCollection<ExternalAccount> list(String account, RequestOptions options) throws StripeException List external accounts for an account.- Throws:
StripeException
-
list
List external accounts for an account.- Throws:
StripeException
-
list
public StripeCollection<ExternalAccount> list(String account, ExternalAccountListParams params, RequestOptions options) throws StripeException List external accounts for an account.- Throws:
StripeException
-
create
public ExternalAccount create(String account, ExternalAccountCreateParams params) throws StripeException Create an external account for a given account.- Throws:
StripeException
-
create
public ExternalAccount create(String account, ExternalAccountCreateParams params, RequestOptions options) throws StripeException Create an external account for a given account.- Throws:
StripeException
-
retrieve
public ExternalAccount retrieve(String account, String id, ExternalAccountRetrieveParams params) throws StripeException Retrieve a specified external account for a given account.- Throws:
StripeException
-
retrieve
public ExternalAccount retrieve(String account, String id, RequestOptions options) throws StripeException Retrieve a specified external account for a given account.- Throws:
StripeException
-
retrieve
Retrieve a specified external account for a given account.- Throws:
StripeException
-
retrieve
public ExternalAccount retrieve(String account, String id, ExternalAccountRetrieveParams params, RequestOptions options) throws StripeException Retrieve a specified external account for a given account.- Throws:
StripeException
-
update
public ExternalAccount update(String account, String id, ExternalAccountUpdateParams params) throws StripeException Updates the metadata, account holder name, account holder type of a bank account belonging to a Custom account, and optionally sets it as the default for its currency. Other bank account details are not editable by design.You can re-enable a disabled bank account by performing an update call without providing any arguments or changes.
- Throws:
StripeException
-
update
public ExternalAccount update(String account, String id, RequestOptions options) throws StripeException Updates the metadata, account holder name, account holder type of a bank account belonging to a Custom account, and optionally sets it as the default for its currency. Other bank account details are not editable by design.You can re-enable a disabled bank account by performing an update call without providing any arguments or changes.
- Throws:
StripeException
-
update
Updates the metadata, account holder name, account holder type of a bank account belonging to a Custom account, and optionally sets it as the default for its currency. Other bank account details are not editable by design.You can re-enable a disabled bank account by performing an update call without providing any arguments or changes.
- Throws:
StripeException
-
update
public ExternalAccount update(String account, String id, ExternalAccountUpdateParams params, RequestOptions options) throws StripeException Updates the metadata, account holder name, account holder type of a bank account belonging to a Custom account, and optionally sets it as the default for its currency. Other bank account details are not editable by design.You can re-enable a disabled bank account by performing an update call without providing any arguments or changes.
- Throws:
StripeException
-
delete
Delete a specified external account for a given account.- Throws:
StripeException
-
delete
public ExternalAccount delete(String account, String id, RequestOptions options) throws StripeException Delete a specified external account for a given account.- Throws:
StripeException
-