Package com.stripe.param.v2.core
Class AccountTokenCreateParams.Identity.BusinessDetails.IdNumber.Builder
java.lang.Object
com.stripe.param.v2.core.AccountTokenCreateParams.Identity.BusinessDetails.IdNumber.Builder
- Enclosing class:
- AccountTokenCreateParams.Identity.BusinessDetails.IdNumber
public static class AccountTokenCreateParams.Identity.BusinessDetails.IdNumber.Builder
extends Object
-
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.setRegistrar(String registrar) The registrar of the ID number (Only valid for DE ID number types).Required. Open Enum.Required. The value of the ID number.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
putExtraParam
public AccountTokenCreateParams.Identity.BusinessDetails.IdNumber.Builder putExtraParam(String key, 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. SeeAccountTokenCreateParams.Identity.BusinessDetails.IdNumber.extraParamsfor the field documentation. -
putAllExtraParam
public AccountTokenCreateParams.Identity.BusinessDetails.IdNumber.Builder putAllExtraParam(Map<String, 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. SeeAccountTokenCreateParams.Identity.BusinessDetails.IdNumber.extraParamsfor the field documentation. -
setRegistrar
public AccountTokenCreateParams.Identity.BusinessDetails.IdNumber.Builder setRegistrar(String registrar) The registrar of the ID number (Only valid for DE ID number types). -
setType
public AccountTokenCreateParams.Identity.BusinessDetails.IdNumber.Builder setType(AccountTokenCreateParams.Identity.BusinessDetails.IdNumber.Type type) Required. Open Enum. The ID number type of a business entity. -
setValue
Required. The value of the ID number.
-