Package io.moov.sdk.models.components
Class IndividualProfile
- java.lang.Object
-
- io.moov.sdk.models.components.IndividualProfile
-
public class IndividualProfile extends java.lang.ObjectIndividualProfileDescribes an individual.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIndividualProfile.Builder
-
Constructor Summary
Constructors Constructor Description IndividualProfile(IndividualName name)IndividualProfile(IndividualName name, java.util.Optional<? extends PhoneNumber> phone, java.util.Optional<java.lang.String> email, java.util.Optional<? extends Address> address, java.util.Optional<java.lang.Boolean> birthDateProvided, java.util.Optional<java.lang.Boolean> governmentIDProvided)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<Address>address()java.util.Optional<java.lang.Boolean>birthDateProvided()Indicates whether this individual's birth date has been provided.static IndividualProfile.Builderbuilder()java.util.Optional<java.lang.String>email()booleanequals(java.lang.Object o)java.util.Optional<java.lang.Boolean>governmentIDProvided()Indicates whether a government ID (SSN, ITIN, etc.) has been provided for this individual.inthashCode()IndividualNamename()java.util.Optional<PhoneNumber>phone()java.lang.StringtoString()IndividualProfilewithAddress(Address address)IndividualProfilewithAddress(java.util.Optional<? extends Address> address)IndividualProfilewithBirthDateProvided(boolean birthDateProvided)Indicates whether this individual's birth date has been provided.IndividualProfilewithBirthDateProvided(java.util.Optional<java.lang.Boolean> birthDateProvided)Indicates whether this individual's birth date has been provided.IndividualProfilewithEmail(java.lang.String email)IndividualProfilewithEmail(java.util.Optional<java.lang.String> email)IndividualProfilewithGovernmentIDProvided(boolean governmentIDProvided)Indicates whether a government ID (SSN, ITIN, etc.) has been provided for this individual.IndividualProfilewithGovernmentIDProvided(java.util.Optional<java.lang.Boolean> governmentIDProvided)Indicates whether a government ID (SSN, ITIN, etc.) has been provided for this individual.IndividualProfilewithName(IndividualName name)IndividualProfilewithPhone(PhoneNumber phone)IndividualProfilewithPhone(java.util.Optional<? extends PhoneNumber> phone)
-
-
-
Constructor Detail
-
IndividualProfile
public IndividualProfile(IndividualName name, java.util.Optional<? extends PhoneNumber> phone, java.util.Optional<java.lang.String> email, java.util.Optional<? extends Address> address, java.util.Optional<java.lang.Boolean> birthDateProvided, java.util.Optional<java.lang.Boolean> governmentIDProvided)
-
IndividualProfile
public IndividualProfile(IndividualName name)
-
-
Method Detail
-
name
public IndividualName name()
-
phone
public java.util.Optional<PhoneNumber> phone()
-
email
public java.util.Optional<java.lang.String> email()
-
address
public java.util.Optional<Address> address()
-
birthDateProvided
public java.util.Optional<java.lang.Boolean> birthDateProvided()
Indicates whether this individual's birth date has been provided.
-
governmentIDProvided
public java.util.Optional<java.lang.Boolean> governmentIDProvided()
Indicates whether a government ID (SSN, ITIN, etc.) has been provided for this individual.
-
builder
public static IndividualProfile.Builder builder()
-
withName
public IndividualProfile withName(IndividualName name)
-
withPhone
public IndividualProfile withPhone(PhoneNumber phone)
-
withPhone
public IndividualProfile withPhone(java.util.Optional<? extends PhoneNumber> phone)
-
withEmail
public IndividualProfile withEmail(java.lang.String email)
-
withEmail
public IndividualProfile withEmail(java.util.Optional<java.lang.String> email)
-
withAddress
public IndividualProfile withAddress(Address address)
-
withAddress
public IndividualProfile withAddress(java.util.Optional<? extends Address> address)
-
withBirthDateProvided
public IndividualProfile withBirthDateProvided(boolean birthDateProvided)
Indicates whether this individual's birth date has been provided.
-
withBirthDateProvided
public IndividualProfile withBirthDateProvided(java.util.Optional<java.lang.Boolean> birthDateProvided)
Indicates whether this individual's birth date has been provided.
-
withGovernmentIDProvided
public IndividualProfile withGovernmentIDProvided(boolean governmentIDProvided)
Indicates whether a government ID (SSN, ITIN, etc.) has been provided for this individual.
-
withGovernmentIDProvided
public IndividualProfile withGovernmentIDProvided(java.util.Optional<java.lang.Boolean> governmentIDProvided)
Indicates whether a government ID (SSN, ITIN, etc.) has been provided for this individual.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-