public class AccountCreateParams extends ApiRequestParams
Modifier and Type | Class and Description |
---|---|
static class |
AccountCreateParams.Builder |
static class |
AccountCreateParams.BusinessProfile |
static class |
AccountCreateParams.BusinessType
The user agent of the browser from which the account representative accepted the Stripe
Services Agreement.
|
static class |
AccountCreateParams.Capabilities
State, county, province, or region.
|
static class |
AccountCreateParams.Company
Passing true requests the capability for the account, if it is not already requested.
|
static class |
AccountCreateParams.Individual |
static class |
AccountCreateParams.RequestedCapability |
static class |
AccountCreateParams.Settings |
static class |
AccountCreateParams.TosAcceptance
The day of the week when available funds are paid out, specified as
monday ,
tuesday , etc. |
static class |
AccountCreateParams.Type |
ApiRequestParams.EnumParam
EXTRA_PARAMS_KEY
Modifier and Type | Method and Description |
---|---|
static AccountCreateParams.Builder |
builder() |
java.lang.String |
getAccountToken()
An account token, used to
securely provide details to the account.
|
AccountCreateParams.BusinessProfile |
getBusinessProfile()
Business information about the account.
|
java.lang.Object |
getBusinessType()
The business type.
|
AccountCreateParams.Capabilities |
getCapabilities()
Each key of the dictionary represents a capability, and each capability maps to its settings
(e.g.
|
AccountCreateParams.Company |
getCompany()
Information about the company or business.
|
java.lang.String |
getCountry()
The country in which the account holder resides, or in which the business is legally
established.
|
java.lang.String |
getDefaultCurrency()
Three-letter ISO currency code representing the default currency for the account.
|
java.lang.String |
getEmail()
The email address of the account holder.
|
java.util.List<java.lang.String> |
getExpand()
Specifies which fields in the response should be expanded.
|
java.lang.String |
getExternalAccount()
A card or bank account to attach to the account for receiving payouts (you won’t be able to use it for
top-ups).
|
java.util.Map<java.lang.String,java.lang.Object> |
getExtraParams()
Map of extra parameters for custom features not available in this client library.
|
AccountCreateParams.Individual |
getIndividual()
Information about the person represented by the account.
|
java.lang.Object |
getMetadata()
Set of key-value pairs that you can attach
to an object.
|
java.util.List<AccountCreateParams.RequestedCapability> |
getRequestedCapabilities()
(Deprecated) Alternative to
capabilities . |
AccountCreateParams.Settings |
getSettings()
Options for customizing how the account functions within Stripe.
|
AccountCreateParams.TosAcceptance |
getTosAcceptance()
Details on the account's acceptance of the Stripe Services
Agreement.
|
AccountCreateParams.Type |
getType()
The type of Stripe account to create.
|
toMap
public static AccountCreateParams.Builder builder()
public java.lang.String getAccountToken()
public AccountCreateParams.BusinessProfile getBusinessProfile()
public java.lang.Object getBusinessType()
public AccountCreateParams.Capabilities getCapabilities()
public AccountCreateParams.Company getCompany()
business_type
is
set to company
, government_entity
, or non_profit
.public java.lang.String getCountry()
CA
as the country for the account being created.public java.lang.String getDefaultCurrency()
public java.lang.String getEmail()
public java.util.List<java.lang.String> getExpand()
public java.lang.String getExternalAccount()
external_account
parameter for bank account creation.
<br><br>By default, providing an external account sets it as the new default
external account for its currency, and deletes the old default if one exists. To add additional
external accounts without replacing the existing default for the currency, use the bank account
or card creation API.public java.util.Map<java.lang.String,java.lang.Object> getExtraParams()
@SerializedName
value. Instead, each
key/value pair is serialized as if the key is a root-level field (serialized) name in this
param object. Effectively, this map is flattened to its parent instance.public AccountCreateParams.Individual getIndividual()
business_type
is set to individual
.public java.lang.Object getMetadata()
metadata
.public java.util.List<AccountCreateParams.RequestedCapability> getRequestedCapabilities()
capabilities
. The set of capabilities you want to unlock
for this account. Each capability will be inactive until you have provided its specific
requirements and Stripe has verified them. An account may have some of its requested
capabilities be active and some be inactive.public AccountCreateParams.Settings getSettings()
public AccountCreateParams.TosAcceptance getTosAcceptance()
public AccountCreateParams.Type getType()
custom
, express
or standard
.