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 represents a company, individual, or other entity that a user interacts with.static classDefault values for settings shared across Account configurations.static classInformation about the future requirements for the Account that will eventually come into effect, including what information needs to be collected, and by when.static classInformation about the company, individual, and business represented by the Account.static classInformation about the active 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 booleanbooleanThe configurations that have been applied to this account.Indicates whether the account has been closed.An Account represents a company, individual, or other entity that a user interacts with.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 for settings shared across Account configurations.A descriptive name for the Account.Information about the future requirements for the Account that will eventually come into effect, including what information needs to be collected, and by when.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 active requirements for the Account, including what information needs to be collected, and by when.inthashCode()voidsetAppliedConfigurations(List<String> appliedConfigurations) The configurations that have been applied to this account.voidIndicates whether the account has been closed.voidsetConfiguration(Account.Configuration configuration) An Account represents a company, individual, or other entity that a user interacts with.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 for settings shared across Account configurations.voidsetDisplayName(String displayName) A descriptive name for the Account.voidsetFutureRequirements(Account.FutureRequirements futureRequirements) Information about the future requirements for the Account that will eventually come into effect, including what information needs to be collected, and by when.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 active 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
The configurations that have been applied to this account. -
getClosed
Indicates whether the account has been closed. -
getConfiguration
An Account represents a company, individual, or other entity that a user interacts with. Accounts store identity information and one or more configurations that enable product-specific capabilities. You can assign configurations at creation or add them later. -
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 for settings shared across 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. -
getFutureRequirements
Information about the future requirements for the Account that will eventually come into effect, including what information needs to be collected, and by when. -
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 active requirements for the Account, including what information needs to be collected, and by when. -
setAppliedConfigurations
The configurations that have been applied to this account. -
setClosed
Indicates whether the account has been closed. -
setConfiguration
An Account represents a company, individual, or other entity that a user interacts with. Accounts store identity information and one or more configurations that enable product-specific capabilities. You can assign configurations at creation or add them later. -
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 for settings shared across 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. -
setFutureRequirements
Information about the future requirements for the Account that will eventually come into effect, including what information needs to be collected, and by when. -
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 active 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.
-