Package io.trippay.sdk.payment.model
Class UpdateAccountRequest
java.lang.Object
io.trippay.sdk.payment.model.UpdateAccountRequest
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-07-31T08:59:00.067927603+07:00[Asia/Bangkok]")
public class UpdateAccountRequest
extends Object
UpdateAccountRequest
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe preferred method which the account holder wishes to be paid. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccountEmail(String accountEmail) address(UpsertAddressRequest address) currencyCode(String currencyCode) description(String description) boolean@NotNull StringCompany website.@NotNull @Valid UpsertAddressRequestGet address@NotNull @Size(min=3,max=3) StringAccount's main currency.@NotNull StringShort company / person description.Legal name of entity if other than name@NotNull StringgetName()Name of company / full name of personThe preferred method which the account holder wishes to be paid.@NotNull StringgetUrl()Company website.inthashCode()preferredDisbursementType(UpdateAccountRequest.PreferredDisbursementTypeEnum preferredDisbursementType) voidsetAccountEmail(String accountEmail) voidsetAddress(UpsertAddressRequest address) voidsetCurrencyCode(String currencyCode) voidsetDescription(String description) voidsetLegalName(String legalName) voidvoidsetPreferredDisbursementType(UpdateAccountRequest.PreferredDisbursementTypeEnum preferredDisbursementType) voidtoString()
-
Field Details
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_LEGAL_NAME
- See Also:
-
JSON_PROPERTY_DESCRIPTION
- See Also:
-
JSON_PROPERTY_URL
- See Also:
-
JSON_PROPERTY_ACCOUNT_EMAIL
- See Also:
-
JSON_PROPERTY_CURRENCY_CODE
- See Also:
-
JSON_PROPERTY_ADDRESS
- See Also:
-
JSON_PROPERTY_PREFERRED_DISBURSEMENT_TYPE
- See Also:
-
-
Constructor Details
-
UpdateAccountRequest
public UpdateAccountRequest()
-
-
Method Details
-
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
-
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
-
accountEmail
-
getAccountEmail
Company website. If private person with no personal website, link to main social network account.- Returns:
- accountEmail
-
setAccountEmail
-
currencyCode
-
getCurrencyCode
Account's main currency.- Returns:
- currencyCode
-
setCurrencyCode
-
address
-
getAddress
Get address- Returns:
- address
-
setAddress
-
preferredDisbursementType
public UpdateAccountRequest preferredDisbursementType(UpdateAccountRequest.PreferredDisbursementTypeEnum preferredDisbursementType) -
getPreferredDisbursementType
The preferred method which the account holder wishes to be paid. This will play a role if we choose to automate the payout flow.- Returns:
- preferredDisbursementType
-
setPreferredDisbursementType
public void setPreferredDisbursementType(UpdateAccountRequest.PreferredDisbursementTypeEnum preferredDisbursementType) -
equals
-
hashCode
public int hashCode() -
toString
-