Package model
Class AssociatedIdentityEntity
- java.lang.Object
-
- model.AssociatedIdentityEntity
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class AssociatedIdentityEntity extends Object
The underwriting details required to verify the `Identity`.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAssociatedIdentityEntity.CustomTypeAdapterFactorystatic classAssociatedIdentityEntity.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 AssociatedIdentityEntity()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AssociatedIdentityEntityamexMid(Long amexMid)AssociatedIdentityEntityannualCardVolume(Long annualCardVolume)AssociatedIdentityEntitybusinessAddress(IdentityEntityBusinessAddress businessAddress)AssociatedIdentityEntitybusinessName(String businessName)AssociatedIdentityEntitybusinessPhone(String businessPhone)AssociatedIdentityEntitybusinessTaxIdProvided(Boolean businessTaxIdProvided)AssociatedIdentityEntitybusinessType(String businessType)AssociatedIdentityEntitydefaultStatementDescriptor(String defaultStatementDescriptor)AssociatedIdentityEntitydiscoverMid(Long discoverMid)AssociatedIdentityEntitydob(IdentityEntityDob dob)AssociatedIdentityEntitydoingBusinessAs(String doingBusinessAs)AssociatedIdentityEntityemail(String email)booleanequals(Object o)AssociatedIdentityEntityfirstName(String firstName)static AssociatedIdentityEntityfromJson(String jsonString)Create an instance of AssociatedIdentityEntity given an JSON stringLonggetAmexMid()Assigned amexMid value.LonggetAnnualCardVolume()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.AssociatedIdentityEntity.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.AssociatedIdentityEntityhasAcceptedCreditCardsPreviously(Boolean hasAcceptedCreditCardsPreviously)inthashCode()AssociatedIdentityEntityincorporationDate(IdentityEntityIncorporationDate incorporationDate)AssociatedIdentityEntitylastName(String lastName)AssociatedIdentityEntitymaxTransactionAmount(Long maxTransactionAmount)AssociatedIdentityEntitymcc(String mcc)AssociatedIdentityEntityownershipType(AssociatedIdentityEntity.OwnershipTypeEnum ownershipType)AssociatedIdentityEntitypersonalAddress(IdentityEntityPersonalAddress personalAddress)AssociatedIdentityEntityphone(String phone)AssociatedIdentityEntityprincipalPercentageOwnership(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)voidsetEmail(String email)voidsetFirstName(String firstName)voidsetHasAcceptedCreditCardsPreviously(Boolean hasAcceptedCreditCardsPreviously)voidsetIncorporationDate(IdentityEntityIncorporationDate incorporationDate)voidsetLastName(String lastName)voidsetMaxTransactionAmount(Long maxTransactionAmount)voidsetMcc(String mcc)voidsetOwnershipType(AssociatedIdentityEntity.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)AssociatedIdentityEntityshortBusinessName(String shortBusinessName)AssociatedIdentityEntitytaxAuthority(String taxAuthority)AssociatedIdentityEntitytaxIdProvided(Boolean taxIdProvided)AssociatedIdentityEntitytitle(String title)StringtoJson()Convert an instance of AssociatedIdentityEntity to an JSON stringStringtoString()AssociatedIdentityEntityurl(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_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
-
amexMid
public AssociatedIdentityEntity amexMid(Long amexMid)
-
getAmexMid
@Nullable public Long getAmexMid()
Assigned amexMid value. If a value is passed, it must be 10 or 11 digits.- Returns:
- amexMid
-
setAmexMid
public void setAmexMid(Long amexMid)
-
annualCardVolume
public AssociatedIdentityEntity 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 AssociatedIdentityEntity businessAddress(IdentityEntityBusinessAddress businessAddress)
-
getBusinessAddress
@Nullable public IdentityEntityBusinessAddress getBusinessAddress()
Get businessAddress- Returns:
- businessAddress
-
setBusinessAddress
public void setBusinessAddress(IdentityEntityBusinessAddress businessAddress)
-
businessName
public AssociatedIdentityEntity 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 AssociatedIdentityEntity 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 AssociatedIdentityEntity 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 AssociatedIdentityEntity 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 AssociatedIdentityEntity 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 AssociatedIdentityEntity discoverMid(Long discoverMid)
-
getDiscoverMid
@Nullable public Long getDiscoverMid()
Assigned discoverMid value.- Returns:
- discoverMid
-
setDiscoverMid
public void setDiscoverMid(Long discoverMid)
-
dob
public AssociatedIdentityEntity dob(IdentityEntityDob dob)
-
getDob
@Nullable public IdentityEntityDob getDob()
Get dob- Returns:
- dob
-
setDob
public void setDob(IdentityEntityDob dob)
-
doingBusinessAs
public AssociatedIdentityEntity 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 AssociatedIdentityEntity 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 AssociatedIdentityEntity 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 AssociatedIdentityEntity hasAcceptedCreditCardsPreviously(Boolean hasAcceptedCreditCardsPreviously)
-
getHasAcceptedCreditCardsPreviously
@Nullable public Boolean getHasAcceptedCreditCardsPreviously()
Defaults to **false** if not passed.- Returns:
- hasAcceptedCreditCardsPreviously
-
setHasAcceptedCreditCardsPreviously
public void setHasAcceptedCreditCardsPreviously(Boolean hasAcceptedCreditCardsPreviously)
-
incorporationDate
public AssociatedIdentityEntity incorporationDate(IdentityEntityIncorporationDate incorporationDate)
-
getIncorporationDate
@Nullable public IdentityEntityIncorporationDate getIncorporationDate()
Get incorporationDate- Returns:
- incorporationDate
-
setIncorporationDate
public void setIncorporationDate(IdentityEntityIncorporationDate incorporationDate)
-
lastName
public AssociatedIdentityEntity 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 AssociatedIdentityEntity 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 AssociatedIdentityEntity 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 AssociatedIdentityEntity ownershipType(AssociatedIdentityEntity.OwnershipTypeEnum ownershipType)
-
getOwnershipType
@Nullable public AssociatedIdentityEntity.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(AssociatedIdentityEntity.OwnershipTypeEnum ownershipType)
-
personalAddress
public AssociatedIdentityEntity personalAddress(IdentityEntityPersonalAddress personalAddress)
-
getPersonalAddress
@Nullable public IdentityEntityPersonalAddress getPersonalAddress()
Get personalAddress- Returns:
- personalAddress
-
setPersonalAddress
public void setPersonalAddress(IdentityEntityPersonalAddress personalAddress)
-
phone
public AssociatedIdentityEntity 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 AssociatedIdentityEntity 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 AssociatedIdentityEntity 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 AssociatedIdentityEntity 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 AssociatedIdentityEntity 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 AssociatedIdentityEntity 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 AssociatedIdentityEntity 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 AssociatedIdentityEntity
-
fromJson
public static AssociatedIdentityEntity fromJson(String jsonString) throws IOException
Create an instance of AssociatedIdentityEntity given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of AssociatedIdentityEntity
- Throws:
IOException- if the JSON string is invalid with respect to AssociatedIdentityEntity
-
toJson
public String toJson()
Convert an instance of AssociatedIdentityEntity to an JSON string- Returns:
- JSON string
-
-