Package com.stripe.param
Class PaymentMethodCreateParams.CardDetails
- java.lang.Object
-
- com.stripe.param.PaymentMethodCreateParams.CardDetails
-
- Enclosing class:
- PaymentMethodCreateParams
public static class PaymentMethodCreateParams.CardDetails extends java.lang.Object
State, county, province, or region.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PaymentMethodCreateParams.CardDetails.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PaymentMethodCreateParams.CardDetails.Builder
builder()
java.lang.String
getCvc()
The card's CVC.java.lang.Long
getExpMonth()
Two-digit number representing the card's expiration month.java.lang.Long
getExpYear()
Four-digit number representing the card's expiration year.java.util.Map<java.lang.String,java.lang.Object>
getExtraParams()
Map of extra parameters for custom features not available in this client library.java.lang.String
getNumber()
The card number, as a string without any separators.
-
-
-
Method Detail
-
builder
public static PaymentMethodCreateParams.CardDetails.Builder builder()
-
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.
-
-