Class BankAccount

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-01-28T20:46:35.552782769+07:00[Asia/Bangkok]") public class BankAccount extends Object
Accounts use bank accounts to get paid.
  • Field Details

  • Constructor Details

    • BankAccount

      public BankAccount()
  • Method Details

    • identifier

      public BankAccount identifier(UUID identifier)
    • getIdentifier

      @Nonnull @NotNull @Valid public @NotNull @Valid UUID getIdentifier()
      Unique bank account identifier
      Returns:
      identifier
    • setIdentifier

      public void setIdentifier(UUID identifier)
    • countryCode

      public BankAccount countryCode(String countryCode)
    • getCountryCode

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

      public void setCountryCode(String countryCode)
    • currencyCode

      public BankAccount currencyCode(String currencyCode)
    • getCurrencyCode

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

      public void setCurrencyCode(String currencyCode)
    • accountHolderName

      public BankAccount accountHolderName(String accountHolderName)
    • getAccountHolderName

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

      public void setAccountHolderName(String accountHolderName)
    • swiftCode

      public BankAccount 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 BankAccount 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 BankAccount 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 BankAccount 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