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
  • Field Details

  • Constructor Details

    • CreateAccountRequest

      public CreateAccountRequest()
  • Method Details

    • externalIdentifier

      public CreateAccountRequest externalIdentifier(@Nullable String externalIdentifier)
    • getExternalIdentifier

      @Nullable public String getExternalIdentifier()
      Unique external record identifier
      Returns:
      externalIdentifier
    • setExternalIdentifier

      public void setExternalIdentifier(@Nullable String externalIdentifier)
    • type

    • getType

      @Nonnull @NotNull public @NotNull CreateAccountRequest.TypeEnum getType()
      Type of account tells us what the account is capable of.
      Returns:
      type
    • setType

      public void setType(@Nonnull CreateAccountRequest.TypeEnum type)
    • ownerType

      public CreateAccountRequest ownerType(@Nonnull CreateAccountRequest.OwnerTypeEnum ownerType)
    • getOwnerType

      @Nonnull @NotNull public @NotNull CreateAccountRequest.OwnerTypeEnum getOwnerType()
      Type of account owner tells us whether ths account is managed by a company or an individual.
      Returns:
      ownerType
    • setOwnerType

      public void setOwnerType(@Nonnull CreateAccountRequest.OwnerTypeEnum ownerType)
    • name

      public CreateAccountRequest name(@Nonnull String name)
    • getName

      @Nonnull @NotNull @Size(min=1) public @NotNull @Size(min=1) String getName()
      Name of company / full name of person
      Returns:
      name
    • setName

      public void setName(@Nonnull String name)
    • legalName

      public CreateAccountRequest legalName(@Nullable String legalName)
    • getLegalName

      @Nullable public String getLegalName()
      Legal name of entity if other than name
      Returns:
      legalName
    • setLegalName

      public void setLegalName(@Nullable String legalName)
    • userIdentifier

      public CreateAccountRequest userIdentifier(@Nullable String userIdentifier)
    • getUserIdentifier

      @Nullable public String getUserIdentifier()
      The authenticated user that owns this account.
      Returns:
      userIdentifier
    • setUserIdentifier

      public void setUserIdentifier(@Nullable String userIdentifier)
    • accountEmail

      public CreateAccountRequest accountEmail(@Nonnull String accountEmail)
    • getAccountEmail

      @Nonnull @NotNull @Size(min=1) public @NotNull @Size(min=1) String getAccountEmail()
      Account email is where we will send KYC documents and other account specific mailings
      Returns:
      accountEmail
    • setAccountEmail

      public void setAccountEmail(@Nonnull String accountEmail)
    • accountPhoneNumber

      public CreateAccountRequest accountPhoneNumber(@Nullable String accountPhoneNumber)
    • getAccountPhoneNumber

      @Nullable public String getAccountPhoneNumber()
      Account phone number is mostly used for KYC purchases
      Returns:
      accountPhoneNumber
    • setAccountPhoneNumber

      public void setAccountPhoneNumber(@Nullable String accountPhoneNumber)
    • description

      public CreateAccountRequest description(@Nonnull String description)
    • getDescription

      @Nonnull @NotNull public @NotNull String getDescription()
      Short company / person description.
      Returns:
      description
    • setDescription

      public void setDescription(@Nonnull String description)
    • url

      public CreateAccountRequest url(@Nonnull String url)
    • getUrl

      @Nonnull @NotNull public @NotNull String getUrl()
      AffiliateAccountLightweight website. If private person with no personal website, link to main social network account.
      Returns:
      url
    • setUrl

      public void setUrl(@Nonnull String url)
    • currencyCode

      public CreateAccountRequest currencyCode(@Nonnull String currencyCode)
    • getCurrencyCode

      @Nonnull @NotNull @Size(min=3, max=3) public @NotNull @Size(min=3,max=3) String getCurrencyCode()
      Account's main currency.
      Returns:
      currencyCode
    • setCurrencyCode

      public void setCurrencyCode(@Nonnull String currencyCode)
    • address

      public CreateAccountRequest address(@Nullable UpsertCityOnlyAddressRequest address)
    • getAddress

      @Nullable @Valid public @Valid UpsertCityOnlyAddressRequest getAddress()
      Account address. Usually the business address
      Returns:
      address
    • setAddress

      public void setAddress(@Nullable UpsertCityOnlyAddressRequest address)
    • acquirers

      public CreateAccountRequest acquirers(@Nullable List<Object> acquirers)
    • addAcquirersItem

      public CreateAccountRequest addAcquirersItem(Object acquirersItem)
    • getAcquirers

      @Nullable public List<Object> getAcquirers()
      Get acquirers
      Returns:
      acquirers
    • setAcquirers

      public void setAcquirers(@Nullable List<Object> acquirers)
    • bankAccounts

      public CreateAccountRequest bankAccounts(@Nullable List<Object> bankAccounts)
    • addBankAccountsItem

      public CreateAccountRequest addBankAccountsItem(Object bankAccountsItem)
    • getBankAccounts

      @Nullable public List<Object> getBankAccounts()
      Get bankAccounts
      Returns:
      bankAccounts
    • setBankAccounts

      public void setBankAccounts(@Nullable List<Object> bankAccounts)
    • ownerTypeIdentifier

      public CreateAccountRequest ownerTypeIdentifier(@Nullable String ownerTypeIdentifier)
    • getOwnerTypeIdentifier

      @Nullable public String getOwnerTypeIdentifier()
      This is the tax identification number (TIN) for individuals and entity identification number (EIN) for companies.
      Returns:
      ownerTypeIdentifier
    • setOwnerTypeIdentifier

      public void setOwnerTypeIdentifier(@Nullable String ownerTypeIdentifier)
    • dob

      public CreateAccountRequest dob(@Nullable LocalDate dob)
    • getDob

      @Nullable @Valid public @Valid LocalDate getDob()
      This is the individual's date of birth.
      Returns:
      dob
    • setDob

      public void setDob(@Nullable LocalDate dob)
    • disbursementType

      public CreateAccountRequest disbursementType(@Nullable CreateAccountRequest.DisbursementTypeEnum disbursementType)
    • getDisbursementType

      @Nullable public CreateAccountRequest.DisbursementTypeEnum getDisbursementType()
      The method which the account holder wishes to be paid.
      Returns:
      disbursementType
    • setDisbursementType

      public void setDisbursementType(@Nullable CreateAccountRequest.DisbursementTypeEnum disbursementType)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object