Class Account
java.lang.Object
com.stripe.model.StripeObject
com.stripe.net.ApiResource
com.stripe.model.financialconnections.Account
- All Implemented Interfaces:
HasId,StripeObjectInterface
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classThe credit that has been used by the account holder.static classNested classes/interfaces inherited from class com.stripe.net.ApiResource
ApiResource.RequestMethod -
Field Summary
Fields inherited from class com.stripe.net.ApiResource
CHARSET, 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.static Accountdisconnect(String account, AccountDisconnectParams params, RequestOptions options) Disables your access to a Financial ConnectionsAccount.static Accountdisconnect(String account, Map<String, Object> 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 name of the institution that holds this account.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 PaymentMethod type(s) that can be created from this account.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.static Accountrefresh(String account, AccountRefreshParams params, RequestOptions options) Refreshes the data associated with a Financial ConnectionsAccount.static AccountRefreshes 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.voidsetInstitutionName(String institutionName) The name of the institution that holds this account.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.voidThe status of the link to the account.voidsetSubcategory(String subcategory) Ifcategoryiscash, one of:voidsetSupportedPaymentMethodTypes(List<String> supportedPaymentMethodTypes) The PaymentMethod type(s) that can be created from this account.Methods inherited from class com.stripe.net.ApiResource
checkNullTypedParams, classUrl, classUrl, instanceUrl, instanceUrl, request, request, requestCollection, requestCollection, requestSearchResult, requestSearchResult, requestStream, requestStream, setExpandableFieldId, setStripeResponseGetter, singleClassUrl, singleClassUrl, subresourceUrl, urlEncode, urlEncodeIdMethods inherited from class com.stripe.model.StripeObject
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
Account
public Account()
-
-
Method Details
-
getOwnership
Get ID of expandableownershipobject. -
setOwnership
-
getOwnershipObject
Get expandedownership. -
setOwnershipObject
-
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
-
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
-
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
-
refresh
public static Account refresh(String account, Map<String, Object> params, RequestOptions options) throws StripeExceptionRefreshes the data associated with a Financial ConnectionsAccount.- Throws:
StripeException
-
refresh
public static Account refresh(String account, AccountRefreshParams params, RequestOptions options) throws StripeException Refreshes the data associated with a Financial ConnectionsAccount.- 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
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
-
disconnect
public static Account disconnect(String account, Map<String, Object> params, RequestOptions options) throws StripeExceptionDisables 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 static Account disconnect(String account, 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
-
getAccountHolder
The account holder that this account belongs to. -
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. -
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. -
getSupportedPaymentMethodTypes
The PaymentMethod type(s) that can be created from this account. -
setAccountHolder
The account holder that this account belongs to. -
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. -
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. -
setSupportedPaymentMethodTypes
The PaymentMethod type(s) that can be created from this account. -
equals
-
canEqual
-
hashCode
public int hashCode() -
getId
Unique identifier for the object.
-