- 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)
Nested Class SummaryModifier and TypeClassDescription
Method SummaryModifier and TypeMethodDescription
getCvc()The card's CVC.Required. Two-digit number representing the card's expiration month.Required. Four-digit number representing the card's expiration year.Map of extra parameters for custom features not available in this client library.Required. 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()Required. Two-digit number representing the card's expiration month.
getExpYearpublic Long getExpYear()Required. 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()Required. The card number, as a string without any separators.