Package com.stripe.param
Class TokenCreateParams.Account.Builder
java.lang.Object
com.stripe.param.TokenCreateParams.Account.Builder
- Enclosing class:
- TokenCreateParams.Account
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Finalize and obtain parameter instance from this builder.putAllExtraParam(Map<String, Object> map) Add all map key/value pairs to `extraParams` map.putExtraParam(String key, Object value) Add a key/value pair to `extraParams` map.setBusinessType(TokenCreateParams.Account.BusinessType businessType) The business type.Information about the company or business.setIndividual(TokenCreateParams.Account.Individual individual) Information about the person represented by the account.setTosShownAndAccepted(Boolean tosShownAndAccepted) Whether the user described by the data in the token has been shown the Stripe Connected Account Agreement.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setBusinessType
public TokenCreateParams.Account.Builder setBusinessType(TokenCreateParams.Account.BusinessType businessType) The business type. -
setCompany
Information about the company or business. -
putExtraParam
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
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
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.
-