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
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
For more details about Configuration, please refer to the API Reference.static class
For more details about Defaults, please refer to the API Reference.static class
For more details about Identity, please refer to the API Reference.static class
For more details about Requirements, please refer to the API Reference. -
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
Filter only accounts that have all of the configurations specified.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 valuetrue
if the object exists in live mode or the valuefalse
if 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.int
hashCode()
void
setAppliedConfigurations
(List<String> appliedConfigurations) Filter only accounts that have all of the configurations specified.void
setConfiguration
(Account.Configuration configuration) An Account Configuration which allows the Account to take on a key persona across Stripe products.void
setContactEmail
(String contactEmail) The default contact email address for the Account.void
setCreated
(Instant created) Time at which the object was created.void
setDashboard
(String dashboard) A value indicating the Stripe dashboard this Account has access to.void
setDefaults
(Account.Defaults defaults) Default values to be used on Account Configurations.void
setDisplayName
(String displayName) A descriptive name for the Account.void
Unique identifier for the Account.void
setIdentity
(Account.Identity identity) Information about the company, individual, and business represented by the Account.void
setLivemode
(Boolean livemode) Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode.void
setMetadata
(Map<String, String> metadata) Set of key-value pairs that you can attach to an object.void
String representing the object's type.void
setRequirements
(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. -
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 valuetrue
if the object exists in live mode or the valuefalse
if 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. -
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 valuetrue
if the object exists in live mode or the valuefalse
if 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.
-