Package com.stripe.model.v2.core
Class Account
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.v2.core.Account
- All Implemented Interfaces:
HasId,StripeObjectInterface
A V2 Account is a representation of a company or individual that a Stripe user does business
with. Accounts contain the contact details, Legal Entity information, and configuration required
to enable the Account for use across Stripe products.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classAn Account Configuration which allows the Account to take on a key persona across Stripe products.static classDefault values to be used on Account Configurations.static classInformation about the company, individual, and business represented by the Account.static classInformation about the requirements for the Account, including what information needs to be collected, and by when. -
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanFilter only accounts that have all of the configurations specified.A value indicating if the Account has been closed.An Account Configuration which allows the Account to take on a key persona across Stripe products.The default contact email address for the Account.Time at which the object was created.A value indicating the Stripe dashboard this Account has access to.Default values to be used on Account Configurations.A descriptive name for the Account.getId()Unique identifier for the Account.Information about the company, individual, and business represented by the Account.Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.Set of key-value pairs that you can attach to an object.String representing the object's type.Information about the requirements for the Account, including what information needs to be collected, and by when.inthashCode()voidsetAppliedConfigurations(List<String> appliedConfigurations) Filter only accounts that have all of the configurations specified.voidA value indicating if the Account has been closed.voidsetConfiguration(Account.Configuration configuration) An Account Configuration which allows the Account to take on a key persona across Stripe products.voidsetContactEmail(String contactEmail) The default contact email address for the Account.voidsetCreated(Instant created) Time at which the object was created.voidsetDashboard(String dashboard) A value indicating the Stripe dashboard this Account has access to.voidsetDefaults(Account.Defaults defaults) Default values to be used on Account Configurations.voidsetDisplayName(String displayName) A descriptive name for the Account.voidUnique identifier for the Account.voidsetIdentity(Account.Identity identity) Information about the company, individual, and business represented by the Account.voidsetLivemode(Boolean livemode) Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.voidsetMetadata(Map<String, String> metadata) Set of key-value pairs that you can attach to an object.voidString representing the object's type.voidsetRequirements(Account.Requirements requirements) Information about the requirements for the Account, including what information needs to be collected, and by when.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
Account
public Account()
-
-
Method Details
-
getAppliedConfigurations
Filter only accounts that have all of the configurations specified. If omitted, returns all accounts regardless of which configurations they have. -
getClosed
A value indicating if the Account has been closed. -
getConfiguration
An Account Configuration which allows the Account to take on a key persona across Stripe products. -
getContactEmail
The default contact email address for the Account. Required when configuring the account as a merchant or recipient. -
getCreated
Time at which the object was created. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. -
getDashboard
A value indicating the Stripe dashboard this Account has access to. This will depend on which configurations are enabled for this account.One of
express,full, ornone. -
getDefaults
Default values to be used on Account Configurations. -
getDisplayName
A descriptive name for the Account. This name will be surfaced in the Stripe Dashboard and on any invoices sent to the Account. -
getIdentity
Information about the company, individual, and business represented by the Account. -
getLivemode
Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode. -
getMetadata
Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. -
getObject
String representing the object's type. Objects of the same type share the same value of the object field.Equal to
v2.core.account. -
getRequirements
Information about the requirements for the Account, including what information needs to be collected, and by when. -
setAppliedConfigurations
Filter only accounts that have all of the configurations specified. If omitted, returns all accounts regardless of which configurations they have. -
setClosed
A value indicating if the Account has been closed. -
setConfiguration
An Account Configuration which allows the Account to take on a key persona across Stripe products. -
setContactEmail
The default contact email address for the Account. Required when configuring the account as a merchant or recipient. -
setCreated
Time at which the object was created. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z. -
setDashboard
A value indicating the Stripe dashboard this Account has access to. This will depend on which configurations are enabled for this account.One of
express,full, ornone. -
setDefaults
Default values to be used on Account Configurations. -
setDisplayName
A descriptive name for the Account. This name will be surfaced in the Stripe Dashboard and on any invoices sent to the Account. -
setId
Unique identifier for the Account. -
setIdentity
Information about the company, individual, and business represented by the Account. -
setLivemode
Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode. -
setMetadata
Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. -
setObject
String representing the object's type. Objects of the same type share the same value of the object field.Equal to
v2.core.account. -
setRequirements
Information about the requirements for the Account, including what information needs to be collected, and by when. -
equals
-
canEqual
-
hashCode
public int hashCode() -
getId
Unique identifier for the Account.
-