Class UsKycCheckData.TrustedContact.Builder
-
- All Implemented Interfaces:
public final class UsKycCheckData.TrustedContact.BuilderA builder for TrustedContact.
-
-
Method Summary
-
-
Method Detail
-
familyName
final UsKycCheckData.TrustedContact.Builder familyName(String familyName)
The family name of the trusted contact
-
familyName
final UsKycCheckData.TrustedContact.Builder familyName(JsonField<String> familyName)
Sets Builder.familyName to an arbitrary JSON value.
You should usually call Builder.familyName with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
givenName
final UsKycCheckData.TrustedContact.Builder givenName(String givenName)
The given name of the trusted contact
-
givenName
final UsKycCheckData.TrustedContact.Builder givenName(JsonField<String> givenName)
Sets Builder.givenName to an arbitrary JSON value.
You should usually call Builder.givenName with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
emailAddress
final UsKycCheckData.TrustedContact.Builder emailAddress(String emailAddress)
The email address of the trusted contact. At least one of email_address or phone_number is required.
-
emailAddress
final UsKycCheckData.TrustedContact.Builder emailAddress(Optional<String> emailAddress)
Alias for calling Builder.emailAddress with
emailAddress.orElse(null).
-
emailAddress
final UsKycCheckData.TrustedContact.Builder emailAddress(JsonField<String> emailAddress)
Sets Builder.emailAddress to an arbitrary JSON value.
You should usually call Builder.emailAddress with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
phoneNumber
final UsKycCheckData.TrustedContact.Builder phoneNumber(String phoneNumber)
The phone number of the trusted contact. At least one of email_address or phone_number is required.
-
phoneNumber
final UsKycCheckData.TrustedContact.Builder phoneNumber(Optional<String> phoneNumber)
Alias for calling Builder.phoneNumber with
phoneNumber.orElse(null).
-
phoneNumber
final UsKycCheckData.TrustedContact.Builder phoneNumber(JsonField<String> phoneNumber)
Sets Builder.phoneNumber to an arbitrary JSON value.
You should usually call Builder.phoneNumber 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 UsKycCheckData.TrustedContact.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final UsKycCheckData.TrustedContact.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final UsKycCheckData.TrustedContact.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final UsKycCheckData.TrustedContact.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final UsKycCheckData.TrustedContact.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final UsKycCheckData.TrustedContact build()
Returns an immutable instance of TrustedContact.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.familyName() .givenName()
-
-
-
-