Package model
Class IdentityEntity
- java.lang.Object
-
- model.IdentityEntity
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class IdentityEntity extends Object
The underwriting details required to verify the `Identity`.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIdentityEntity.CustomTypeAdapterFactorystatic classIdentityEntity.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 IdentityEntity()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description IdentityEntityannualCardVolume(Long annualCardVolume)IdentityEntitybusinessAddress(IdentityEntityBusinessAddress businessAddress)IdentityEntitybusinessName(String businessName)IdentityEntitybusinessPhone(String businessPhone)IdentityEntitybusinessTaxIdProvided(Boolean businessTaxIdProvided)IdentityEntitybusinessType(String businessType)IdentityEntitydefaultStatementDescriptor(String defaultStatementDescriptor)IdentityEntitydiscoverMid(Long discoverMid)IdentityEntitydob(IdentityEntityDob dob)IdentityEntitydoingBusinessAs(String doingBusinessAs)IdentityEntityemail(String email)booleanequals(Object o)IdentityEntityfirstName(String firstName)static IdentityEntityfromJson(String jsonString)Create an instance of IdentityEntity given an JSON stringLonggetAnnualCardVolume()The annual credit card sales (in cents) expected to be processed by this merchant (max 19 characters).IdentityEntityBusinessAddressgetBusinessAddress()Get businessAddressStringgetBusinessName()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.StringgetBusinessPhone()Customer service phone number where the merchant can be reached (max 10 characters).BooleangetBusinessTaxIdProvided()Details if the `business_tax_id` was provided.StringgetBusinessType()Include the value that best applies to the merchant.StringgetDefaultStatementDescriptor()The description of the merchant that appears on the buyer's bank or card statement.LonggetDiscoverMid()Assigned discoverMid value.IdentityEntityDobgetDob()Get dobStringgetDoingBusinessAs()Alternate names of the business.StringgetEmail()The email address of the principal control owner where they can be reached (max 100 characters).StringgetFirstName()The legal first name of the merchant's control owner (max 20 characters).BooleangetHasAcceptedCreditCardsPreviously()Defaults to **false** if not passed.IdentityEntityIncorporationDategetIncorporationDate()Get incorporationDateStringgetLastName()The legal last name of the merchant's control owner (max 20 characters).LonggetMaxTransactionAmount()The maximum amount (in cents) that can be charged for a single transaction (max 12 characters).StringgetMcc()The Merchant Category Code ([MCC](http://www.dm.usda.gov/procurement/card/card\\_x/mcc.pdf)) that this merchant will be classified under.IdentityEntity.OwnershipTypeEnumgetOwnershipType()Values can be either: <ul><li><strong>PUBLIC</strong> to indicate a publicly-traded company.<li><strong>PRIVATE</strong> for privately-held businesses.IdentityEntityPersonalAddressgetPersonalAddress()Get personalAddressStringgetPhone()The principal control owner's phone number (max 10 characters).LonggetPrincipalPercentageOwnership()Percentage of the company owned by the principal control owner (min 0; max 100).StringgetShortBusinessName()Abbreviated names of the business.StringgetTaxAuthority()<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).BooleangetTaxIdProvided()Details if the `tax_id` was provided.StringgetTitle()The corporate title of the control owner (e.g.StringgetUrl()The URL of the merchant's public website.IdentityEntityhasAcceptedCreditCardsPreviously(Boolean hasAcceptedCreditCardsPreviously)inthashCode()IdentityEntityincorporationDate(IdentityEntityIncorporationDate incorporationDate)IdentityEntitylastName(String lastName)IdentityEntitymaxTransactionAmount(Long maxTransactionAmount)IdentityEntitymcc(String mcc)IdentityEntityownershipType(IdentityEntity.OwnershipTypeEnum ownershipType)IdentityEntitypersonalAddress(IdentityEntityPersonalAddress personalAddress)IdentityEntityphone(String phone)IdentityEntityprincipalPercentageOwnership(Long principalPercentageOwnership)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)voidsetEmail(String email)voidsetFirstName(String firstName)voidsetHasAcceptedCreditCardsPreviously(Boolean hasAcceptedCreditCardsPreviously)voidsetIncorporationDate(IdentityEntityIncorporationDate incorporationDate)voidsetLastName(String lastName)voidsetMaxTransactionAmount(Long maxTransactionAmount)voidsetMcc(String mcc)voidsetOwnershipType(IdentityEntity.OwnershipTypeEnum ownershipType)voidsetPersonalAddress(IdentityEntityPersonalAddress personalAddress)voidsetPhone(String phone)voidsetPrincipalPercentageOwnership(Long principalPercentageOwnership)voidsetShortBusinessName(String shortBusinessName)voidsetTaxAuthority(String taxAuthority)voidsetTaxIdProvided(Boolean taxIdProvided)voidsetTitle(String title)voidsetUrl(String url)IdentityEntityshortBusinessName(String shortBusinessName)IdentityEntitytaxAuthority(String taxAuthority)IdentityEntitytaxIdProvided(Boolean taxIdProvided)IdentityEntitytitle(String title)StringtoJson()Convert an instance of IdentityEntity to an JSON stringStringtoString()IdentityEntityurl(String url)static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Field Detail
-
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_PROVIDED
public static final String SERIALIZED_NAME_BUSINESS_TAX_ID_PROVIDED
- 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_PROVIDED
public static final String SERIALIZED_NAME_TAX_ID_PROVIDED
- 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
-
annualCardVolume
public IdentityEntity annualCardVolume(Long annualCardVolume)
-
getAnnualCardVolume
@Nullable public Long getAnnualCardVolume()
The annual credit card sales (in cents) expected to be processed by this merchant (max 19 characters).- Returns:
- annualCardVolume
-
setAnnualCardVolume
public void setAnnualCardVolume(Long annualCardVolume)
-
businessAddress
public IdentityEntity businessAddress(IdentityEntityBusinessAddress businessAddress)
-
getBusinessAddress
@Nullable public IdentityEntityBusinessAddress getBusinessAddress()
Get businessAddress- Returns:
- businessAddress
-
setBusinessAddress
public void setBusinessAddress(IdentityEntityBusinessAddress businessAddress)
-
businessName
public IdentityEntity businessName(String businessName)
-
getBusinessName
@Nullable public String 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
public void setBusinessName(String businessName)
-
businessPhone
public IdentityEntity businessPhone(String businessPhone)
-
getBusinessPhone
@Nullable public String getBusinessPhone()
Customer service phone number where the merchant can be reached (max 10 characters).- Returns:
- businessPhone
-
setBusinessPhone
public void setBusinessPhone(String businessPhone)
-
businessTaxIdProvided
public IdentityEntity businessTaxIdProvided(Boolean businessTaxIdProvided)
-
getBusinessTaxIdProvided
@Nullable public Boolean getBusinessTaxIdProvided()
Details if the `business_tax_id` was provided.- Returns:
- businessTaxIdProvided
-
setBusinessTaxIdProvided
public void setBusinessTaxIdProvided(Boolean businessTaxIdProvided)
-
businessType
public IdentityEntity businessType(String businessType)
-
getBusinessType
@Nullable public String getBusinessType()
Include the value that best applies to the merchant.- Returns:
- businessType
-
setBusinessType
public void setBusinessType(String businessType)
-
defaultStatementDescriptor
public IdentityEntity defaultStatementDescriptor(String defaultStatementDescriptor)
-
getDefaultStatementDescriptor
@Nullable public String getDefaultStatementDescriptor()
The description of the merchant that appears on the buyer's bank or card statement.- Returns:
- defaultStatementDescriptor
-
setDefaultStatementDescriptor
public void setDefaultStatementDescriptor(String defaultStatementDescriptor)
-
discoverMid
public IdentityEntity discoverMid(Long discoverMid)
-
getDiscoverMid
@Nullable public Long getDiscoverMid()
Assigned discoverMid value.- Returns:
- discoverMid
-
setDiscoverMid
public void setDiscoverMid(Long discoverMid)
-
dob
public IdentityEntity dob(IdentityEntityDob dob)
-
getDob
@Nullable public IdentityEntityDob getDob()
Get dob- Returns:
- dob
-
setDob
public void setDob(IdentityEntityDob dob)
-
doingBusinessAs
public IdentityEntity doingBusinessAs(String doingBusinessAs)
-
getDoingBusinessAs
@Nullable public String 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
public void setDoingBusinessAs(String doingBusinessAs)
-
email
public IdentityEntity email(String email)
-
getEmail
@Nullable public String getEmail()
The email address of the principal control owner where they can be reached (max 100 characters).- Returns:
-
setEmail
public void setEmail(String email)
-
firstName
public IdentityEntity firstName(String firstName)
-
getFirstName
@Nullable public String getFirstName()
The legal first name of the merchant's control owner (max 20 characters).- Returns:
- firstName
-
setFirstName
public void setFirstName(String firstName)
-
hasAcceptedCreditCardsPreviously
public IdentityEntity hasAcceptedCreditCardsPreviously(Boolean hasAcceptedCreditCardsPreviously)
-
getHasAcceptedCreditCardsPreviously
@Nullable public Boolean getHasAcceptedCreditCardsPreviously()
Defaults to **false** if not passed.- Returns:
- hasAcceptedCreditCardsPreviously
-
setHasAcceptedCreditCardsPreviously
public void setHasAcceptedCreditCardsPreviously(Boolean hasAcceptedCreditCardsPreviously)
-
incorporationDate
public IdentityEntity incorporationDate(IdentityEntityIncorporationDate incorporationDate)
-
getIncorporationDate
@Nullable public IdentityEntityIncorporationDate getIncorporationDate()
Get incorporationDate- Returns:
- incorporationDate
-
setIncorporationDate
public void setIncorporationDate(IdentityEntityIncorporationDate incorporationDate)
-
lastName
public IdentityEntity lastName(String lastName)
-
getLastName
@Nullable public String getLastName()
The legal last name of the merchant's control owner (max 20 characters).- Returns:
- lastName
-
setLastName
public void setLastName(String lastName)
-
maxTransactionAmount
public IdentityEntity maxTransactionAmount(Long maxTransactionAmount)
-
getMaxTransactionAmount
@Nullable public Long getMaxTransactionAmount()
The maximum amount (in cents) that can be charged for a single transaction (max 12 characters).- Returns:
- maxTransactionAmount
-
setMaxTransactionAmount
public void setMaxTransactionAmount(Long maxTransactionAmount)
-
mcc
public IdentityEntity mcc(String mcc)
-
getMcc
@Nullable public String 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
public void setMcc(String mcc)
-
ownershipType
public IdentityEntity ownershipType(IdentityEntity.OwnershipTypeEnum ownershipType)
-
getOwnershipType
@Nullable public IdentityEntity.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(IdentityEntity.OwnershipTypeEnum ownershipType)
-
personalAddress
public IdentityEntity personalAddress(IdentityEntityPersonalAddress personalAddress)
-
getPersonalAddress
@Nullable public IdentityEntityPersonalAddress getPersonalAddress()
Get personalAddress- Returns:
- personalAddress
-
setPersonalAddress
public void setPersonalAddress(IdentityEntityPersonalAddress personalAddress)
-
phone
public IdentityEntity phone(String phone)
-
getPhone
@Nullable public String getPhone()
The principal control owner's phone number (max 10 characters).- Returns:
- phone
-
setPhone
public void setPhone(String phone)
-
principalPercentageOwnership
public IdentityEntity principalPercentageOwnership(Long principalPercentageOwnership)
-
getPrincipalPercentageOwnership
@Nullable public Long getPrincipalPercentageOwnership()
Percentage of the company owned by the principal control owner (min 0; max 100).- Returns:
- principalPercentageOwnership
-
setPrincipalPercentageOwnership
public void setPrincipalPercentageOwnership(Long principalPercentageOwnership)
-
shortBusinessName
public IdentityEntity shortBusinessName(String shortBusinessName)
-
getShortBusinessName
@Nullable public String getShortBusinessName()
Abbreviated names of the business. If there are no abbreviated name, leave this field blank.- Returns:
- shortBusinessName
-
setShortBusinessName
public void setShortBusinessName(String shortBusinessName)
-
taxAuthority
public IdentityEntity taxAuthority(String taxAuthority)
-
getTaxAuthority
@Nullable public String 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
public void setTaxAuthority(String taxAuthority)
-
taxIdProvided
public IdentityEntity taxIdProvided(Boolean taxIdProvided)
-
getTaxIdProvided
@Nullable public Boolean getTaxIdProvided()
Details if the `tax_id` was provided.- Returns:
- taxIdProvided
-
setTaxIdProvided
public void setTaxIdProvided(Boolean taxIdProvided)
-
title
public IdentityEntity title(String title)
-
getTitle
@Nullable public String getTitle()
The corporate title of the control owner (e.g. Chief Executive Officer, CFO, etc. Max 60 characters).- Returns:
- title
-
setTitle
public void setTitle(String title)
-
url
public IdentityEntity url(String 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 IdentityEntity
-
fromJson
public static IdentityEntity fromJson(String jsonString) throws IOException
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
public String toJson()
Convert an instance of IdentityEntity to an JSON string- Returns:
- JSON string
-
-