Package io.trippay.sdk.payment.model
Class CreateAccountRequest
java.lang.Object
io.trippay.sdk.payment.model.CreateAccountRequest
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-07-31T08:59:00.067927603+07:00[Asia/Bangkok]")
public class CreateAccountRequest
extends Object
CreateAccountRequest
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe method which the account holder wishes to be paid.static enumType of account owner tells us whether ths account is managed by a company or an individual.static enumType of account tells us what the account is capable of. -
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 String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccountEmail(String accountEmail) addAcquirersItem(Acquirer acquirersItem) addBankAccountsItem(UpsertBankAccountRequest bankAccountsItem) address(UpsertCityOnlyAddressRequest address) bankAccounts(List<UpsertBankAccountRequest> bankAccounts) currencyCode(String currencyCode) description(String description) disbursementType(CreateAccountRequest.DisbursementTypeEnum disbursementType) booleanexternalIdentifier(String externalIdentifier) @NotNull StringAccount email is where we will send KYC documents and other account specific mailingsGet acquirers@Valid UpsertCityOnlyAddressRequestGet address@Valid List<UpsertBankAccountRequest>Get bankAccounts@NotNull @Size(min=3,max=3) StringAccount's main currency.@NotNull StringShort company / person description.The method which the account holder wishes to be paid.@Valid LocalDategetDob()This is the individual's date of birth.Unique external record identifierLegal name of entity if other than name@NotNull StringgetName()Name of company / full name of person@NotNull CreateAccountRequest.OwnerTypeEnumType of account owner tells us whether ths account is managed by a company or an individual.This is the tax identification number (TIN) for individuals and entity identification number (EIN) for companies.@NotNull CreateAccountRequest.TypeEnumgetType()Type of account tells us what the account is capable of.@NotNull StringgetUrl()Company website.@NotNull @Valid UUIDThe authenticated user that owns this account.inthashCode()ownerType(CreateAccountRequest.OwnerTypeEnum ownerType) ownerTypeIdentifier(String ownerTypeIdentifier) voidsetAccountEmail(String accountEmail) voidsetAcquirers(List<Acquirer> acquirers) voidsetAddress(UpsertCityOnlyAddressRequest address) voidsetBankAccounts(List<UpsertBankAccountRequest> bankAccounts) voidsetCurrencyCode(String currencyCode) voidsetDescription(String description) voidsetDisbursementType(CreateAccountRequest.DisbursementTypeEnum disbursementType) voidvoidsetExternalIdentifier(String externalIdentifier) voidsetLegalName(String legalName) voidvoidsetOwnerType(CreateAccountRequest.OwnerTypeEnum ownerType) voidsetOwnerTypeIdentifier(String ownerTypeIdentifier) voidvoidvoidsetUserIdentifier(UUID userIdentifier) toString()userIdentifier(UUID userIdentifier)
-
Field Details
-
JSON_PROPERTY_EXTERNAL_IDENTIFIER
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
JSON_PROPERTY_OWNER_TYPE
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_LEGAL_NAME
- See Also:
-
JSON_PROPERTY_USER_IDENTIFIER
- See Also:
-
JSON_PROPERTY_ACCOUNT_EMAIL
- See Also:
-
JSON_PROPERTY_DESCRIPTION
- See Also:
-
JSON_PROPERTY_URL
- See Also:
-
JSON_PROPERTY_CURRENCY_CODE
- See Also:
-
JSON_PROPERTY_ADDRESS
- See Also:
-
JSON_PROPERTY_ACQUIRERS
- See Also:
-
JSON_PROPERTY_BANK_ACCOUNTS
- See Also:
-
JSON_PROPERTY_OWNER_TYPE_IDENTIFIER
- See Also:
-
JSON_PROPERTY_DOB
- See Also:
-
JSON_PROPERTY_DISBURSEMENT_TYPE
- See Also:
-
-
Constructor Details
-
CreateAccountRequest
public CreateAccountRequest()
-
-
Method Details
-
externalIdentifier
-
getExternalIdentifier
Unique external record identifier- Returns:
- externalIdentifier
-
setExternalIdentifier
-
type
-
getType
Type of account tells us what the account is capable of.- Returns:
- type
-
setType
-
ownerType
-
getOwnerType
Type of account owner tells us whether ths account is managed by a company or an individual.- Returns:
- ownerType
-
setOwnerType
-
name
-
getName
Name of company / full name of person- Returns:
- name
-
setName
-
legalName
-
getLegalName
Legal name of entity if other than name- Returns:
- legalName
-
setLegalName
-
userIdentifier
-
getUserIdentifier
The authenticated user that owns this account.- Returns:
- userIdentifier
-
setUserIdentifier
-
accountEmail
-
getAccountEmail
Account email is where we will send KYC documents and other account specific mailings- Returns:
- accountEmail
-
setAccountEmail
-
description
-
getDescription
Short company / person description.- Returns:
- description
-
setDescription
-
url
-
getUrl
Company website. If private person with no personal website, link to main social network account.- Returns:
- url
-
setUrl
-
currencyCode
-
getCurrencyCode
Account's main currency.- Returns:
- currencyCode
-
setCurrencyCode
-
address
-
getAddress
Get address- Returns:
- address
-
setAddress
-
acquirers
-
addAcquirersItem
-
getAcquirers
Get acquirers- Returns:
- acquirers
-
setAcquirers
-
bankAccounts
-
addBankAccountsItem
-
getBankAccounts
Get bankAccounts- Returns:
- bankAccounts
-
setBankAccounts
-
ownerTypeIdentifier
-
getOwnerTypeIdentifier
This is the tax identification number (TIN) for individuals and entity identification number (EIN) for companies.- Returns:
- ownerTypeIdentifier
-
setOwnerTypeIdentifier
-
dob
-
getDob
This is the individual's date of birth.- Returns:
- dob
-
setDob
-
disbursementType
public CreateAccountRequest disbursementType(CreateAccountRequest.DisbursementTypeEnum disbursementType) -
getDisbursementType
The method which the account holder wishes to be paid.- Returns:
- disbursementType
-
setDisbursementType
-
equals
-
hashCode
public int hashCode() -
toString
-