Package com.stripe.service.treasury
Class FinancialAccountService
java.lang.Object
com.stripe.net.ApiService
com.stripe.service.treasury.FinancialAccountService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCloses a FinancialAccount.close
(String financialAccount, RequestOptions options) Closes a FinancialAccount.close
(String financialAccount, FinancialAccountCloseParams params) Closes a FinancialAccount.close
(String financialAccount, FinancialAccountCloseParams params, RequestOptions options) Closes a FinancialAccount.create
(FinancialAccountCreateParams params) Creates a new FinancialAccount.create
(FinancialAccountCreateParams params, RequestOptions options) Creates a new FinancialAccount.features()
list()
Returns a list of FinancialAccounts.list
(RequestOptions options) Returns a list of FinancialAccounts.list
(FinancialAccountListParams params) Returns a list of FinancialAccounts.list
(FinancialAccountListParams params, RequestOptions options) Returns a list of FinancialAccounts.Retrieves the details of a FinancialAccount.retrieve
(String financialAccount, RequestOptions options) Retrieves the details of a FinancialAccount.retrieve
(String financialAccount, FinancialAccountRetrieveParams params) Retrieves the details of a FinancialAccount.retrieve
(String financialAccount, FinancialAccountRetrieveParams params, RequestOptions options) Retrieves the details of a FinancialAccount.Updates the details of a FinancialAccount.update
(String financialAccount, RequestOptions options) Updates the details of a FinancialAccount.update
(String financialAccount, FinancialAccountUpdateParams params) Updates the details of a FinancialAccount.update
(String financialAccount, FinancialAccountUpdateParams params, RequestOptions options) Updates the details of a FinancialAccount.Methods inherited from class com.stripe.net.ApiService
getResponseGetter, request, requestStream
-
Constructor Details
-
FinancialAccountService
-
-
Method Details
-
list
public StripeCollection<FinancialAccount> list(FinancialAccountListParams params) throws StripeException Returns a list of FinancialAccounts.- Throws:
StripeException
-
list
Returns a list of FinancialAccounts.- Throws:
StripeException
-
list
Returns a list of FinancialAccounts.- Throws:
StripeException
-
list
public StripeCollection<FinancialAccount> list(FinancialAccountListParams params, RequestOptions options) throws StripeException Returns a list of FinancialAccounts.- Throws:
StripeException
-
create
Creates a new FinancialAccount. Each connected account can have up to three FinancialAccounts by default.- Throws:
StripeException
-
create
public FinancialAccount create(FinancialAccountCreateParams params, RequestOptions options) throws StripeException Creates a new FinancialAccount. Each connected account can have up to three FinancialAccounts by default.- Throws:
StripeException
-
retrieve
public FinancialAccount retrieve(String financialAccount, FinancialAccountRetrieveParams params) throws StripeException Retrieves the details of a FinancialAccount.- Throws:
StripeException
-
retrieve
public FinancialAccount retrieve(String financialAccount, RequestOptions options) throws StripeException Retrieves the details of a FinancialAccount.- Throws:
StripeException
-
retrieve
Retrieves the details of a FinancialAccount.- Throws:
StripeException
-
retrieve
public FinancialAccount retrieve(String financialAccount, FinancialAccountRetrieveParams params, RequestOptions options) throws StripeException Retrieves the details of a FinancialAccount.- Throws:
StripeException
-
update
public FinancialAccount update(String financialAccount, FinancialAccountUpdateParams params) throws StripeException Updates the details of a FinancialAccount.- Throws:
StripeException
-
update
public FinancialAccount update(String financialAccount, RequestOptions options) throws StripeException Updates the details of a FinancialAccount.- Throws:
StripeException
-
update
Updates the details of a FinancialAccount.- Throws:
StripeException
-
update
public FinancialAccount update(String financialAccount, FinancialAccountUpdateParams params, RequestOptions options) throws StripeException Updates the details of a FinancialAccount.- Throws:
StripeException
-
close
public FinancialAccount close(String financialAccount, FinancialAccountCloseParams params) throws StripeException Closes a FinancialAccount. A FinancialAccount can only be closed if it has a zero balance, has no pending InboundTransfers, and has canceled all attached Issuing cards.- Throws:
StripeException
-
close
public FinancialAccount close(String financialAccount, RequestOptions options) throws StripeException Closes a FinancialAccount. A FinancialAccount can only be closed if it has a zero balance, has no pending InboundTransfers, and has canceled all attached Issuing cards.- Throws:
StripeException
-
close
Closes a FinancialAccount. A FinancialAccount can only be closed if it has a zero balance, has no pending InboundTransfers, and has canceled all attached Issuing cards.- Throws:
StripeException
-
close
public FinancialAccount close(String financialAccount, FinancialAccountCloseParams params, RequestOptions options) throws StripeException Closes a FinancialAccount. A FinancialAccount can only be closed if it has a zero balance, has no pending InboundTransfers, and has canceled all attached Issuing cards.- Throws:
StripeException
-
features
-