Package com.stripe.param
Class TokenCreateParams.Card
java.lang.Object
com.stripe.param.TokenCreateParams.Card
- Enclosing class:
- TokenCreateParams
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
City / District / Suburb / Town / Village.Billing address country, if provided.Address line 1 (Street address / PO Box / Company name).Address line 2 (Apartment / Suite / Unit / Building).State / County / Province / Region.ZIP or postal code.Required in order to add the card to an account; in all other cases, this parameter is not used.getCvc()
Card security code.Required. Two-digit number representing the card's expiration month.Required. Two- or four-digit number representing the card's expiration year.Map of extra parameters for custom features not available in this client library.getName()
Cardholder's full name.Required. The card number, as a string without any separators.
-
Method Details
-
builder
-
getAddressCity
City / District / Suburb / Town / Village. -
getAddressCountry
Billing address country, if provided. -
getAddressLine1
Address line 1 (Street address / PO Box / Company name). -
getAddressLine2
Address line 2 (Apartment / Suite / Unit / Building). -
getAddressState
State / County / Province / Region. -
getAddressZip
ZIP or postal code. -
getCurrency
Required in order to add the card to an account; in all other cases, this parameter is not used. When added to an account, the card (which must be a debit card) can be used as a transfer destination for funds in this currency. -
getCvc
Card security code. Highly recommended to always include this value. -
getExpMonth
Required. Two-digit number representing the card's expiration month. -
getExpYear
Required. Two- or four-digit number representing the card's expiration year. -
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. -
getName
Cardholder's full name. -
getNumber
Required. The card number, as a string without any separators.
-