Package model
Class IdentityEntityForm
- java.lang.Object
-
- model.IdentityEntityForm
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class IdentityEntityForm extends Object
Information needed to verify the identity of the entity.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIdentityEntityForm.BusinessTypeEnumInclude the value that applies the best.static classIdentityEntityForm.CustomTypeAdapterFactorystatic classIdentityEntityForm.OwnershipTypeEnumValues can be either: <ul><li><strong>PUBLIC</strong> to indicate a publicly-traded company.<li><strong>PRIVATE</strong> for privately-held businesses.
-
Field Summary
-
Constructor Summary
Constructors Constructor Description IdentityEntityForm()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description IdentityEntityFormamexMid(String amexMid)IdentityEntityFormannualCardVolume(Long annualCardVolume)IdentityEntityFormbusinessAddress(IdentityEntityFormBusinessAddress businessAddress)IdentityEntityFormbusinessName(String businessName)IdentityEntityFormbusinessPhone(String businessPhone)IdentityEntityFormbusinessTaxId(String businessTaxId)IdentityEntityFormbusinessType(IdentityEntityForm.BusinessTypeEnum businessType)IdentityEntityFormdefaultStatementDescriptor(String defaultStatementDescriptor)IdentityEntityFormdiscoverMid(String discoverMid)IdentityEntityFormdob(IdentityEntityFormDob dob)IdentityEntityFormdoingBusinessAs(String doingBusinessAs)IdentityEntityFormemail(String email)booleanequals(Object o)IdentityEntityFormfirstName(String firstName)static IdentityEntityFormfromJson(String jsonString)Create an instance of IdentityEntityForm given an JSON stringStringgetAmexMid()Assigned amex_Mid value.LonggetAnnualCardVolume()Approximate annual credit card sales expected to be processed in cents by this merchant (max 19 characters).IdentityEntityFormBusinessAddressgetBusinessAddress()Get businessAddressStringgetBusinessName()Merchant's full legal business name (If **INDIVIDUAL\\_SOLE\\_PROPRIETORSHIP**, input first name, Full legal last name and middle initial; max 120 characters)StringgetBusinessPhone()Customer service phone number where the merchant can be reached (max 10 characters).StringgetBusinessTaxId()Nine digit Tax Identification Number (TIN), Employer Identification Number (EIN).IdentityEntityForm.BusinessTypeEnumgetBusinessType()Include the value that applies the best.StringgetDefaultStatementDescriptor()Billing description displayed on the buyer's bank or card statement (Length must be between 1 and 20 characters).StringgetDiscoverMid()Assigned Discover Mid value.IdentityEntityFormDobgetDob()Get dobStringgetDoingBusinessAs()Alternate name of the business.StringgetEmail()Control person's email address where they can be reached (max 100 characters).StringgetFirstName()Full legal first name of the merchant's principal representative (max 20 characters).BooleangetHasAcceptedCreditCardsPreviously()Defaults to **false** if not passed.IdentityEntityFormIncorporationDategetIncorporationDate()Get incorporationDateStringgetLastName()Full legal last name of the merchant's principal representative (max 20 characters).LonggetMaxTransactionAmount()Maximum amount that can be transacted for a single transaction in cents (max 12 characters).StringgetMcc()The Merchant Category Code ([MCC](http://www.dm.usda.gov/procurement/card/card_x/mcc.pdf)) the merchant is classified under.IdentityEntityForm.OwnershipTypeEnumgetOwnershipType()Values can be either: <ul><li><strong>PUBLIC</strong> to indicate a publicly-traded company.<li><strong>PRIVATE</strong> for privately-held businesses.AddressgetPersonalAddress()Get personalAddressStringgetPhone()Principal's phone number (max 10 characters).LonggetPrincipalPercentageOwnership()Percentage of company owned by the principal (min 0; max 100).StringgetShortBusinessName()The short version of the business name.StringgetTaxAuthority()Used and required when onboarding a `Merchant` with a `MCC` of **9311**.StringgetTaxId()Used to verify `tax_id` was provided.StringgetTitle()Control person's corporate title or role (i.e.StringgetUrl()Merchant's publicly available website (max 100 characters).IdentityEntityFormhasAcceptedCreditCardsPreviously(Boolean hasAcceptedCreditCardsPreviously)inthashCode()IdentityEntityFormincorporationDate(IdentityEntityFormIncorporationDate incorporationDate)IdentityEntityFormlastName(String lastName)IdentityEntityFormmaxTransactionAmount(Long maxTransactionAmount)IdentityEntityFormmcc(String mcc)IdentityEntityFormownershipType(IdentityEntityForm.OwnershipTypeEnum ownershipType)IdentityEntityFormpersonalAddress(Address personalAddress)IdentityEntityFormphone(String phone)IdentityEntityFormprincipalPercentageOwnership(Long principalPercentageOwnership)voidsetAmexMid(String amexMid)voidsetAnnualCardVolume(Long annualCardVolume)voidsetBusinessAddress(IdentityEntityFormBusinessAddress businessAddress)voidsetBusinessName(String businessName)voidsetBusinessPhone(String businessPhone)voidsetBusinessTaxId(String businessTaxId)voidsetBusinessType(IdentityEntityForm.BusinessTypeEnum businessType)voidsetDefaultStatementDescriptor(String defaultStatementDescriptor)voidsetDiscoverMid(String discoverMid)voidsetDob(IdentityEntityFormDob dob)voidsetDoingBusinessAs(String doingBusinessAs)voidsetEmail(String email)voidsetFirstName(String firstName)voidsetHasAcceptedCreditCardsPreviously(Boolean hasAcceptedCreditCardsPreviously)voidsetIncorporationDate(IdentityEntityFormIncorporationDate incorporationDate)voidsetLastName(String lastName)voidsetMaxTransactionAmount(Long maxTransactionAmount)voidsetMcc(String mcc)voidsetOwnershipType(IdentityEntityForm.OwnershipTypeEnum ownershipType)voidsetPersonalAddress(Address personalAddress)voidsetPhone(String phone)voidsetPrincipalPercentageOwnership(Long principalPercentageOwnership)voidsetShortBusinessName(String shortBusinessName)voidsetTaxAuthority(String taxAuthority)voidsetTaxId(String taxId)voidsetTitle(String title)voidsetUrl(String url)IdentityEntityFormshortBusinessName(String shortBusinessName)IdentityEntityFormtaxAuthority(String taxAuthority)IdentityEntityFormtaxId(String taxId)IdentityEntityFormtitle(String title)StringtoJson()Convert an instance of IdentityEntityForm to an JSON stringStringtoString()IdentityEntityFormurl(String url)static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_AMEX_MID
public static final String SERIALIZED_NAME_AMEX_MID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ANNUAL_CARD_VOLUME
public static final String SERIALIZED_NAME_ANNUAL_CARD_VOLUME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_BUSINESS_ADDRESS
public static final String SERIALIZED_NAME_BUSINESS_ADDRESS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_BUSINESS_NAME
public static final String SERIALIZED_NAME_BUSINESS_NAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_BUSINESS_PHONE
public static final String SERIALIZED_NAME_BUSINESS_PHONE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_BUSINESS_TAX_ID
public static final String SERIALIZED_NAME_BUSINESS_TAX_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_BUSINESS_TYPE
public static final String SERIALIZED_NAME_BUSINESS_TYPE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DEFAULT_STATEMENT_DESCRIPTOR
public static final String SERIALIZED_NAME_DEFAULT_STATEMENT_DESCRIPTOR
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DISCOVER_MID
public static final String SERIALIZED_NAME_DISCOVER_MID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DOB
public static final String SERIALIZED_NAME_DOB
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DOING_BUSINESS_AS
public static final String SERIALIZED_NAME_DOING_BUSINESS_AS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_EMAIL
public static final String SERIALIZED_NAME_EMAIL
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_FIRST_NAME
public static final String SERIALIZED_NAME_FIRST_NAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_HAS_ACCEPTED_CREDIT_CARDS_PREVIOUSLY
public static final String SERIALIZED_NAME_HAS_ACCEPTED_CREDIT_CARDS_PREVIOUSLY
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_INCORPORATION_DATE
public static final String SERIALIZED_NAME_INCORPORATION_DATE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LAST_NAME
public static final String SERIALIZED_NAME_LAST_NAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_MAX_TRANSACTION_AMOUNT
public static final String SERIALIZED_NAME_MAX_TRANSACTION_AMOUNT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_MCC
public static final String SERIALIZED_NAME_MCC
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_OWNERSHIP_TYPE
public static final String SERIALIZED_NAME_OWNERSHIP_TYPE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PERSONAL_ADDRESS
public static final String SERIALIZED_NAME_PERSONAL_ADDRESS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PHONE
public static final String SERIALIZED_NAME_PHONE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PRINCIPAL_PERCENTAGE_OWNERSHIP
public static final String SERIALIZED_NAME_PRINCIPAL_PERCENTAGE_OWNERSHIP
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SHORT_BUSINESS_NAME
public static final String SERIALIZED_NAME_SHORT_BUSINESS_NAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TAX_AUTHORITY
public static final String SERIALIZED_NAME_TAX_AUTHORITY
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TAX_ID
public static final String SERIALIZED_NAME_TAX_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TITLE
public static final String SERIALIZED_NAME_TITLE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_URL
public static final String SERIALIZED_NAME_URL
- See Also:
- Constant Field Values
-
-
Method Detail
-
amexMid
public IdentityEntityForm amexMid(String amexMid)
-
getAmexMid
@Nullable public String getAmexMid()
Assigned amex_Mid value. If included must be 10 or 11 digits.- Returns:
- amexMid
-
setAmexMid
public void setAmexMid(String amexMid)
-
annualCardVolume
public IdentityEntityForm annualCardVolume(Long annualCardVolume)
-
getAnnualCardVolume
@Nullable public Long getAnnualCardVolume()
Approximate annual credit card sales expected to be processed in cents by this merchant (max 19 characters).- Returns:
- annualCardVolume
-
setAnnualCardVolume
public void setAnnualCardVolume(Long annualCardVolume)
-
businessAddress
public IdentityEntityForm businessAddress(IdentityEntityFormBusinessAddress businessAddress)
-
getBusinessAddress
@Nullable public IdentityEntityFormBusinessAddress getBusinessAddress()
Get businessAddress- Returns:
- businessAddress
-
setBusinessAddress
public void setBusinessAddress(IdentityEntityFormBusinessAddress businessAddress)
-
businessName
public IdentityEntityForm businessName(String businessName)
-
getBusinessName
@Nullable public String getBusinessName()
Merchant's full legal business name (If **INDIVIDUAL\\_SOLE\\_PROPRIETORSHIP**, input first name, Full legal last name and middle initial; max 120 characters)- Returns:
- businessName
-
setBusinessName
public void setBusinessName(String businessName)
-
businessPhone
public IdentityEntityForm businessPhone(String businessPhone)
-
getBusinessPhone
@Nonnull public String getBusinessPhone()
Customer service phone number where the merchant can be reached (max 10 characters).- Returns:
- businessPhone
-
setBusinessPhone
public void setBusinessPhone(String businessPhone)
-
businessTaxId
public IdentityEntityForm businessTaxId(String businessTaxId)
-
getBusinessTaxId
@Nonnull public String getBusinessTaxId()
Nine digit Tax Identification Number (TIN), Employer Identification Number (EIN). If the `business_type` is **INDIVIDUAL\\_SOLE\\_PROPRIETORSHIP** and they do not have an EIN, use the sole proprietor's Social Security Number (SSN).- Returns:
- businessTaxId
-
setBusinessTaxId
public void setBusinessTaxId(String businessTaxId)
-
businessType
public IdentityEntityForm businessType(IdentityEntityForm.BusinessTypeEnum businessType)
-
getBusinessType
@Nullable public IdentityEntityForm.BusinessTypeEnum getBusinessType()
Include the value that applies the best.- Returns:
- businessType
-
setBusinessType
public void setBusinessType(IdentityEntityForm.BusinessTypeEnum businessType)
-
defaultStatementDescriptor
public IdentityEntityForm defaultStatementDescriptor(String defaultStatementDescriptor)
-
getDefaultStatementDescriptor
@Nullable public String getDefaultStatementDescriptor()
Billing description displayed on the buyer's bank or card statement (Length must be between 1 and 20 characters).- Returns:
- defaultStatementDescriptor
-
setDefaultStatementDescriptor
public void setDefaultStatementDescriptor(String defaultStatementDescriptor)
-
discoverMid
public IdentityEntityForm discoverMid(String discoverMid)
-
getDiscoverMid
@Nullable public String getDiscoverMid()
Assigned Discover Mid value.- Returns:
- discoverMid
-
setDiscoverMid
public void setDiscoverMid(String discoverMid)
-
dob
public IdentityEntityForm dob(IdentityEntityFormDob dob)
-
getDob
@Nonnull public IdentityEntityFormDob getDob()
Get dob- Returns:
- dob
-
setDob
public void setDob(IdentityEntityFormDob dob)
-
doingBusinessAs
public IdentityEntityForm doingBusinessAs(String doingBusinessAs)
-
getDoingBusinessAs
@Nonnull public String getDoingBusinessAs()
Alternate name of the business. If no other name is used use the same value used in `business_name` (max 60 characters).- Returns:
- doingBusinessAs
-
setDoingBusinessAs
public void setDoingBusinessAs(String doingBusinessAs)
-
email
public IdentityEntityForm email(String email)
-
getEmail
@Nonnull public String getEmail()
Control person's email address where they can be reached (max 100 characters).- Returns:
-
setEmail
public void setEmail(String email)
-
firstName
public IdentityEntityForm firstName(String firstName)
-
getFirstName
@Nonnull public String getFirstName()
Full legal first name of the merchant's principal representative (max 20 characters).- Returns:
- firstName
-
setFirstName
public void setFirstName(String firstName)
-
hasAcceptedCreditCardsPreviously
public IdentityEntityForm hasAcceptedCreditCardsPreviously(Boolean hasAcceptedCreditCardsPreviously)
-
getHasAcceptedCreditCardsPreviously
@Nullable public Boolean getHasAcceptedCreditCardsPreviously()
Defaults to **false** if not passed.- Returns:
- hasAcceptedCreditCardsPreviously
-
setHasAcceptedCreditCardsPreviously
public void setHasAcceptedCreditCardsPreviously(Boolean hasAcceptedCreditCardsPreviously)
-
incorporationDate
public IdentityEntityForm incorporationDate(IdentityEntityFormIncorporationDate incorporationDate)
-
getIncorporationDate
@Nullable public IdentityEntityFormIncorporationDate getIncorporationDate()
Get incorporationDate- Returns:
- incorporationDate
-
setIncorporationDate
public void setIncorporationDate(IdentityEntityFormIncorporationDate incorporationDate)
-
lastName
public IdentityEntityForm lastName(String lastName)
-
getLastName
@Nonnull public String getLastName()
Full legal last name of the merchant's principal representative (max 20 characters).- Returns:
- lastName
-
setLastName
public void setLastName(String lastName)
-
maxTransactionAmount
public IdentityEntityForm maxTransactionAmount(Long maxTransactionAmount)
-
getMaxTransactionAmount
@Nullable public Long getMaxTransactionAmount()
Maximum amount that can be transacted for a single transaction in cents (max 12 characters).- Returns:
- maxTransactionAmount
-
setMaxTransactionAmount
public void setMaxTransactionAmount(Long maxTransactionAmount)
-
mcc
public IdentityEntityForm mcc(String mcc)
-
getMcc
@Nullable public String getMcc()
The Merchant Category Code ([MCC](http://www.dm.usda.gov/procurement/card/card_x/mcc.pdf)) the merchant is classified under.- Returns:
- mcc
-
setMcc
public void setMcc(String mcc)
-
ownershipType
public IdentityEntityForm ownershipType(IdentityEntityForm.OwnershipTypeEnum ownershipType)
-
getOwnershipType
@Nullable public IdentityEntityForm.OwnershipTypeEnum getOwnershipType()
Values can be either: <ul><li><strong>PUBLIC</strong> to indicate a publicly-traded company.<li><strong>PRIVATE</strong> for privately-held businesses.- Returns:
- ownershipType
-
setOwnershipType
public void setOwnershipType(IdentityEntityForm.OwnershipTypeEnum ownershipType)
-
personalAddress
public IdentityEntityForm personalAddress(Address personalAddress)
-
getPersonalAddress
@Nullable public Address getPersonalAddress()
Get personalAddress- Returns:
- personalAddress
-
setPersonalAddress
public void setPersonalAddress(Address personalAddress)
-
phone
public IdentityEntityForm phone(String phone)
-
getPhone
@Nonnull public String getPhone()
Principal's phone number (max 10 characters).- Returns:
- phone
-
setPhone
public void setPhone(String phone)
-
principalPercentageOwnership
public IdentityEntityForm principalPercentageOwnership(Long principalPercentageOwnership)
-
getPrincipalPercentageOwnership
@Nullable public Long getPrincipalPercentageOwnership()
Percentage of company owned by the principal (min 0; max 100). minimum: 0 maximum: 100- Returns:
- principalPercentageOwnership
-
setPrincipalPercentageOwnership
public void setPrincipalPercentageOwnership(Long principalPercentageOwnership)
-
shortBusinessName
public IdentityEntityForm shortBusinessName(String shortBusinessName)
-
getShortBusinessName
@Nullable public String getShortBusinessName()
The short version of the business name. (Defaults to **null**).- Returns:
- shortBusinessName
-
setShortBusinessName
public void setShortBusinessName(String shortBusinessName)
-
taxAuthority
public IdentityEntityForm taxAuthority(String taxAuthority)
-
getTaxAuthority
@Nullable public String getTaxAuthority()
Used and required when onboarding a `Merchant` with a `MCC` of **9311**. The `tax_authority` is the tax gathering entity (e.g San Francisco Water Authority).- Returns:
- taxAuthority
-
setTaxAuthority
public void setTaxAuthority(String taxAuthority)
-
taxId
public IdentityEntityForm taxId(String taxId)
-
setTaxId
public void setTaxId(String taxId)
-
title
public IdentityEntityForm title(String title)
-
getTitle
@Nullable public String getTitle()
Control person's corporate title or role (i.e. Chief Executive Officer, CFO, etc.; max 60 characters).- Returns:
- title
-
setTitle
public void setTitle(String title)
-
url
public IdentityEntityForm url(String url)
-
getUrl
@Nullable public String getUrl()
Merchant's publicly available website (max 100 characters).- Returns:
- url
-
setUrl
public void setUrl(String url)
-
validateJsonObject
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOExceptionValidates the JSON Object and throws an exception if issues found- Parameters:
jsonObj- JSON Object- Throws:
IOException- if the JSON Object is invalid with respect to IdentityEntityForm
-
fromJson
public static IdentityEntityForm fromJson(String jsonString) throws IOException
Create an instance of IdentityEntityForm given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of IdentityEntityForm
- Throws:
IOException- if the JSON string is invalid with respect to IdentityEntityForm
-
toJson
public String toJson()
Convert an instance of IdentityEntityForm to an JSON string- Returns:
- JSON string
-
-