Package io.moov.sdk.models.components
Class CreateBusinessProfile
- java.lang.Object
-
- io.moov.sdk.models.components.CreateBusinessProfile
-
public class CreateBusinessProfile extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCreateBusinessProfile.Builder
-
Constructor Summary
Constructors Constructor Description CreateBusinessProfile(java.lang.String legalBusinessName)CreateBusinessProfile(java.lang.String legalBusinessName, java.util.Optional<java.lang.String> doingBusinessAs, java.util.Optional<? extends BusinessType> businessType, java.util.Optional<? extends Address> address, java.util.Optional<? extends PhoneNumber> phone, java.util.Optional<java.lang.String> email, java.util.Optional<java.lang.String> website, java.util.Optional<java.lang.String> description, java.util.Optional<? extends TaxID> taxID, java.util.Optional<? extends IndustryCodes> industryCodes, java.util.Optional<? extends PrimaryRegulator> primaryRegulator)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<Address>address()static CreateBusinessProfile.Builderbuilder()java.util.Optional<BusinessType>businessType()The type of entity represented by this business.java.util.Optional<java.lang.String>description()java.util.Optional<java.lang.String>doingBusinessAs()A registered trade name under which the business operates, if different from its legal name.java.util.Optional<java.lang.String>email()booleanequals(java.lang.Object o)inthashCode()java.util.Optional<IndustryCodes>industryCodes()java.lang.StringlegalBusinessName()The legal name under which the entity is registered.java.util.Optional<PhoneNumber>phone()java.util.Optional<PrimaryRegulator>primaryRegulator()If the business is a financial institution, this field describes its primary regulator.java.util.Optional<TaxID>taxID()An EIN (employer identification number) for the business.java.lang.StringtoString()java.util.Optional<java.lang.String>website()CreateBusinessProfilewithAddress(Address address)CreateBusinessProfilewithAddress(java.util.Optional<? extends Address> address)CreateBusinessProfilewithBusinessType(BusinessType businessType)The type of entity represented by this business.CreateBusinessProfilewithBusinessType(java.util.Optional<? extends BusinessType> businessType)The type of entity represented by this business.CreateBusinessProfilewithDescription(java.lang.String description)CreateBusinessProfilewithDescription(java.util.Optional<java.lang.String> description)CreateBusinessProfilewithDoingBusinessAs(java.lang.String doingBusinessAs)A registered trade name under which the business operates, if different from its legal name.CreateBusinessProfilewithDoingBusinessAs(java.util.Optional<java.lang.String> doingBusinessAs)A registered trade name under which the business operates, if different from its legal name.CreateBusinessProfilewithEmail(java.lang.String email)CreateBusinessProfilewithEmail(java.util.Optional<java.lang.String> email)CreateBusinessProfilewithIndustryCodes(IndustryCodes industryCodes)CreateBusinessProfilewithIndustryCodes(java.util.Optional<? extends IndustryCodes> industryCodes)CreateBusinessProfilewithLegalBusinessName(java.lang.String legalBusinessName)The legal name under which the entity is registered.CreateBusinessProfilewithPhone(PhoneNumber phone)CreateBusinessProfilewithPhone(java.util.Optional<? extends PhoneNumber> phone)CreateBusinessProfilewithPrimaryRegulator(PrimaryRegulator primaryRegulator)If the business is a financial institution, this field describes its primary regulator.CreateBusinessProfilewithPrimaryRegulator(java.util.Optional<? extends PrimaryRegulator> primaryRegulator)If the business is a financial institution, this field describes its primary regulator.CreateBusinessProfilewithTaxID(TaxID taxID)An EIN (employer identification number) for the business.CreateBusinessProfilewithTaxID(java.util.Optional<? extends TaxID> taxID)An EIN (employer identification number) for the business.CreateBusinessProfilewithWebsite(java.lang.String website)CreateBusinessProfilewithWebsite(java.util.Optional<java.lang.String> website)
-
-
-
Constructor Detail
-
CreateBusinessProfile
public CreateBusinessProfile(java.lang.String legalBusinessName, java.util.Optional<java.lang.String> doingBusinessAs, java.util.Optional<? extends BusinessType> businessType, java.util.Optional<? extends Address> address, java.util.Optional<? extends PhoneNumber> phone, java.util.Optional<java.lang.String> email, java.util.Optional<java.lang.String> website, java.util.Optional<java.lang.String> description, java.util.Optional<? extends TaxID> taxID, java.util.Optional<? extends IndustryCodes> industryCodes, java.util.Optional<? extends PrimaryRegulator> primaryRegulator)
-
CreateBusinessProfile
public CreateBusinessProfile(java.lang.String legalBusinessName)
-
-
Method Detail
-
legalBusinessName
public java.lang.String legalBusinessName()
The legal name under which the entity is registered.
-
doingBusinessAs
public java.util.Optional<java.lang.String> doingBusinessAs()
A registered trade name under which the business operates, if different from its legal name.
-
businessType
public java.util.Optional<BusinessType> businessType()
The type of entity represented by this business.
-
address
public java.util.Optional<Address> address()
-
phone
public java.util.Optional<PhoneNumber> phone()
-
email
public java.util.Optional<java.lang.String> email()
-
website
public java.util.Optional<java.lang.String> website()
-
description
public java.util.Optional<java.lang.String> description()
-
taxID
public java.util.Optional<TaxID> taxID()
An EIN (employer identification number) for the business. For sole proprietors, an SSN can be used as the EIN.
-
industryCodes
public java.util.Optional<IndustryCodes> industryCodes()
-
primaryRegulator
public java.util.Optional<PrimaryRegulator> primaryRegulator()
If the business is a financial institution, this field describes its primary regulator.
-
builder
public static CreateBusinessProfile.Builder builder()
-
withLegalBusinessName
public CreateBusinessProfile withLegalBusinessName(java.lang.String legalBusinessName)
The legal name under which the entity is registered.
-
withDoingBusinessAs
public CreateBusinessProfile withDoingBusinessAs(java.lang.String doingBusinessAs)
A registered trade name under which the business operates, if different from its legal name.
-
withDoingBusinessAs
public CreateBusinessProfile withDoingBusinessAs(java.util.Optional<java.lang.String> doingBusinessAs)
A registered trade name under which the business operates, if different from its legal name.
-
withBusinessType
public CreateBusinessProfile withBusinessType(BusinessType businessType)
The type of entity represented by this business.
-
withBusinessType
public CreateBusinessProfile withBusinessType(java.util.Optional<? extends BusinessType> businessType)
The type of entity represented by this business.
-
withAddress
public CreateBusinessProfile withAddress(Address address)
-
withAddress
public CreateBusinessProfile withAddress(java.util.Optional<? extends Address> address)
-
withPhone
public CreateBusinessProfile withPhone(PhoneNumber phone)
-
withPhone
public CreateBusinessProfile withPhone(java.util.Optional<? extends PhoneNumber> phone)
-
withEmail
public CreateBusinessProfile withEmail(java.lang.String email)
-
withEmail
public CreateBusinessProfile withEmail(java.util.Optional<java.lang.String> email)
-
withWebsite
public CreateBusinessProfile withWebsite(java.lang.String website)
-
withWebsite
public CreateBusinessProfile withWebsite(java.util.Optional<java.lang.String> website)
-
withDescription
public CreateBusinessProfile withDescription(java.lang.String description)
-
withDescription
public CreateBusinessProfile withDescription(java.util.Optional<java.lang.String> description)
-
withTaxID
public CreateBusinessProfile withTaxID(TaxID taxID)
An EIN (employer identification number) for the business. For sole proprietors, an SSN can be used as the EIN.
-
withTaxID
public CreateBusinessProfile withTaxID(java.util.Optional<? extends TaxID> taxID)
An EIN (employer identification number) for the business. For sole proprietors, an SSN can be used as the EIN.
-
withIndustryCodes
public CreateBusinessProfile withIndustryCodes(IndustryCodes industryCodes)
-
withIndustryCodes
public CreateBusinessProfile withIndustryCodes(java.util.Optional<? extends IndustryCodes> industryCodes)
-
withPrimaryRegulator
public CreateBusinessProfile withPrimaryRegulator(PrimaryRegulator primaryRegulator)
If the business is a financial institution, this field describes its primary regulator.
-
withPrimaryRegulator
public CreateBusinessProfile withPrimaryRegulator(java.util.Optional<? extends PrimaryRegulator> primaryRegulator)
If the business is a financial institution, this field describes its primary regulator.
-
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
-
-