Class UpsertBankAccountRequest

java.lang.Object
io.trippay.sdk.payment.model.UpsertBankAccountRequest

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-02-23T12:38:48.722044943+07:00[Asia/Bangkok]") public class UpsertBankAccountRequest extends Object
UpsertBankAccountRequest
  • Field Details

  • Constructor Details

    • UpsertBankAccountRequest

      public UpsertBankAccountRequest()
  • Method Details

    • countryCode

      public UpsertBankAccountRequest countryCode(String countryCode)
    • getCountryCode

      @Nonnull @NotNull public @NotNull String getCountryCode()
      Country of bank account
      Returns:
      countryCode
    • setCountryCode

      public void setCountryCode(String countryCode)
    • currencyCode

      public UpsertBankAccountRequest currencyCode(String currencyCode)
    • getCurrencyCode

      @Nonnull @NotNull public @NotNull String getCurrencyCode()
      Currency of bank account
      Returns:
      currencyCode
    • setCurrencyCode

      public void setCurrencyCode(String currencyCode)
    • accountHolderName

      public UpsertBankAccountRequest accountHolderName(String accountHolderName)
    • getAccountHolderName

      @Nonnull @NotNull public @NotNull String getAccountHolderName()
      Bank account holder name
      Returns:
      accountHolderName
    • setAccountHolderName

      public void setAccountHolderName(String accountHolderName)
    • swiftCode

      public UpsertBankAccountRequest swiftCode(String swiftCode)
    • getSwiftCode

      @Nullable public String getSwiftCode()
      Bank SWIFT code. Unique code identifier the bank and branch of the bank account.
      Returns:
      swiftCode
    • setSwiftCode

      public void setSwiftCode(String swiftCode)
    • routingNumber

      public UpsertBankAccountRequest routingNumber(String routingNumber)
    • getRoutingNumber

      @Nullable public String getRoutingNumber()
      Bank account routing number. This is sort code in HK and Zengin code in JP.
      Returns:
      routingNumber
    • setRoutingNumber

      public void setRoutingNumber(String routingNumber)
    • accountNumber

      public UpsertBankAccountRequest accountNumber(String accountNumber)
    • getAccountNumber

      @Nonnull @NotNull public @NotNull String getAccountNumber()
      Bank account number. In all EU countries, this would be the IBAN. In other countries, the routing number will apply as well.
      Returns:
      accountNumber
    • setAccountNumber

      public void setAccountNumber(String accountNumber)
    • primary

      public UpsertBankAccountRequest primary(Boolean primary)
    • getPrimary

      @Nonnull @NotNull public @NotNull Boolean getPrimary()
      One bank account always needs to be primary.
      Returns:
      primary
    • setPrimary

      public void setPrimary(Boolean primary)
    • 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