Class DistributionCreateParams.Payment.Contact.Person
-
- All Implemented Interfaces:
public final class DistributionCreateParams.Payment.Contact.PersonUUID of an existing person
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceDistributionCreateParams.Payment.Contact.Person.VisitorAn interface that defines how to map each variant of Person to a value of type T.
public final classDistributionCreateParams.Payment.Contact.Person.NewPersonInput
-
Method Summary
Modifier and Type Method Description final Optional<String>string()UUID of an existing person final Optional<DistributionCreateParams.Payment.Contact.Person.NewPersonInput>newPersonInput()final BooleanisString()final BooleanisNewPersonInput()final StringasString()UUID of an existing person final DistributionCreateParams.Payment.Contact.Person.NewPersonInputasNewPersonInput()final Optional<JsonValue>_json()final <T extends Any> Taccept(DistributionCreateParams.Payment.Contact.Person.Visitor<T> visitor)final DistributionCreateParams.Payment.Contact.Personvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static DistributionCreateParams.Payment.Contact.PersonofString(String string)UUID of an existing person final static DistributionCreateParams.Payment.Contact.PersonofNewPersonInput(DistributionCreateParams.Payment.Contact.Person.NewPersonInput newPersonInput)-
-
Method Detail
-
newPersonInput
final Optional<DistributionCreateParams.Payment.Contact.Person.NewPersonInput> newPersonInput()
-
isNewPersonInput
final Boolean isNewPersonInput()
-
asNewPersonInput
final DistributionCreateParams.Payment.Contact.Person.NewPersonInput asNewPersonInput()
-
accept
final <T extends Any> T accept(DistributionCreateParams.Payment.Contact.Person.Visitor<T> visitor)
-
validate
final DistributionCreateParams.Payment.Contact.Person validate()
-
ofString
final static DistributionCreateParams.Payment.Contact.Person ofString(String string)
UUID of an existing person
-
ofNewPersonInput
final static DistributionCreateParams.Payment.Contact.Person ofNewPersonInput(DistributionCreateParams.Payment.Contact.Person.NewPersonInput newPersonInput)
-
-
-
-