Class CustomerPaymentMethod

java.lang.Object
io.trippay.sdk.payment.acquiring.model.CustomerPaymentMethod

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-04-12T17:32:35.929546062+07:00[Asia/Bangkok]") public class CustomerPaymentMethod extends Object
Existing customer payment methods
  • Field Details

  • Constructor Details

    • CustomerPaymentMethod

      public CustomerPaymentMethod()
  • Method Details

    • paymentMethodId

      public CustomerPaymentMethod paymentMethodId(String paymentMethodId)
    • getPaymentMethodId

      @Nonnull @NotNull public @NotNull String getPaymentMethodId()
      Unique payment method identifier
      Returns:
      paymentMethodId
    • setPaymentMethodId

      public void setPaymentMethodId(String paymentMethodId)
    • brand

      public CustomerPaymentMethod brand(String brand)
    • getBrand

      @Nonnull @NotNull public @NotNull String getBrand()
      Type of card
      Returns:
      brand
    • setBrand

      public void setBrand(String brand)
    • nameOnCard

      public CustomerPaymentMethod nameOnCard(String nameOnCard)
    • getNameOnCard

      @Nonnull @NotNull public @NotNull String getNameOnCard()
      Name on card
      Returns:
      nameOnCard
    • setNameOnCard

      public void setNameOnCard(String nameOnCard)
    • last4

      public CustomerPaymentMethod last4(String last4)
    • getLast4

      @Nonnull @NotNull public @NotNull String getLast4()
      Last 4 digits of card
      Returns:
      last4
    • setLast4

      public void setLast4(String last4)
    • expirationDate

      public CustomerPaymentMethod expirationDate(String expirationDate)
    • getExpirationDate

      @Nonnull @NotNull public @NotNull String getExpirationDate()
      Card expiration date
      Returns:
      expirationDate
    • setExpirationDate

      public void setExpirationDate(String expirationDate)
    • 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