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-05-28T12:57:53.332531+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 String -
Constructor Summary
ConstructorsConstructorDescriptionAccount()Account(String id, OffsetDateTime createdDate, OffsetDateTime lastUpdate, Long version, Account.StatusEnum status) -
Method Summary
Modifier and TypeMethodDescriptionaccountEmail(String accountEmail) accountOwnerIdentifier(String accountOwnerIdentifier) addAcquirersItem(Acquirer acquirersItem) addBankAccountsItem(BankAccount bankAccountsItem) addIntegrationsItem(Integration integrationsItem) bankAccounts(List<BankAccount> bankAccounts) currencyCode(String currencyCode) description(String description) boolean@NotNull StringAccount email is where we will send KYC documents and other account specific mailings@NotNull StringThe 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.getId()Document UUID@Valid List<Integration>Get integrations@Valid OffsetDateTimeDatetime this record was last updated@NotNull StringgetName()Name of company / full name of person@NotNull Account.OwnerTypeEnumType of account owner tells us whether ths account is managed by a company or an individual.Account 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 StringThe authenticated user that owns this account.Version property that shows how many times this document has been persisted.inthashCode()integrations(List<Integration> integrations) ownerType(Account.OwnerTypeEnum ownerType) voidsetAccountEmail(String accountEmail) voidsetAccountOwnerIdentifier(String accountOwnerIdentifier) voidsetAcquirers(List<Acquirer> acquirers) voidsetAddress(Address address) voidsetBankAccounts(List<BankAccount> bankAccounts) voidsetCurrencyCode(String currencyCode) voidsetDescription(String description) voidsetIntegrations(List<Integration> integrations) voidvoidsetOwnerType(Account.OwnerTypeEnum ownerType) voidsetType(Account.TypeEnum type) voidvoidsetUserIdentifier(String userIdentifier) toString()type(Account.TypeEnum type) userIdentifier(String 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_USER_IDENTIFIER
- 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:
-
-
Constructor Details
-
Account
public Account() -
Account
public Account(String id, OffsetDateTime createdDate, OffsetDateTime lastUpdate, Long version, Account.StatusEnum status)
-
-
Method Details
-
getId
Document UUID- Returns:
- id
-
getCreatedDate
Datetime this record was first created- Returns:
- createdDate
-
getLastUpdate
Datetime this record was last updated- Returns:
- lastUpdate
-
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
-
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
-
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
-
getStatus
Account status shows if it's approved- Returns:
- status
-
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
-
equals
-
hashCode
public int hashCode() -
toString
-