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 SummaryNested ClassesModifier and TypeClassDescriptionstatic classFor more details about AccountHolder, 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.ApiResourceApiResource.RequestMethod
- 
Field SummaryFields inherited from class com.stripe.net.ApiResourceCHARSET, GSON, INTERNAL_GSONFields inherited from class com.stripe.model.StripeObjectPRETTY_PRINT_GSON
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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.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.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.ApiResourcecheckNullTypedParams, getGlobalResponseGetter, getResponseGetter, setExpandableFieldId, setGlobalResponseGetter, urlEncode, urlEncodeIdMethods inherited from class com.stripe.model.StripeObjectdeserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toStringMethods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.stripe.model.StripeActiveObjecttrySetResponseGetter
- 
Constructor Details- 
Accountpublic Account()
 
- 
- 
Method Details- 
getInstitutionGet ID of expandableinstitutionobject.
- 
setInstitution
- 
getInstitutionObjectGet expandedinstitution.
- 
setInstitutionObject
- 
getOwnershipGet ID of expandableownershipobject.
- 
setOwnership
- 
getOwnershipObjectGet expandedownership.
- 
setOwnershipObject
- 
disconnectDisables 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
 
- 
disconnectDisables 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
 
- 
disconnectDisables 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
 
- 
disconnectDisables 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
 
- 
disconnectDisables 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
 
- 
disconnectpublic 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
 
- 
listReturns a list of Financial ConnectionsAccountobjects.- Throws:
- StripeException
 
- 
listpublic static AccountCollection list(Map<String, Object> params, RequestOptions options) throws StripeExceptionReturns a list of Financial ConnectionsAccountobjects.- Throws:
- StripeException
 
- 
listReturns a list of Financial ConnectionsAccountobjects.- Throws:
- StripeException
 
- 
listpublic static AccountCollection list(AccountListParams params, RequestOptions options) throws StripeException Returns a list of Financial ConnectionsAccountobjects.- Throws:
- StripeException
 
- 
listOwnersLists all owners for a givenAccount.- Throws:
- StripeException
 
- 
listOwnerspublic AccountOwnerCollection listOwners(Map<String, Object> params, RequestOptions options) throws StripeExceptionLists all owners for a givenAccount.- Throws:
- StripeException
 
- 
listOwnersLists all owners for a givenAccount.- Throws:
- StripeException
 
- 
listOwnerspublic AccountOwnerCollection listOwners(AccountListOwnersParams params, RequestOptions options) throws StripeException Lists all owners for a givenAccount.- Throws:
- StripeException
 
- 
refreshRefreshes the data associated with a Financial ConnectionsAccount.- Throws:
- StripeException
 
- 
refreshRefreshes the data associated with a Financial ConnectionsAccount.- Throws:
- StripeException
 
- 
refreshRefreshes the data associated with a Financial ConnectionsAccount.- Throws:
- StripeException
 
- 
refreshRefreshes the data associated with a Financial ConnectionsAccount.- Throws:
- StripeException
 
- 
retrieveRetrieves the details of an Financial ConnectionsAccount.- Throws:
- StripeException
 
- 
retrieveRetrieves the details of an Financial ConnectionsAccount.- Throws:
- StripeException
 
- 
retrievepublic static Account retrieve(String account, Map<String, Object> params, RequestOptions options) throws StripeExceptionRetrieves the details of an Financial ConnectionsAccount.- Throws:
- StripeException
 
- 
retrievepublic static Account retrieve(String account, AccountRetrieveParams params, RequestOptions options) throws StripeException Retrieves the details of an Financial ConnectionsAccount.- Throws:
- StripeException
 
- 
subscribeSubscribes 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
 
- 
subscribeSubscribes 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
 
- 
subscribeSubscribes 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
 
- 
subscribepublic 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
 
- 
unsubscribeUnsubscribes from periodic refreshes of data associated with a Financial ConnectionsAccount.- Throws:
- StripeException
 
- 
unsubscribepublic Account unsubscribe(Map<String, Object> params, RequestOptions options) throws StripeExceptionUnsubscribes from periodic refreshes of data associated with a Financial ConnectionsAccount.- Throws:
- StripeException
 
