Class PersonTokenCreateParams.AdditionalName.Builder
java.lang.Object
com.stripe.param.v2.core.accounts.PersonTokenCreateParams.AdditionalName.Builder
- Enclosing class:
- PersonTokenCreateParams.AdditionalName
-
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.setFullName(String fullName) The person's full name.setGivenName(String givenName) The person's first or given name.Required. The purpose or type of the additional name.setSurname(String surname) The person's last or family name.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
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. SeePersonTokenCreateParams.AdditionalName.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. SeePersonTokenCreateParams.AdditionalName.extraParamsfor the field documentation. -
setFullName
The person's full name. -
setGivenName
The person's first or given name. -
setPurpose
public PersonTokenCreateParams.AdditionalName.Builder setPurpose(PersonTokenCreateParams.AdditionalName.Purpose purpose) Required. The purpose or type of the additional name. -
setSurname
The person's last or family name.
-