Package io.moov.sdk.models.components
Class BusinessProfile
- java.lang.Object
-
- io.moov.sdk.models.components.BusinessProfile
-
public class BusinessProfile extends java.lang.ObjectBusinessProfileDescribes a business.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBusinessProfile.Builder
-
Constructor Summary
Constructors Constructor Description BusinessProfile(java.lang.String legalBusinessName, boolean ownersProvided)BusinessProfile(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<java.lang.Boolean> taxIDProvided, java.util.Optional<? extends java.util.List<Representative>> representatives, boolean ownersProvided, 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 BusinessProfile.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.booleanownersProvided()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<java.util.List<Representative>>representatives()java.util.Optional<java.lang.Boolean>taxIDProvided()Indicates whether a tax ID has been provided for this business.java.lang.StringtoString()java.util.Optional<java.lang.String>website()BusinessProfilewithAddress(Address address)BusinessProfilewithAddress(java.util.Optional<? extends Address> address)BusinessProfilewithBusinessType(BusinessType businessType)The type of entity represented by this business.BusinessProfilewithBusinessType(java.util.Optional<? extends BusinessType> businessType)The type of entity represented by this business.BusinessProfilewithDescription(java.lang.String description)BusinessProfilewithDescription(java.util.Optional<java.lang.String> description)BusinessProfilewithDoingBusinessAs(java.lang.String doingBusinessAs)A registered trade name under which the business operates, if different from its legal name.BusinessProfilewithDoingBusinessAs(java.util.Optional<java.lang.String> doingBusinessAs)A registered trade name under which the business operates, if different from its legal name.BusinessProfilewithEmail(java.lang.String email)BusinessProfilewithEmail(java.util.Optional<java.lang.String> email)BusinessProfilewithIndustryCodes(IndustryCodes industryCodes)BusinessProfilewithIndustryCodes(java.util.Optional<? extends IndustryCodes> industryCodes)BusinessProfilewithLegalBusinessName(java.lang.String legalBusinessName)The legal name under which the entity is registered.BusinessProfilewithOwnersProvided(boolean ownersProvided)BusinessProfilewithPhone(PhoneNumber phone)BusinessProfilewithPhone(java.util.Optional<? extends PhoneNumber> phone)BusinessProfilewithPrimaryRegulator(PrimaryRegulator primaryRegulator)If the business is a financial institution, this field describes its primary regulator.BusinessProfilewithPrimaryRegulator(java.util.Optional<? extends PrimaryRegulator> primaryRegulator)If the business is a financial institution, this field describes its primary regulator.BusinessProfilewithRepresentatives(java.util.List<Representative> representatives)BusinessProfilewithRepresentatives(java.util.Optional<? extends java.util.List<Representative>> representatives)BusinessProfilewithTaxIDProvided(boolean taxIDProvided)Indicates whether a tax ID has been provided for this business.BusinessProfilewithTaxIDProvided(java.util.Optional<java.lang.Boolean> taxIDProvided)Indicates whether a tax ID has been provided for this business.BusinessProfilewithWebsite(java.lang.String website)BusinessProfilewithWebsite(java.util.Optional<java.lang.String> website)
-
-
-
Constructor Detail
-
BusinessProfile
public BusinessProfile(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<java.lang.Boolean> taxIDProvided, java.util.Optional<? extends java.util.List<Representative>> representatives, boolean ownersProvided, java.util.Optional<? extends IndustryCodes> industryCodes, java.util.Optional<? extends PrimaryRegulator> primaryRegulator)
-
BusinessProfile
public BusinessProfile(java.lang.String legalBusinessName, boolean ownersProvided)
-
-
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()
-
taxIDProvided
public java.util.Optional<java.lang.Boolean> taxIDProvided()
Indicates whether a tax ID has been provided for this business.
-
representatives
public java.util.Optional<java.util.List<Representative>> representatives()
-
ownersProvided
public boolean ownersProvided()
-
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 final BusinessProfile.Builder builder()
-
withLegalBusinessName
public BusinessProfile withLegalBusinessName(java.lang.String legalBusinessName)
The legal name under which the entity is registered.
-
withDoingBusinessAs
public BusinessProfile withDoingBusinessAs(java.lang.String doingBusinessAs)
A registered trade name under which the business operates, if different from its legal name.
-
withDoingBusinessAs
public BusinessProfile 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 BusinessProfile withBusinessType(BusinessType businessType)
The type of entity represented by this business.
-
withBusinessType
public BusinessProfile withBusinessType(java.util.Optional<? extends BusinessType> businessType)
The type of entity represented by this business.
-
withAddress
public BusinessProfile withAddress(Address address)
-
withAddress
public BusinessProfile withAddress(java.util.Optional<? extends Address> address)
-
withPhone
public BusinessProfile withPhone(PhoneNumber phone)
-
withPhone
public BusinessProfile withPhone(java.util.Optional<? extends PhoneNumber> phone)
-
withEmail
public BusinessProfile withEmail(java.lang.String email)
-
withEmail
public BusinessProfile withEmail(java.util.Optional<java.lang.String> email)
-
withWebsite
public BusinessProfile withWebsite(java.lang.String website)
-
withWebsite
public BusinessProfile withWebsite(java.util.Optional<java.lang.String> website)
-
withDescription
public BusinessProfile withDescription(java.lang.String description)
-
withDescription
public BusinessProfile withDescription(java.util.Optional<java.lang.String> description)
-
withTaxIDProvided
public BusinessProfile withTaxIDProvided(boolean taxIDProvided)
Indicates whether a tax ID has been provided for this business.
-
withTaxIDProvided
public BusinessProfile withTaxIDProvided(java.util.Optional<java.lang.Boolean> taxIDProvided)
Indicates whether a tax ID has been provided for this business.
-
withRepresentatives
public BusinessProfile withRepresentatives(java.util.List<Representative> representatives)
-
withRepresentatives
public BusinessProfile withRepresentatives(java.util.Optional<? extends java.util.List<Representative>> representatives)
-
withOwnersProvided
public BusinessProfile withOwnersProvided(boolean ownersProvided)
-
withIndustryCodes
public BusinessProfile withIndustryCodes(IndustryCodes industryCodes)
-
withIndustryCodes
public BusinessProfile withIndustryCodes(java.util.Optional<? extends IndustryCodes> industryCodes)
-
withPrimaryRegulator
public BusinessProfile withPrimaryRegulator(PrimaryRegulator primaryRegulator)
If the business is a financial institution, this field describes its primary regulator.
-
withPrimaryRegulator
public BusinessProfile 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
-
-