Class Account
java.lang.Object
com.stripe.model.StripeObject
com.stripe.net.ApiResource
com.stripe.model.financialconnections.Account
- All Implemented Interfaces:
HasId,StripeActiveObject,StripeObjectInterface
A Financial Connections Account represents an account that exists outside of Stripe, to which you
have been granted some degree of access.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classFor more details about AccountHolder, please refer to the API Reference.static classFor more details about AccountNumber, please refer to the API Reference.static classFor more details about Balance, please refer to the API Reference.static classFor more details about BalanceRefresh, please refer to the API Reference.static classFor more details about InferredBalancesRefresh, please refer to the API Reference.static classFor more details about OwnershipRefresh, please refer to the API Reference.static classFor more details about TransactionRefresh, please refer to the API Reference.Nested classes/interfaces inherited from class com.stripe.net.ApiResource
ApiResource.RequestMethod -
Field Summary
Fields inherited from class com.stripe.net.ApiResource
CHARSET, GSON, INTERNAL_GSONFields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanDisables your access to a Financial ConnectionsAccount.disconnect(RequestOptions options) Disables your access to a Financial ConnectionsAccount.disconnect(AccountDisconnectParams params) Disables your access to a Financial ConnectionsAccount.disconnect(AccountDisconnectParams params, RequestOptions options) Disables your access to a Financial ConnectionsAccount.disconnect(Map<String, Object> params) Disables your access to a Financial ConnectionsAccount.disconnect(Map<String, Object> params, RequestOptions options) Disables your access to a Financial ConnectionsAccount.booleanThe account holder that this account belongs to.Details about the account numbers.The most recent information about the account's balance.The state of the most recent attempt to refresh the account balance.The type of the account.Time at which the object was created.A human-readable name that has been assigned to this account, either by the account holder or by the institution.getId()Unique identifier for the object.The state of the most recent attempt to refresh the account's inferred balance history.Get ID of expandableinstitutionobject.The name of the institution that holds this account.Get expandedinstitution.getLast4()The last 4 digits of the account number.Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.String representing the object's type.Get ID of expandableownershipobject.Get expandedownership.The state of the most recent attempt to refresh the account owners.The list of permissions granted by this account.The status of the link to the account.Ifcategoryiscash, one of:The list of data refresh subscriptions requested on this account.The PaymentMethod type(s) that can be created from this account.The state of the most recent attempt to refresh the account transactions.inthashCode()static AccountCollectionlist(AccountListParams params) Returns a list of Financial ConnectionsAccountobjects.static AccountCollectionlist(AccountListParams params, RequestOptions options) Returns a list of Financial ConnectionsAccountobjects.static AccountCollectionReturns a list of Financial ConnectionsAccountobjects.static AccountCollectionlist(Map<String, Object> params, RequestOptions options) Returns a list of Financial ConnectionsAccountobjects.listOwners(AccountListOwnersParams params) Lists all owners for a givenAccount.listOwners(AccountListOwnersParams params, RequestOptions options) Lists all owners for a givenAccount.listOwners(Map<String, Object> params) Lists all owners for a givenAccount.listOwners(Map<String, Object> params, RequestOptions options) Lists all owners for a givenAccount.refresh(AccountRefreshParams params) Refreshes the data associated with a Financial ConnectionsAccount.refresh(AccountRefreshParams params, RequestOptions options) Refreshes the data associated with a Financial ConnectionsAccount.Refreshes the data associated with a Financial ConnectionsAccount.refresh(Map<String, Object> params, RequestOptions options) Refreshes the data associated with a Financial ConnectionsAccount.static AccountRetrieves the details of an Financial ConnectionsAccount.static Accountretrieve(String account, RequestOptions options) Retrieves the details of an Financial ConnectionsAccount.static Accountretrieve(String account, AccountRetrieveParams params, RequestOptions options) Retrieves the details of an Financial ConnectionsAccount.static AccountRetrieves the details of an Financial ConnectionsAccount.voidsetAccountHolder(Account.AccountHolder accountHolder) The account holder that this account belongs to.voidsetAccountNumbers(List<Account.AccountNumber> accountNumbers) Details about the account numbers.voidsetBalance(Account.Balance balance) The most recent information about the account's balance.voidsetBalanceRefresh(Account.BalanceRefresh balanceRefresh) The state of the most recent attempt to refresh the account balance.voidsetCategory(String category) The type of the account.voidsetCreated(Long created) Time at which the object was created.voidsetDisplayName(String displayName) A human-readable name that has been assigned to this account, either by the account holder or by the institution.voidUnique identifier for the object.voidsetInferredBalancesRefresh(Account.InferredBalancesRefresh inferredBalancesRefresh) The state of the most recent attempt to refresh the account's inferred balance history.voidsetInstitution(String id) voidsetInstitutionName(String institutionName) The name of the institution that holds this account.voidsetInstitutionObject(Institution expandableObject) voidThe last 4 digits of the account number.voidsetLivemode(Boolean livemode) Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.voidString representing the object's type.voidsetOwnership(String id) voidsetOwnershipObject(AccountOwnership expandableObject) voidsetOwnershipRefresh(Account.OwnershipRefresh ownershipRefresh) The state of the most recent attempt to refresh the account owners.voidsetPermissions(List<String> permissions) The list of permissions granted by this account.voidsetResponseGetter(StripeResponseGetter responseGetter) Method is used by the containing object orStripeResponseGetterimplementations to set theStripeResponseGetterinstance used to make further requests.voidThe status of the link to the account.voidsetSubcategory(String subcategory) Ifcategoryiscash, one of:voidsetSubscriptions(List<String> subscriptions) The list of data refresh subscriptions requested on this account.voidsetSupportedPaymentMethodTypes(List<String> supportedPaymentMethodTypes) The PaymentMethod type(s) that can be created from this account.voidsetTransactionRefresh(Account.TransactionRefresh transactionRefresh) The state of the most recent attempt to refresh the account transactions.subscribe(AccountSubscribeParams params) Subscribes to periodic refreshes of data associated with a Financial ConnectionsAccount.subscribe(AccountSubscribeParams params, RequestOptions options) Subscribes to periodic refreshes of data associated with a Financial ConnectionsAccount.Subscribes to periodic refreshes of data associated with a Financial ConnectionsAccount.subscribe(Map<String, Object> params, RequestOptions options) Subscribes to periodic refreshes of data associated with a Financial ConnectionsAccount.unsubscribe(AccountUnsubscribeParams params) Unsubscribes from periodic refreshes of data associated with a Financial ConnectionsAccount.unsubscribe(AccountUnsubscribeParams params, RequestOptions options) Unsubscribes from periodic refreshes of data associated with a Financial ConnectionsAccount.unsubscribe(Map<String, Object> params) Unsubscribes from periodic refreshes of data associated with a Financial ConnectionsAccount.unsubscribe(Map<String, Object> params, RequestOptions options) Unsubscribes from periodic refreshes of data associated with a Financial ConnectionsAccount.Methods inherited from class com.stripe.net.ApiResource
checkNullTypedParams, getGlobalResponseGetter, getResponseGetter, setExpandableFieldId, setGlobalResponseGetter, urlEncode, urlEncodeIdMethods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.stripe.model.StripeActiveObject
trySetResponseGetter
-
Constructor Details
-
Account
public Account()
-
-
Method Details
-
getInstitution
Get ID of expandableinstitutionobject. -
setInstitution
-
getInstitutionObject
Get expandedinstitution. -
setInstitutionObject
-
getOwnership
Get ID of expandableownershipobject. -
setOwnership
-
getOwnershipObject
Get expandedownership. -
setOwnershipObject
-
disconnect
Disables your access to a Financial ConnectionsAccount. You will no longer be able to access data associated with the account (e.g. balances, transactions).- Throws:
StripeException
-
disconnect
Disables your access to a Financial ConnectionsAccount. You will no longer be able to access data associated with the account (e.g. balances, transactions).- Throws:
StripeException
-
disconnect
Disables your access to a Financial ConnectionsAccount. You will no longer be able to access data associated with the account (e.g. balances, transactions).- Throws:
StripeException
-
disconnect
Disables your access to a Financial ConnectionsAccount. You will no longer be able to access data associated with the account (e.g. balances, transactions).- Throws:
StripeException
-
disconnect
Disables your access to a Financial ConnectionsAccount. You will no longer be able to access data associated with the account (e.g. balances, transactions).- Throws:
StripeException
-
disconnect
public Account disconnect(AccountDisconnectParams params, RequestOptions options) throws StripeException Disables your access to a Financial ConnectionsAccount. You will no longer be able to access data associated with the account (e.g. balances, transactions).- Throws:
StripeException
-
list
Returns a list of Financial ConnectionsAccountobjects.- Throws:
StripeException
-
list
public static AccountCollection list(Map<String, Object> params, RequestOptions options) throws StripeExceptionReturns a list of Financial ConnectionsAccountobjects.- Throws:
StripeException
-
list
Returns a list of Financial ConnectionsAccountobjects.- Throws:
StripeException
-
list
public static AccountCollection list(AccountListParams params, RequestOptions options) throws StripeException Returns a list of Financial ConnectionsAccountobjects.- Throws:
StripeException
-
listOwners
Lists all owners for a givenAccount.- Throws:
StripeException
-
listOwners
public AccountOwnerCollection listOwners(Map<String, Object> params, RequestOptions options) throws StripeExceptionLists all owners for a givenAccount.- Throws:
StripeException
-
listOwners
Lists all owners for a givenAccount.- Throws:
StripeException
-
listOwners
public AccountOwnerCollection listOwners(AccountListOwnersParams params, RequestOptions options) throws StripeException Lists all owners for a givenAccount.- Throws:
StripeException
-
refresh
Refreshes the data associated with a Financial ConnectionsAccount.- Throws:
StripeException
-
refresh
Refreshes the data associated with a Financial ConnectionsAccount.- Throws:
StripeException
-
refresh
Refreshes the data associated with a Financial ConnectionsAccount.- Throws:
StripeException
-
refresh
Refreshes the data associated with a Financial ConnectionsAccount.- Throws:
StripeException
-
retrieve
Retrieves the details of an Financial ConnectionsAccount.- Throws:
StripeException
-
retrieve
Retrieves the details of an Financial ConnectionsAccount.- Throws:
StripeException
-
retrieve
public static Account retrieve(String account, Map<String, Object> params, RequestOptions options) throws StripeExceptionRetrieves the details of an Financial ConnectionsAccount.- Throws:
StripeException
-
retrieve
public static Account retrieve(String account, AccountRetrieveParams params, RequestOptions options) throws StripeException Retrieves the details of an Financial ConnectionsAccount.- Throws:
StripeException
-
subscribe
Subscribes to periodic refreshes of data associated with a Financial ConnectionsAccount. When the account status is active, data is typically refreshed once a day.- Throws:
StripeException
-
subscribe
Subscribes to periodic refreshes of data associated with a Financial ConnectionsAccount. When the account status is active, data is typically refreshed once a day.- Throws:
StripeException
-
subscribe
Subscribes to periodic refreshes of data associated with a Financial ConnectionsAccount. When the account status is active, data is typically refreshed once a day.- Throws:
StripeException
-
subscribe
public Account subscribe(AccountSubscribeParams params, RequestOptions options) throws StripeException Subscribes to periodic refreshes of data associated with a Financial ConnectionsAccount. When the account status is active, data is typically refreshed once a day.- Throws:
StripeException
-
unsubscribe
Unsubscribes from periodic refreshes of data associated with a Financial ConnectionsAccount.- Throws:
StripeException
-
unsubscribe
public Account unsubscribe(Map<String, Object> params, RequestOptions options) throws StripeExceptionUnsubscribes from periodic refreshes of data associated with a Financial ConnectionsAccount.- Throws:
StripeException
-
unsubscribe
Unsubscribes from periodic refreshes of data associated with a Financial ConnectionsAccount.- Throws:
StripeException
-
unsubscribe
public Account unsubscribe(AccountUnsubscribeParams params, RequestOptions options) throws StripeException Unsubscribes from periodic refreshes of data associated with a Financial ConnectionsAccount.- Throws:
StripeException
-
setResponseGetter
Description copied from interface:StripeActiveObjectMethod is used by the containing object orStripeResponseGetterimplementations to set theStripeResponseGetterinstance used to make further requests.- Specified by:
setResponseGetterin interfaceStripeActiveObject- Overrides:
setResponseGetterin classApiResource- Parameters:
responseGetter- theStripeResponseGetterinstance to use for making further requests.
-
getAccountHolder
The account holder that this account belongs to. -
getAccountNumbers
Details about the account numbers. -
getBalance
The most recent information about the account's balance. -
getBalanceRefresh
The state of the most recent attempt to refresh the account balance. -
getCategory
The type of the account. Account category is further divided insubcategory.One of
cash,credit,investment, orother. -
getCreated
Time at which the object was created. Measured in seconds since the Unix epoch. -
getDisplayName
A human-readable name that has been assigned to this account, either by the account holder or by the institution. -
getInferredBalancesRefresh
The state of the most recent attempt to refresh the account's inferred balance history. -
getInstitutionName
The name of the institution that holds this account. -
getLast4
The last 4 digits of the account number. If present, this will be 4 numeric characters. -
getLivemode
Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode. -
getObject
String representing the object's type. Objects of the same type share the same value.Equal to
financial_connections.account. -
getOwnershipRefresh
The state of the most recent attempt to refresh the account owners. -
getPermissions
The list of permissions granted by this account. -
getStatus
The status of the link to the account.One of
active,disconnected, orinactive. -
getSubcategory
Ifcategoryiscash, one of:-
checking-savings-otherIf
categoryiscredit, one of:-
mortgage-line_of_credit-credit_card-otherIf
categoryisinvestmentorother, this will beother. -
getSubscriptions
The list of data refresh subscriptions requested on this account. -
getSupportedPaymentMethodTypes
The PaymentMethod type(s) that can be created from this account. -
getTransactionRefresh
The state of the most recent attempt to refresh the account transactions. -
setAccountHolder
The account holder that this account belongs to. -
setAccountNumbers
Details about the account numbers. -
setBalance
The most recent information about the account's balance. -
setBalanceRefresh
The state of the most recent attempt to refresh the account balance. -
setCategory
The type of the account. Account category is further divided insubcategory.One of
cash,credit,investment, orother. -
setCreated
Time at which the object was created. Measured in seconds since the Unix epoch. -
setDisplayName
A human-readable name that has been assigned to this account, either by the account holder or by the institution. -
setId
Unique identifier for the object. -
setInferredBalancesRefresh
The state of the most recent attempt to refresh the account's inferred balance history. -
setInstitutionName
The name of the institution that holds this account. -
setLast4
The last 4 digits of the account number. If present, this will be 4 numeric characters. -
setLivemode
Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode. -
setObject
String representing the object's type. Objects of the same type share the same value.Equal to
financial_connections.account. -
setOwnershipRefresh
The state of the most recent attempt to refresh the account owners. -
setPermissions
The list of permissions granted by this account. -
setStatus
The status of the link to the account.One of
active,disconnected, orinactive. -
setSubcategory
Ifcategoryiscash, one of:-
checking-savings-otherIf
categoryiscredit, one of:-
mortgage-line_of_credit-credit_card-otherIf
categoryisinvestmentorother, this will beother. -
setSubscriptions
The list of data refresh subscriptions requested on this account. -
setSupportedPaymentMethodTypes
The PaymentMethod type(s) that can be created from this account. -
setTransactionRefresh
The state of the most recent attempt to refresh the account transactions. -
equals
-
canEqual
-
hashCode
public int hashCode() -
getId
Unique identifier for the object.
-