Package model
Class CreateAssociatedIdentityRequestEntity
- java.lang.Object
-
- model.CreateAssociatedIdentityRequestEntity
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class CreateAssociatedIdentityRequestEntity extends Object
Underwriting data that's required to verify the `Identity`.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCreateAssociatedIdentityRequestEntity.BusinessTypeEnumInclude the value that best applies to the merchant.static classCreateAssociatedIdentityRequestEntity.CustomTypeAdapterFactory
-
Field Summary
-
Constructor Summary
Constructors Constructor Description CreateAssociatedIdentityRequestEntity()
-
Method Summary
-
-
-
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
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_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_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
-
annualCardVolume
public CreateAssociatedIdentityRequestEntity annualCardVolume(Long annualCardVolume)
-
getAnnualCardVolume
@Nullable public Long getAnnualCardVolume()
The annual credit card sales (in cents) expected to be processed (max 19 characters).- Returns:
- annualCardVolume
-
setAnnualCardVolume
public void setAnnualCardVolume(Long annualCardVolume)
-
businessAddress
public CreateAssociatedIdentityRequestEntity businessAddress(CreateAssociatedIdentityRequestEntityBusinessAddress businessAddress)
-
getBusinessAddress
@Nullable public CreateAssociatedIdentityRequestEntityBusinessAddress getBusinessAddress()
Get businessAddress- Returns:
- businessAddress
-
setBusinessAddress
public void setBusinessAddress(CreateAssociatedIdentityRequestEntityBusinessAddress businessAddress)
-
businessName
public CreateAssociatedIdentityRequestEntity businessName(String businessName)
-
getBusinessName
@Nullable public String getBusinessName()
Abbreviated names of the business. If there are no abbreviated name, leave this field blank.- Returns:
- businessName
-
setBusinessName
public void setBusinessName(String businessName)
-
businessPhone
public CreateAssociatedIdentityRequestEntity 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)
-
businessTaxId
public CreateAssociatedIdentityRequestEntity businessTaxId(String businessTaxId)
-
getBusinessTaxId
@Nullable public String getBusinessTaxId()
Details if the `business_tax_id` was provided.- Returns:
- businessTaxId
-
setBusinessTaxId
public void setBusinessTaxId(String businessTaxId)
-
businessType
public CreateAssociatedIdentityRequestEntity businessType(CreateAssociatedIdentityRequestEntity.BusinessTypeEnum businessType)
-
getBusinessType
@Nullable public CreateAssociatedIdentityRequestEntity.BusinessTypeEnum getBusinessType()
Include the value that best applies to the merchant.- Returns:
- businessType
-
setBusinessType
public void setBusinessType(CreateAssociatedIdentityRequestEntity.BusinessTypeEnum businessType)
-
defaultStatementDescriptor
public CreateAssociatedIdentityRequestEntity 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)
-
dob
public CreateAssociatedIdentityRequestEntity dob(CreateAssociatedIdentityRequestEntityDob dob)
-
getDob
@Nullable public CreateAssociatedIdentityRequestEntityDob getDob()
Get dob- Returns:
- dob
-
setDob
public void setDob(CreateAssociatedIdentityRequestEntityDob dob)
-
doingBusinessAs
public CreateAssociatedIdentityRequestEntity 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 CreateAssociatedIdentityRequestEntity 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 CreateAssociatedIdentityRequestEntity firstName(String firstName)
-
getFirstName
@Nullable public String getFirstName()
The legal first name of the control owner (max 20 characters).- Returns:
- firstName
-
setFirstName
public void setFirstName(String firstName)
-
hasAcceptedCreditCardsPreviously
public CreateAssociatedIdentityRequestEntity hasAcceptedCreditCardsPreviously(Boolean hasAcceptedCreditCardsPreviously)
-
getHasAcceptedCreditCardsPreviously
@Nullable public Boolean getHasAcceptedCreditCardsPreviously()
Defaults to **false** if not passed.- Returns:
- hasAcceptedCreditCardsPreviously
-
setHasAcceptedCreditCardsPreviously
public void setHasAcceptedCreditCardsPreviously(Boolean hasAcceptedCreditCardsPreviously)
-
incorporationDate
public CreateAssociatedIdentityRequestEntity incorporationDate(CreateAssociatedIdentityRequestEntityIncorporationDate incorporationDate)
-
getIncorporationDate
@Nullable public CreateAssociatedIdentityRequestEntityIncorporationDate getIncorporationDate()
Get incorporationDate- Returns:
- incorporationDate
-
setIncorporationDate
public void setIncorporationDate(CreateAssociatedIdentityRequestEntityIncorporationDate incorporationDate)
-
lastName
public CreateAssociatedIdentityRequestEntity lastName(String lastName)
-
getLastName
@Nullable public String getLastName()
The `Identity` owner's legal last name.- Returns:
- lastName
-
setLastName
public void setLastName(String lastName)
-
maxTransactionAmount
public CreateAssociatedIdentityRequestEntity 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 CreateAssociatedIdentityRequestEntity 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 CreateAssociatedIdentityRequestEntity ownershipType(String ownershipType)
-
getOwnershipType
@Nullable public String 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(String ownershipType)
-
personalAddress
public CreateAssociatedIdentityRequestEntity personalAddress(CreateAssociatedIdentityRequestEntityPersonalAddress personalAddress)
-
getPersonalAddress
@Nullable public CreateAssociatedIdentityRequestEntityPersonalAddress getPersonalAddress()
Get personalAddress- Returns:
- personalAddress
-
setPersonalAddress
public void setPersonalAddress(CreateAssociatedIdentityRequestEntityPersonalAddress personalAddress)
-
phone
public CreateAssociatedIdentityRequestEntity 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 CreateAssociatedIdentityRequestEntity 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)
-
taxId
public CreateAssociatedIdentityRequestEntity taxId(String taxId)
-
setTaxId
public void setTaxId(String taxId)
-
title
public CreateAssociatedIdentityRequestEntity 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 CreateAssociatedIdentityRequestEntity url(String url)
-
getUrl
@Nullable public String getUrl()
The URL of the `Identity` owner's public website.- 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 CreateAssociatedIdentityRequestEntity
-
fromJson
public static CreateAssociatedIdentityRequestEntity fromJson(String jsonString) throws IOException
Create an instance of CreateAssociatedIdentityRequestEntity given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CreateAssociatedIdentityRequestEntity
- Throws:
IOException- if the JSON string is invalid with respect to CreateAssociatedIdentityRequestEntity
-
toJson
public String toJson()
Convert an instance of CreateAssociatedIdentityRequestEntity to an JSON string- Returns:
- JSON string
-
-