- 
unsubscribeUnsubscribes from periodic refreshes of data associated with a Financial ConnectionsAccount.- Throws:
- StripeException
 
- 
unsubscribepublic Account unsubscribe(AccountUnsubscribeParams params, RequestOptions options) throws StripeException Unsubscribes from periodic refreshes of data associated with a Financial ConnectionsAccount.- Throws:
- StripeException
 
- 
setResponseGetterDescription copied from interface:StripeActiveObjectMethod is used by the containing object orStripeResponseGetterimplementations to set theStripeResponseGetterinstance used to make further requests.- Specified by:
- setResponseGetterin interface- StripeActiveObject
- Overrides:
- setResponseGetterin class- ApiResource
- Parameters:
- responseGetter- the- StripeResponseGetterinstance to use for making further requests.
 
- 
getAccountHolderThe account holder that this account belongs to.
- 
getBalanceThe most recent information about the account's balance.
- 
getBalanceRefreshThe state of the most recent attempt to refresh the account balance.
- 
getCategoryThe type of the account. Account category is further divided insubcategory.One of cash,credit,investment, orother.
- 
getCreatedTime at which the object was created. Measured in seconds since the Unix epoch.
- 
getDisplayNameA human-readable name that has been assigned to this account, either by the account holder or by the institution.
- 
getInferredBalancesRefreshThe state of the most recent attempt to refresh the account's inferred balance history.
- 
getInstitutionNameThe name of the institution that holds this account.
- 
getLast4The last 4 digits of the account number. If present, this will be 4 numeric characters.
- 
getLivemodeHas the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.
- 
getObjectString representing the object's type. Objects of the same type share the same value.Equal to financial_connections.account.
- 
getOwnershipRefreshThe state of the most recent attempt to refresh the account owners.
- 
getPermissionsThe list of permissions granted by this account.
- 
getStatusThe status of the link to the account.One of active,disconnected, orinactive.
- 
getSubcategoryIfcategoryiscash, one of:- checking-savings-otherIf categoryiscredit, one of:- mortgage-line_of_credit-credit_card-otherIf categoryisinvestmentorother, this will beother.
- 
getSubscriptionsThe list of data refresh subscriptions requested on this account.
- 
getSupportedPaymentMethodTypesThe PaymentMethod type(s) that can be created from this account.
- 
getTransactionRefreshThe state of the most recent attempt to refresh the account transactions.
- 
setAccountHolderThe account holder that this account belongs to.
- 
setBalanceThe most recent information about the account's balance.
- 
setBalanceRefreshThe state of the most recent attempt to refresh the account balance.
- 
setCategoryThe type of the account. Account category is further divided insubcategory.One of cash,credit,investment, orother.
- 
setCreatedTime at which the object was created. Measured in seconds since the Unix epoch.
- 
setDisplayNameA human-readable name that has been assigned to this account, either by the account holder or by the institution.
- 
setIdUnique identifier for the object.
- 
setInferredBalancesRefreshThe state of the most recent attempt to refresh the account's inferred balance history.
- 
setInstitutionNameThe name of the institution that holds this account.
- 
setLast4The last 4 digits of the account number. If present, this will be 4 numeric characters.
- 
setLivemodeHas the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.
- 
setObjectString representing the object's type. Objects of the same type share the same value.Equal to financial_connections.account.
- 
setOwnershipRefreshThe state of the most recent attempt to refresh the account owners.
- 
setPermissionsThe list of permissions granted by this account.
- 
setStatusThe status of the link to the account.One of active,disconnected, orinactive.
- 
setSubcategoryIfcategoryiscash, one of:- checking-savings-otherIf categoryiscredit, one of:- mortgage-line_of_credit-credit_card-otherIf categoryisinvestmentorother, this will beother.
- 
setSubscriptionsThe list of data refresh subscriptions requested on this account.
- 
setSupportedPaymentMethodTypesThe PaymentMethod type(s) that can be created from this account.
- 
setTransactionRefreshThe state of the most recent attempt to refresh the account transactions.
- 
equals
- 
canEqual
- 
hashCodepublic int hashCode()
- 
getIdUnique identifier for the object.
 
-