Package travel.wink.sdk.payment.model
Class Account
java.lang.Object
travel.wink.sdk.payment.model.Account
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-07-21T13:35:18.045709+07:00[Asia/Bangkok]")
public class Account
extends Object
Account holds KYC, bank account and contact information of an affiliate, supplier, payment or any type of entity that is to be a beneficiary of funds through the payment.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumType of account owner tells us whether ths account is managed by a company or an individual.static enumAccount status shows if it's approvedstatic 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 Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccountEmail(String accountEmail) accountOwnerIdentifier(UUID accountOwnerIdentifier) addAcquirersItem(Acquirer acquirersItem) addBankAccountsItem(BankAccount bankAccountsItem) addIntegrationsItem(Integration integrationsItem) bankAccounts(List<BankAccount> bankAccounts) createdDate(OffsetDateTime createdDate) currencyCode(String currencyCode) description(String description) dob(OffsetDateTime dob) boolean@NotNull StringAccount email is where we will send KYC documents and other account specific mailings@NotNull @Valid UUIDThe entity that created this account.Get acquirers@NotNull @Valid AddressGet address@Valid List<BankAccount>Get bankAccounts@Valid OffsetDateTimeDatetime this record was first created@NotNull @Size(min=3,max=3) StringAccount's main currency.@NotNull StringShort company / person description.@Valid OffsetDateTimegetDob()This is the individual's date of birth.getId()Document UUID@Valid List<Integration>Get integrations@Valid OffsetDateTimeDatetime this record was last updatedLegal name of entity if other than name@NotNull StringgetName()Name of company / full name of person@NotNull @Valid ContactgetOwner()Get owner@NotNull Account.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 Account.StatusEnumAccount status shows if it's approved@NotNull Account.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.Version property that shows how many times this document has been persisted.inthashCode()integrations(List<Integration> integrations) lastUpdate(OffsetDateTime lastUpdate) ownerType(Account.OwnerTypeEnum ownerType) ownerTypeIdentifier(String ownerTypeIdentifier) voidsetAccountEmail(String accountEmail) voidsetAccountOwnerIdentifier(UUID accountOwnerIdentifier) voidsetAcquirers(List<Acquirer> acquirers) voidsetAddress(Address address) voidsetBankAccounts(List<BankAccount> bankAccounts) voidsetCreatedDate(OffsetDateTime createdDate) voidsetCurrencyCode(String currencyCode) voidsetDescription(String description) voidsetDob(OffsetDateTime dob) voidvoidsetIntegrations(List<Integration> integrations) voidsetLastUpdate(OffsetDateTime lastUpdate) voidsetLegalName(String legalName) voidvoidvoidsetOwnerType(Account.OwnerTypeEnum ownerType) voidsetOwnerTypeIdentifier(String ownerTypeIdentifier) voidsetStatus(Account.StatusEnum status) voidsetType(Account.TypeEnum type) voidvoidsetUserIdentifier(UUID userIdentifier) voidsetVersion(Long version) status(Account.StatusEnum status) toString()type(Account.TypeEnum type) userIdentifier(UUID userIdentifier)
-
Field Details
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_CREATED_DATE
- See Also:
-
JSON_PROPERTY_LAST_UPDATE
- See Also:
-
JSON_PROPERTY_VERSION
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
JSON_PROPERTY_OWNER_TYPE
- See Also:
-
JSON_PROPERTY_ACCOUNT_OWNER_IDENTIFIER
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_LEGAL_NAME
- See Also:
-
JSON_PROPERTY_USER_IDENTIFIER
- See Also:
-
JSON_PROPERTY_OWNER
- See Also:
-
JSON_PROPERTY_ACCOUNT_EMAIL
- See Also:
-
JSON_PROPERTY_DESCRIPTION
- See Also:
-
JSON_PROPERTY_URL
- See Also:
-
JSON_PROPERTY_STATUS
- See Also:
-
JSON_PROPERTY_CURRENCY_CODE
- See Also:
-
JSON_PROPERTY_ADDRESS
- See Also:
-
JSON_PROPERTY_INTEGRATIONS
- 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:
-
-
Constructor Details
-
Account
public Account()
-
-
Method Details
-
id
-
getId
Document UUID- Returns:
- id
-
setId
-
createdDate
-
getCreatedDate
Datetime this record was first created- Returns:
- createdDate
-
setCreatedDate
-
lastUpdate
-
getLastUpdate
Datetime this record was last updated- Returns:
- lastUpdate
-
setLastUpdate
-
version
-
getVersion
Version property that shows how many times this document has been persisted. Document will not persist if the version property is less than current version property in the system. Result in an optimistic locking exception.- Returns:
- version
-
setVersion
-
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
-
accountOwnerIdentifier
-
getAccountOwnerIdentifier
The entity that created this account.- Returns:
- accountOwnerIdentifier
-
setAccountOwnerIdentifier
-
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
-
owner
-
getOwner
Get owner- Returns:
- owner
-
setOwner
-
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
-
status
-
getStatus
Account status shows if it's approved- Returns:
- status
-
setStatus
-
currencyCode
-
getCurrencyCode
Account's main currency.- Returns:
- currencyCode
-
setCurrencyCode
-
address
-
getAddress
Get address- Returns:
- address
-
setAddress
-
integrations
-
addIntegrationsItem
-
getIntegrations
Get integrations- Returns:
- integrations
-
setIntegrations
-
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
-
equals
-
hashCode
public int hashCode() -
toString
-