Class CreateAccountRequest
java.lang.Object
io.trippay.sdk.payment.model.CreateAccountRequest
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-06-26T20:12:05.578754358+07:00[Asia/Bangkok]",
comments="Generator version: 7.13.0")
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 Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccountEmail(String accountEmail) accountPhoneNumber(String accountPhoneNumber) addAcquirersItem(Object acquirersItem) addBankAccountsItem(Object bankAccountsItem) address(UpsertCityOnlyAddressRequest address) bankAccounts(List<Object> bankAccounts) currencyCode(String currencyCode) description(String description) disbursementType(CreateAccountRequest.DisbursementTypeEnum disbursementType) booleanexternalIdentifier(String externalIdentifier) @NotNull @Size(min=1) StringAccount email is where we will send KYC documents and other account specific mailingsAccount phone number is mostly used for KYC purchasesGet acquirers@Valid UpsertCityOnlyAddressRequestAccount address.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 @Size(min=1) 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()AffiliateAccountLightweight website.The authenticated user that owns this account.inthashCode()ownerType(CreateAccountRequest.OwnerTypeEnum ownerType) ownerTypeIdentifier(String ownerTypeIdentifier) voidsetAccountEmail(String accountEmail) voidsetAccountPhoneNumber(String accountPhoneNumber) voidsetAcquirers(List<Object> acquirers) voidsetAddress(UpsertCityOnlyAddressRequest address) voidsetBankAccounts(List<Object> 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(String userIdentifier) toString()userIdentifier(String 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_ACCOUNT_PHONE_NUMBER
- 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
-
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
-
accountPhoneNumber
-
getAccountPhoneNumber
Account phone number is mostly used for KYC purchases- Returns:
- accountPhoneNumber
-
setAccountPhoneNumber
-
description
-
getDescription
Short company / person description.- Returns:
- description
-
setDescription
-
url
-
getUrl
AffiliateAccountLightweight 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
Account address. Usually the business address- Returns:
- address
-
setAddress
-
acquirers
-
addAcquirersItem
-
getAcquirers
-
setAcquirers
-
bankAccounts
-
addBankAccountsItem
-
getBankAccounts
-
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(@Nullable CreateAccountRequest.DisbursementTypeEnum disbursementType) -
getDisbursementType
The method which the account holder wishes to be paid.- Returns:
- disbursementType
-
setDisbursementType
public void setDisbursementType(@Nullable CreateAccountRequest.DisbursementTypeEnum disbursementType) -
equals
-
hashCode
-
toString
-