Package com.stripe.param
Class TokenCreateParams.Account.Builder
- java.lang.Object
-
- com.stripe.param.TokenCreateParams.Account.Builder
-
- Enclosing class:
- TokenCreateParams.Account
public static class TokenCreateParams.Account.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TokenCreateParams.Accountbuild()Finalize and obtain parameter instance from this builder.TokenCreateParams.Account.BuilderputAllExtraParam(java.util.Map<java.lang.String,java.lang.Object> map)Add all map key/value pairs to `extraParams` map.TokenCreateParams.Account.BuilderputExtraParam(java.lang.String key, java.lang.Object value)Add a key/value pair to `extraParams` map.TokenCreateParams.Account.BuildersetBusinessType(TokenCreateParams.Account.BusinessType businessType)The business type.TokenCreateParams.Account.BuildersetCompany(TokenCreateParams.Account.Company company)Information about the company or business.TokenCreateParams.Account.BuildersetIndividual(TokenCreateParams.Account.Individual individual)Information about the person represented by the account.TokenCreateParams.Account.BuildersetTosShownAndAccepted(java.lang.Boolean tosShownAndAccepted)Whether the user described by the data in the token has been shown the Stripe Connected Account Agreement.
-
-
-
Method Detail
-
build
public TokenCreateParams.Account build()
Finalize and obtain parameter instance from this builder.
-
setBusinessType
public TokenCreateParams.Account.Builder setBusinessType(TokenCreateParams.Account.BusinessType businessType)
The business type.
-
setCompany
public TokenCreateParams.Account.Builder setCompany(TokenCreateParams.Account.Company company)
Information about the company or business.
-
putExtraParam
public TokenCreateParams.Account.Builder putExtraParam(java.lang.String key, java.lang.Object value)
Add a key/value pair to `extraParams` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeeTokenCreateParams.Account.extraParamsfor the field documentation.
-
putAllExtraParam
public TokenCreateParams.Account.Builder putAllExtraParam(java.util.Map<java.lang.String,java.lang.Object> map)
Add all map key/value pairs to `extraParams` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeeTokenCreateParams.Account.extraParamsfor the field documentation.
-
setIndividual
public TokenCreateParams.Account.Builder setIndividual(TokenCreateParams.Account.Individual individual)
Information about the person represented by the account.
-
setTosShownAndAccepted
public TokenCreateParams.Account.Builder setTosShownAndAccepted(java.lang.Boolean tosShownAndAccepted)
Whether the user described by the data in the token has been shown the Stripe Connected Account Agreement. When creating an account token to create a new Connect account, this value must betrue.
-
-