Class PaymentMethodCreateParams.CardDetails

Enclosing class:

public static class PaymentMethodCreateParams.CardDetails extends Object
Required. The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers)
  • Method Details

    • builder

    • getCvc

      public String getCvc()
      The card's CVC. It is highly recommended to always include this value.
    • getExpMonth

      public Long getExpMonth()
      Two-digit number representing the card's expiration month.
    • getExpYear

      public Long getExpYear()
      Four-digit number representing the card's expiration year.
    • getExtraParams

      public Map<String,Object> getExtraParams()
      Map of extra parameters for custom features not available in this client library. The content in this map is not serialized under this field's @SerializedName value. Instead, each key/value pair is serialized as if the key is a root-level field (serialized) name in this param object. Effectively, this map is flattened to its parent instance.
    • getNetworks

      Contains information about card networks used to process the payment.
    • getNumber

      public String getNumber()
      The card number, as a string without any separators.