Package com.stripe.param
Class PaymentMethodCreateParams.CardDetails.Builder
java.lang.Object
com.stripe.param.PaymentMethodCreateParams.CardDetails.Builder
- Enclosing class:
- PaymentMethodCreateParams.CardDetails
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Finalize and obtain parameter instance from this builder.putAllExtraParam
(Map<String, Object> map) Add all map key/value pairs to `extraParams` map.putExtraParam
(String key, Object value) Add a key/value pair to `extraParams` map.The card's CVC.setExpMonth
(Long expMonth) Two-digit number representing the card's expiration month.setExpYear
(Long expYear) Four-digit number representing the card's expiration year.Contains information about card networks used to process the payment.The card number, as a string without any separators.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setCvc
The card's CVC. It is highly recommended to always include this value. -
setExpMonth
Two-digit number representing the card's expiration month. -
setExpYear
Four-digit number representing the card's expiration year. -
putExtraParam
Add a key/value pair to `extraParams` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeePaymentMethodCreateParams.CardDetails.extraParams
for the field documentation. -
putAllExtraParam
Add all map key/value pairs to `extraParams` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeePaymentMethodCreateParams.CardDetails.extraParams
for the field documentation. -
setNetworks
public PaymentMethodCreateParams.CardDetails.Builder setNetworks(PaymentMethodCreateParams.CardDetails.Networks networks) Contains information about card networks used to process the payment. -
setNumber
The card number, as a string without any separators.
-