- Enclosing class:
public static class PaymentMethodCreateParams.CardDetails extends Object
The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers).
Nested Class SummaryModifier and TypeClassDescription
Method SummaryModifier and TypeMethodDescription
getCvc()The card's CVC.Two-digit number representing the card's expiration month.Four-digit number representing the card's expiration year.Map of extra parameters for custom features not available in this client library.The card number, as a string without any separators.
builderpublic static PaymentMethodCreateParams.CardDetails.Builder builder()
getCvcpublic String getCvc()The card's CVC. It is highly recommended to always include this value.
getExpMonthpublic Long getExpMonth()Two-digit number representing the card's expiration month.
getExpYearpublic Long getExpYear()Four-digit number representing the card's expiration year.
getExtraParamsMap of extra parameters for custom features not available in this client library. The content in this map is not serialized under this field's
@SerializedNamevalue. 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.
getNumberpublic String getNumber()The card number, as a string without any separators.