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-04-26T14:25:21.883820559+07:00[Asia/Bangkok]")
public class UpdateAccountRequest
extends Object
UpdateAccountRequest
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddress(UpsertAddressRequest address) currencyCode(String currencyCode) description(String description) boolean@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 person@NotNull StringgetUrl()Company website.inthashCode()voidsetAddress(UpsertAddressRequest address) voidsetCurrencyCode(String currencyCode) voidsetDescription(String description) voidsetLegalName(String legalName) voidvoidtoString()
-
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_CURRENCY_CODE
- See Also:
-
JSON_PROPERTY_ADDRESS
- 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
-
currencyCode
-
getCurrencyCode
Account's main currency.- Returns:
- currencyCode
-
setCurrencyCode
-
address
-
getAddress
Get address- Returns:
- address
-
setAddress
-
equals
-
hashCode
public int hashCode() -
toString
-