Class DistributionCreateParams.Payment.Contact.Person.NewPersonInput.Builder
-
- All Implemented Interfaces:
public final class DistributionCreateParams.Payment.Contact.Person.NewPersonInput.BuilderA builder for NewPersonInput.
-
-
Method Summary
-
-
Method Detail
-
email
final DistributionCreateParams.Payment.Contact.Person.NewPersonInput.Builder email(String email)
Email address used for notifications and account linkage
-
email
final DistributionCreateParams.Payment.Contact.Person.NewPersonInput.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.
-
name
final DistributionCreateParams.Payment.Contact.Person.NewPersonInput.Builder name(String name)
Full legal name
-
name
final DistributionCreateParams.Payment.Contact.Person.NewPersonInput.Builder name(JsonField<String> name)
Sets Builder.name to an arbitrary JSON value.
You should usually call Builder.name with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
externalReferences
final DistributionCreateParams.Payment.Contact.Person.NewPersonInput.Builder externalReferences(List<String> externalReferences)
Your own identifiers for this person
-
externalReferences
final DistributionCreateParams.Payment.Contact.Person.NewPersonInput.Builder externalReferences(JsonField<List<String>> externalReferences)
Sets Builder.externalReferences to an arbitrary JSON value.
You should usually call Builder.externalReferences with a well-typed
List<String>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addExternalReference
final DistributionCreateParams.Payment.Contact.Person.NewPersonInput.Builder addExternalReference(String externalReference)
Adds a single String to externalReferences.
-
additionalProperties
final DistributionCreateParams.Payment.Contact.Person.NewPersonInput.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final DistributionCreateParams.Payment.Contact.Person.NewPersonInput.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final DistributionCreateParams.Payment.Contact.Person.NewPersonInput.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final DistributionCreateParams.Payment.Contact.Person.NewPersonInput.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final DistributionCreateParams.Payment.Contact.Person.NewPersonInput.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final DistributionCreateParams.Payment.Contact.Person.NewPersonInput build()
Returns an immutable instance of NewPersonInput.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.email() .name()
-
-
-
-