Class PaymentMethodCreateParams.CardDetails

  • Enclosing class:

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

      • getCvc

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

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

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

        public java.util.Map<java.lang.String,​java.lang.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.
      • getNumber

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