Package io.moov.sdk.models.components
Class Representative.Builder
- java.lang.Object
-
- io.moov.sdk.models.components.Representative.Builder
-
- Enclosing class:
- Representative
public static final class Representative.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Representative.Builderaddress(Address address)Representative.Builderaddress(java.util.Optional<? extends Address> address)Representative.BuilderbirthDateProvided(boolean birthDateProvided)Indicates whether this representative's birth date has been provided.Representative.BuilderbirthDateProvided(java.util.Optional<java.lang.Boolean> birthDateProvided)Indicates whether this representative's birth date has been provided.Representativebuild()Representative.BuildercreatedOn(java.time.OffsetDateTime createdOn)Representative.BuilderdisabledOn(java.time.OffsetDateTime disabledOn)Representative.BuilderdisabledOn(java.util.Optional<java.time.OffsetDateTime> disabledOn)Representative.Builderemail(java.lang.String email)Representative.Builderemail(java.util.Optional<java.lang.String> email)Representative.BuildergovernmentIDProvided(boolean governmentIDProvided)Indicates whether a government ID (SSN, ITIN, etc.) has been provided for this representative.Representative.BuildergovernmentIDProvided(java.util.Optional<java.lang.Boolean> governmentIDProvided)Indicates whether a government ID (SSN, ITIN, etc.) has been provided for this representative.Representative.Buildername(IndividualName name)Representative.Builderphone(PhoneNumber phone)Representative.Builderphone(java.util.Optional<? extends PhoneNumber> phone)Representative.BuilderrepresentativeID(java.lang.String representativeID)Unique identifier for this representative.Representative.Builderresponsibilities(RepresentativeResponsibilities responsibilities)Describes the job responsibilities of a business representative.Representative.Builderresponsibilities(java.util.Optional<? extends RepresentativeResponsibilities> responsibilities)Describes the job responsibilities of a business representative.Representative.BuilderupdatedOn(java.time.OffsetDateTime updatedOn)
-
-
-
Method Detail
-
representativeID
public Representative.Builder representativeID(java.lang.String representativeID)
Unique identifier for this representative.
-
name
public Representative.Builder name(IndividualName name)
-
phone
public Representative.Builder phone(PhoneNumber phone)
-
phone
public Representative.Builder phone(java.util.Optional<? extends PhoneNumber> phone)
-
email
public Representative.Builder email(java.lang.String email)
-
email
public Representative.Builder email(java.util.Optional<java.lang.String> email)
-
address
public Representative.Builder address(Address address)
-
address
public Representative.Builder address(java.util.Optional<? extends Address> address)
-
birthDateProvided
public Representative.Builder birthDateProvided(boolean birthDateProvided)
Indicates whether this representative's birth date has been provided.
-
birthDateProvided
public Representative.Builder birthDateProvided(java.util.Optional<java.lang.Boolean> birthDateProvided)
Indicates whether this representative's birth date has been provided.
-
governmentIDProvided
public Representative.Builder governmentIDProvided(boolean governmentIDProvided)
Indicates whether a government ID (SSN, ITIN, etc.) has been provided for this representative.
-
governmentIDProvided
public Representative.Builder governmentIDProvided(java.util.Optional<java.lang.Boolean> governmentIDProvided)
Indicates whether a government ID (SSN, ITIN, etc.) has been provided for this representative.
-
responsibilities
public Representative.Builder responsibilities(RepresentativeResponsibilities responsibilities)
Describes the job responsibilities of a business representative.
-
responsibilities
public Representative.Builder responsibilities(java.util.Optional<? extends RepresentativeResponsibilities> responsibilities)
Describes the job responsibilities of a business representative.
-
createdOn
public Representative.Builder createdOn(java.time.OffsetDateTime createdOn)
-
updatedOn
public Representative.Builder updatedOn(java.time.OffsetDateTime updatedOn)
-
disabledOn
public Representative.Builder disabledOn(java.time.OffsetDateTime disabledOn)
-
disabledOn
public Representative.Builder disabledOn(java.util.Optional<java.time.OffsetDateTime> disabledOn)
-
build
public Representative build()
-
-