Class AccountExternalAccountService
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(String account, AccountExternalAccountCreateParams params) Create an external account for a given account.create
(String account, AccountExternalAccountCreateParams 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, AccountExternalAccountListParams params) List external accounts for an account.list
(String account, AccountExternalAccountListParams 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, AccountExternalAccountRetrieveParams params) Retrieve a specified external account for a given account.retrieve
(String account, String id, AccountExternalAccountRetrieveParams 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 connected 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 connected account and optionally sets it as the default for its currency.update
(String account, String id, AccountExternalAccountUpdateParams params) Updates the metadata, account holder name, account holder type of a bank account belonging to a connected account and optionally sets it as the default for its currency.update
(String account, String id, AccountExternalAccountUpdateParams params, RequestOptions options) Updates the metadata, account holder name, account holder type of a bank account belonging to a connected account and optionally sets it as the default for its currency.Methods inherited from class com.stripe.net.ApiService
getResponseGetter, request, requestStream
-
Constructor Details
-
AccountExternalAccountService
-
-
Method Details
-
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
-
retrieve
public ExternalAccount retrieve(String account, String id, AccountExternalAccountRetrieveParams 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, AccountExternalAccountRetrieveParams params, RequestOptions options) throws StripeException Retrieve a specified external account for a given account.- Throws:
StripeException
-
update
public ExternalAccount update(String account, String id, AccountExternalAccountUpdateParams params) throws StripeException Updates the metadata, account holder name, account holder type of a bank account belonging to a connected account and optionally sets it as the default for its currency. Other bank account details are not editable by design.You can only update bank accounts when account.controller.requirement_collection is
application
, which includes Custom accounts.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 connected account and optionally sets it as the default for its currency. Other bank account details are not editable by design.You can only update bank accounts when account.controller.requirement_collection is
application
, which includes Custom accounts.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 connected account and optionally sets it as the default for its currency. Other bank account details are not editable by design.You can only update bank accounts when account.controller.requirement_collection is
application
, which includes Custom accounts.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, AccountExternalAccountUpdateParams params, RequestOptions options) throws StripeException Updates the metadata, account holder name, account holder type of a bank account belonging to a connected account and optionally sets it as the default for its currency. Other bank account details are not editable by design.You can only update bank accounts when account.controller.requirement_collection is
application
, which includes Custom accounts.You can re-enable a disabled bank account by performing an update call without providing any arguments or changes.
- Throws:
StripeException
-
list
public StripeCollection<ExternalAccount> list(String account, AccountExternalAccountListParams 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, AccountExternalAccountListParams params, RequestOptions options) throws StripeException List external accounts for an account.- Throws:
StripeException
-
create
public ExternalAccount create(String account, AccountExternalAccountCreateParams params) throws StripeException Create an external account for a given account.- Throws:
StripeException
-
create
public ExternalAccount create(String account, AccountExternalAccountCreateParams params, RequestOptions options) throws StripeException Create an external account for a given account.- Throws:
StripeException
-