Class KycData.Builder
-
- All Implemented Interfaces:
public final class KycData.BuilderA builder for KycData.
-
-
Method Summary
Modifier and Type Method Description final KycData.BuilderaddressCountryCode(String addressCountryCode)Country of residence. final KycData.BuilderaddressCountryCode(JsonField<String> addressCountryCode)Sets Builder.addressCountryCode to an arbitrary JSON value. final KycData.BuildercountryCode(String countryCode)Country of citizenship or home country of the organization. final KycData.BuildercountryCode(JsonField<String> countryCode)Sets Builder.countryCode to an arbitrary JSON value. final KycData.BuilderlastName(String lastName)Last name of the person. final KycData.BuilderlastName(JsonField<String> lastName)Sets Builder.lastName to an arbitrary JSON value. final KycData.BuilderaddressCity(String addressCity)City of address. final KycData.BuilderaddressCity(Optional<String> addressCity)Alias for calling Builder.addressCity with addressCity.orElse(null).final KycData.BuilderaddressCity(JsonField<String> addressCity)Sets Builder.addressCity to an arbitrary JSON value. final KycData.BuilderaddressPostalCode(String addressPostalCode)Postal code of residence address. final KycData.BuilderaddressPostalCode(Optional<String> addressPostalCode)Alias for calling Builder.addressPostalCode with addressPostalCode.orElse(null).final KycData.BuilderaddressPostalCode(JsonField<String> addressPostalCode)Sets Builder.addressPostalCode to an arbitrary JSON value. final KycData.BuilderaddressStreet1(String addressStreet1)Street address of address. final KycData.BuilderaddressStreet1(Optional<String> addressStreet1)Alias for calling Builder.addressStreet1 with addressStreet1.orElse(null).final KycData.BuilderaddressStreet1(JsonField<String> addressStreet1)Sets Builder.addressStreet1 to an arbitrary JSON value. final KycData.BuilderaddressStreet2(String addressStreet2)Extension of address, usually apartment or suite number. final KycData.BuilderaddressStreet2(Optional<String> addressStreet2)Alias for calling Builder.addressStreet2 with addressStreet2.orElse(null).final KycData.BuilderaddressStreet2(JsonField<String> addressStreet2)Sets Builder.addressStreet2 to an arbitrary JSON value. final KycData.BuilderaddressSubdivision(String addressSubdivision)State or subdivision of address. final KycData.BuilderaddressSubdivision(Optional<String> addressSubdivision)Alias for calling Builder.addressSubdivision with addressSubdivision.orElse(null).final KycData.BuilderaddressSubdivision(JsonField<String> addressSubdivision)Sets Builder.addressSubdivision to an arbitrary JSON value. final KycData.BuilderbirthDate(LocalDate birthDate)Birth date of the individual. final KycData.BuilderbirthDate(Optional<LocalDate> birthDate)Alias for calling Builder.birthDate with birthDate.orElse(null).final KycData.BuilderbirthDate(JsonField<LocalDate> birthDate)Sets Builder.birthDate to an arbitrary JSON value. final KycData.Builderemail(String email)Email address. final KycData.Builderemail(Optional<String> email)Alias for calling Builder.email with email.orElse(null).final KycData.Builderemail(JsonField<String> email)Sets Builder.email to an arbitrary JSON value. final KycData.BuilderfirstName(String firstName)First name of the person. final KycData.BuilderfirstName(Optional<String> firstName)Alias for calling Builder.firstName with firstName.orElse(null).final KycData.BuilderfirstName(JsonField<String> firstName)Sets Builder.firstName to an arbitrary JSON value. final KycData.BuildermiddleName(String middleName)Middle name of the user final KycData.BuildermiddleName(Optional<String> middleName)Alias for calling Builder.middleName with middleName.orElse(null).final KycData.BuildermiddleName(JsonField<String> middleName)Sets Builder.middleName to an arbitrary JSON value. final KycData.BuildertaxIdNumber(String taxIdNumber)ID number of the official tax document of the country the entity belongs to. final KycData.BuildertaxIdNumber(Optional<String> taxIdNumber)Alias for calling Builder.taxIdNumber with taxIdNumber.orElse(null).final KycData.BuildertaxIdNumber(JsonField<String> taxIdNumber)Sets Builder.taxIdNumber to an arbitrary JSON value. final KycData.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final KycData.BuilderputAdditionalProperty(String key, JsonValue value)final KycData.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final KycData.BuilderremoveAdditionalProperty(String key)final KycData.BuilderremoveAllAdditionalProperties(Set<String> keys)final KycDatabuild()Returns an immutable instance of KycData. -
-
Method Detail
-
addressCountryCode
final KycData.Builder addressCountryCode(String addressCountryCode)
Country of residence. ISO 3166-1 alpha 2 country code.
-
addressCountryCode
final KycData.Builder addressCountryCode(JsonField<String> addressCountryCode)
Sets Builder.addressCountryCode to an arbitrary JSON value.
You should usually call Builder.addressCountryCode with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
countryCode
final KycData.Builder countryCode(String countryCode)
Country of citizenship or home country of the organization. ISO 3166-1 alpha 2 country code.
-
countryCode
final KycData.Builder countryCode(JsonField<String> countryCode)
Sets Builder.countryCode to an arbitrary JSON value.
You should usually call Builder.countryCode with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
lastName
final KycData.Builder lastName(String lastName)
Last name of the person.
-
lastName
final KycData.Builder lastName(JsonField<String> lastName)
Sets Builder.lastName to an arbitrary JSON value.
You should usually call Builder.lastName with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addressCity
final KycData.Builder addressCity(String addressCity)
City of address. Not all international addresses use this attribute.
-
addressCity
final KycData.Builder addressCity(Optional<String> addressCity)
Alias for calling Builder.addressCity with
addressCity.orElse(null).
-
addressCity
final KycData.Builder addressCity(JsonField<String> addressCity)
Sets Builder.addressCity to an arbitrary JSON value.
You should usually call Builder.addressCity with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addressPostalCode
final KycData.Builder addressPostalCode(String addressPostalCode)
Postal code of residence address. Not all international addresses use this attribute.
-
addressPostalCode
final KycData.Builder addressPostalCode(Optional<String> addressPostalCode)
Alias for calling Builder.addressPostalCode with
addressPostalCode.orElse(null).
-
addressPostalCode
final KycData.Builder addressPostalCode(JsonField<String> addressPostalCode)
Sets Builder.addressPostalCode to an arbitrary JSON value.
You should usually call Builder.addressPostalCode with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addressStreet1
final KycData.Builder addressStreet1(String addressStreet1)
Street address of address.
-
addressStreet1
final KycData.Builder addressStreet1(Optional<String> addressStreet1)
Alias for calling Builder.addressStreet1 with
addressStreet1.orElse(null).
-
addressStreet1
final KycData.Builder addressStreet1(JsonField<String> addressStreet1)
Sets Builder.addressStreet1 to an arbitrary JSON value.
You should usually call Builder.addressStreet1 with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addressStreet2
final KycData.Builder addressStreet2(String addressStreet2)
Extension of address, usually apartment or suite number.
-
addressStreet2
final KycData.Builder addressStreet2(Optional<String> addressStreet2)
Alias for calling Builder.addressStreet2 with
addressStreet2.orElse(null).
-
addressStreet2
final KycData.Builder addressStreet2(JsonField<String> addressStreet2)
Sets Builder.addressStreet2 to an arbitrary JSON value.
You should usually call Builder.addressStreet2 with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addressSubdivision
final KycData.Builder addressSubdivision(String addressSubdivision)
State or subdivision of address. In the US, this should be the unabbreviated name of the state. Not all international addresses use this attribute.
-
addressSubdivision
final KycData.Builder addressSubdivision(Optional<String> addressSubdivision)
Alias for calling Builder.addressSubdivision with
addressSubdivision.orElse(null).
-
addressSubdivision
final KycData.Builder addressSubdivision(JsonField<String> addressSubdivision)
Sets Builder.addressSubdivision to an arbitrary JSON value.
You should usually call Builder.addressSubdivision with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
birthDate
final KycData.Builder birthDate(LocalDate birthDate)
Birth date of the individual. In ISO 8601 format, YYYY-MM-DD.
-
birthDate
final KycData.Builder birthDate(Optional<LocalDate> birthDate)
Alias for calling Builder.birthDate with
birthDate.orElse(null).
-
birthDate
final KycData.Builder birthDate(JsonField<LocalDate> birthDate)
Sets Builder.birthDate to an arbitrary JSON value.
You should usually call Builder.birthDate with a well-typed LocalDate value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
email
final KycData.Builder email(String email)
Email address.
-
email
final KycData.Builder email(Optional<String> email)
Alias for calling Builder.email with
email.orElse(null).
-
email
final KycData.Builder email(JsonField<String> email)
Sets Builder.email to an arbitrary JSON value.
You should usually call Builder.email with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
firstName
final KycData.Builder firstName(String firstName)
First name of the person.
-
firstName
final KycData.Builder firstName(Optional<String> firstName)
Alias for calling Builder.firstName with
firstName.orElse(null).
-
firstName
final KycData.Builder firstName(JsonField<String> firstName)
Sets Builder.firstName to an arbitrary JSON value.
You should usually call Builder.firstName with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
middleName
final KycData.Builder middleName(String middleName)
Middle name of the user
-
middleName
final KycData.Builder middleName(Optional<String> middleName)
Alias for calling Builder.middleName with
middleName.orElse(null).
-
middleName
final KycData.Builder middleName(JsonField<String> middleName)
Sets Builder.middleName to an arbitrary JSON value.
You should usually call Builder.middleName with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
taxIdNumber
final KycData.Builder taxIdNumber(String taxIdNumber)
ID number of the official tax document of the country the entity belongs to.
-
taxIdNumber
final KycData.Builder taxIdNumber(Optional<String> taxIdNumber)
Alias for calling Builder.taxIdNumber with
taxIdNumber.orElse(null).
-
taxIdNumber
final KycData.Builder taxIdNumber(JsonField<String> taxIdNumber)
Sets Builder.taxIdNumber to an arbitrary JSON value.
You should usually call Builder.taxIdNumber with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final KycData.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final KycData.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final KycData.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final KycData.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final KycData.Builder removeAllAdditionalProperties(Set<String> keys)
-
-
-
-