Package model
Class IdentityEntity
java.lang.Object
model.IdentityEntity
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-06-24T13:03:18.088665-07:00[America/Los_Angeles]")
public class IdentityEntity
extends Object
The underwriting details required to verify the `Identity` of the `Merchant`.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumValues can be either: <ul><li><strong>PUBLIC</strong> to indicate a publicly-traded company.<li><strong>PRIVATE</strong> for privately-held businesses. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionannualCardVolume(Long annualCardVolume) businessAddress(IdentityEntityBusinessAddress businessAddress) businessName(String businessName) businessPhone(String businessPhone) businessTaxIdProvided(Boolean businessTaxIdProvided) businessType(String businessType) defaultStatementDescriptor(String defaultStatementDescriptor) discoverMid(Long discoverMid) dob(IdentityEntityDob dob) doingBusinessAs(String doingBusinessAs) booleanstatic IdentityEntityCreate an instance of IdentityEntity given an JSON stringAssigned amexMid value.The annual credit card sales (in cents) expected to be processed by this merchant (max 19 characters).Get businessAddressThe merchant's legal business name (max 120 characters).<ul><li>If <strong>INDIVIDUAL_SOLE_PROPRIETORSHIP</strong>, pass the owner's legal first name, last name and middle initial.Customer service phone number where the merchant can be reached (max 10 characters).Details if the `business_tax_id` was provided.Include the value that best applies to the merchant.The description of the merchant that appears on the buyer's bank or card statement.Assigned discoverMid value.getDob()Get dobAlternate names of the business.getEmail()The email address of the principal control owner where they can be reached (max 100 characters).The legal first name of the merchant's control owner (max 20 characters).Defaults to **false** if not passed.Get incorporationDateThe legal last name of the merchant's control owner (max 20 characters).The maximum amount (in cents) that can be charged for a single transaction (max 12 characters).getMcc()The Merchant Category Code ([MCC](http://www.dm.usda.gov/procurement/card/card\\_x/mcc.pdf)) that this merchant will be classified under.Values can be either: <ul><li><strong>PUBLIC</strong> to indicate a publicly-traded company.<li><strong>PRIVATE</strong> for privately-held businesses.Get personalAddressgetPhone()The principal control owner's phone number (max 10 characters).Percentage of the company owned by the principal control owner (min 0; max 100).Abbreviated names of the business.<ul><li>Only required when onboarding a merchant with a <tt>MCC</tt> of <strong>9311</strong>.<li> The <tt>tax_authority</tt> is the tax gathering entity (e.g San Francisco Water Authority).Details if the `tax_id` was provided.getTitle()The corporate title of the control owner (e.g.getUrl()The URL of the merchant's public website.hasAcceptedCreditCardsPreviously(Boolean hasAcceptedCreditCardsPreviously) inthashCode()incorporationDate(IdentityEntityIncorporationDate incorporationDate) maxTransactionAmount(Long maxTransactionAmount) ownershipType(IdentityEntity.OwnershipTypeEnum ownershipType) personalAddress(IdentityEntityPersonalAddress personalAddress) principalPercentageOwnership(Long principalPercentageOwnership) voidsetAmexMid(Long amexMid) voidsetAnnualCardVolume(Long annualCardVolume) voidsetBusinessAddress(IdentityEntityBusinessAddress businessAddress) voidsetBusinessName(String businessName) voidsetBusinessPhone(String businessPhone) voidsetBusinessTaxIdProvided(Boolean businessTaxIdProvided) voidsetBusinessType(String businessType) voidsetDefaultStatementDescriptor(String defaultStatementDescriptor) voidsetDiscoverMid(Long discoverMid) voidsetDob(IdentityEntityDob dob) voidsetDoingBusinessAs(String doingBusinessAs) voidvoidsetFirstName(String firstName) voidsetHasAcceptedCreditCardsPreviously(Boolean hasAcceptedCreditCardsPreviously) voidsetIncorporationDate(IdentityEntityIncorporationDate incorporationDate) voidsetLastName(String lastName) voidsetMaxTransactionAmount(Long maxTransactionAmount) voidvoidsetOwnershipType(IdentityEntity.OwnershipTypeEnum ownershipType) voidsetPersonalAddress(IdentityEntityPersonalAddress personalAddress) voidvoidsetPrincipalPercentageOwnership(Long principalPercentageOwnership) voidsetShortBusinessName(String shortBusinessName) voidsetTaxAuthority(String taxAuthority) voidsetTaxIdProvided(Boolean taxIdProvided) voidvoidshortBusinessName(String shortBusinessName) taxAuthority(String taxAuthority) taxIdProvided(Boolean taxIdProvided) toJson()Convert an instance of IdentityEntity to an JSON stringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj) Validates the JSON Object and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_TITLE
- See Also:
-
SERIALIZED_NAME_FIRST_NAME
- See Also:
-
SERIALIZED_NAME_LAST_NAME
- See Also:
-
SERIALIZED_NAME_EMAIL
- See Also:
-
SERIALIZED_NAME_BUSINESS_NAME
- See Also:
-
SERIALIZED_NAME_BUSINESS_TYPE
- See Also:
-
SERIALIZED_NAME_DOING_BUSINESS_AS
- See Also:
-
SERIALIZED_NAME_PHONE
- See Also:
-
SERIALIZED_NAME_BUSINESS_PHONE
- See Also:
-
SERIALIZED_NAME_PERSONAL_ADDRESS
- See Also:
-
SERIALIZED_NAME_BUSINESS_ADDRESS
- See Also:
-
SERIALIZED_NAME_MCC
- See Also:
-
SERIALIZED_NAME_DOB
- See Also:
-
SERIALIZED_NAME_MAX_TRANSACTION_AMOUNT
- See Also:
-
SERIALIZED_NAME_AMEX_MID
- See Also:
-
SERIALIZED_NAME_DISCOVER_MID
- See Also:
-
SERIALIZED_NAME_URL
- See Also:
-
SERIALIZED_NAME_ANNUAL_CARD_VOLUME
- See Also:
-
SERIALIZED_NAME_HAS_ACCEPTED_CREDIT_CARDS_PREVIOUSLY
- See Also:
-
SERIALIZED_NAME_INCORPORATION_DATE
- See Also:
-
SERIALIZED_NAME_PRINCIPAL_PERCENTAGE_OWNERSHIP
- See Also:
-
SERIALIZED_NAME_SHORT_BUSINESS_NAME
- See Also:
-
SERIALIZED_NAME_OWNERSHIP_TYPE
- See Also:
-
SERIALIZED_NAME_TAX_AUTHORITY
- See Also:
-
SERIALIZED_NAME_TAX_ID_PROVIDED
- See Also:
-
SERIALIZED_NAME_BUSINESS_TAX_ID_PROVIDED
- See Also:
-
SERIALIZED_NAME_DEFAULT_STATEMENT_DESCRIPTOR
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
IdentityEntity
public IdentityEntity()
-
-
Method Details
-
title
-
getTitle
The corporate title of the control owner (e.g. Chief Executive Officer, CFO, etc. Max 60 characters).- Returns:
- title
-
setTitle
-
firstName
-
getFirstName
The legal first name of the merchant's control owner (max 20 characters).- Returns:
- firstName
-
setFirstName
-
lastName
-
getLastName
The legal last name of the merchant's control owner (max 20 characters).- Returns:
- lastName
-
setLastName
-
email
-
getEmail
The email address of the principal control owner where they can be reached (max 100 characters).- Returns:
-
setEmail
-
businessName
-
getBusinessName
The merchant's legal business name (max 120 characters).<ul><li>If <strong>INDIVIDUAL_SOLE_PROPRIETORSHIP</strong>, pass the owner's legal first name, last name and middle initial.- Returns:
- businessName
-
setBusinessName
-
businessType
-
getBusinessType
Include the value that best applies to the merchant.- Returns:
- businessType
-
setBusinessType
-
doingBusinessAs
-
getDoingBusinessAs
Alternate names of the business. If there are no other names, pass the same value used for `business_name` (max 60 characters).- Returns:
- doingBusinessAs
-
setDoingBusinessAs
-
phone
-
getPhone
The principal control owner's phone number (max 10 characters).- Returns:
- phone
-
setPhone
-
businessPhone
-
getBusinessPhone
Customer service phone number where the merchant can be reached (max 10 characters).- Returns:
- businessPhone
-
setBusinessPhone
-
personalAddress
-
getPersonalAddress
Get personalAddress- Returns:
- personalAddress
-
setPersonalAddress
-
businessAddress
-
getBusinessAddress
Get businessAddress- Returns:
- businessAddress
-
setBusinessAddress
-
mcc
-
getMcc
The Merchant Category Code ([MCC](http://www.dm.usda.gov/procurement/card/card\\_x/mcc.pdf)) that this merchant will be classified under.- Returns:
- mcc
-
setMcc
-
dob
-
getDob
Get dob- Returns:
- dob
-
setDob
-
maxTransactionAmount
-
getMaxTransactionAmount
The maximum amount (in cents) that can be charged for a single transaction (max 12 characters).- Returns:
- maxTransactionAmount
-
setMaxTransactionAmount
-
amexMid
-
getAmexMid
Assigned amexMid value. If a value is passed, it must be 10 or 11 digits.- Returns:
- amexMid
-
setAmexMid
-
discoverMid
-
getDiscoverMid
Assigned discoverMid value.- Returns:
- discoverMid
-
setDiscoverMid
-
url
-
getUrl
The URL of the merchant's public website.- Returns:
- url
-
setUrl
-
annualCardVolume
-
getAnnualCardVolume
The annual credit card sales (in cents) expected to be processed by this merchant (max 19 characters).- Returns:
- annualCardVolume
-
setAnnualCardVolume
-
hasAcceptedCreditCardsPreviously
-
getHasAcceptedCreditCardsPreviously
Defaults to **false** if not passed.- Returns:
- hasAcceptedCreditCardsPreviously
-
setHasAcceptedCreditCardsPreviously
-
incorporationDate
-
getIncorporationDate
Get incorporationDate- Returns:
- incorporationDate
-
setIncorporationDate
-
principalPercentageOwnership
-
getPrincipalPercentageOwnership
Percentage of the company owned by the principal control owner (min 0; max 100).- Returns:
- principalPercentageOwnership
-
setPrincipalPercentageOwnership
-
shortBusinessName
-
getShortBusinessName
Abbreviated names of the business. If there are no abbreviated name, leave this field blank.- Returns:
- shortBusinessName
-
setShortBusinessName
-
ownershipType
-
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
-
taxAuthority
-
getTaxAuthority
<ul><li>Only required when onboarding a merchant with a <tt>MCC</tt> of <strong>9311</strong>.<li> The <tt>tax_authority</tt> is the tax gathering entity (e.g San Francisco Water Authority).- Returns:
- taxAuthority
-
setTaxAuthority
-
taxIdProvided
-
getTaxIdProvided
Details if the `tax_id` was provided.- Returns:
- taxIdProvided
-
setTaxIdProvided
-
businessTaxIdProvided
-
getBusinessTaxIdProvided
Details if the `business_tax_id` was provided.- Returns:
- businessTaxIdProvided
-
setBusinessTaxIdProvided
-
defaultStatementDescriptor
-
getDefaultStatementDescriptor
The description of the merchant that appears on the buyer's bank or card statement.- Returns:
- defaultStatementDescriptor
-
setDefaultStatementDescriptor
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonObject
Validates 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 IdentityEntity
-
fromJson
Create an instance of IdentityEntity given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of IdentityEntity
- Throws:
IOException- if the JSON string is invalid with respect to IdentityEntity
-
toJson
Convert an instance of IdentityEntity to an JSON string- Returns:
- JSON string
-