Class RequestedSessionCreateParams.PaymentMethodData.Card.Builder
java.lang.Object
com.stripe.param.delegatedcheckout.RequestedSessionCreateParams.PaymentMethodData.Card.Builder
- Enclosing class:
- RequestedSessionCreateParams.PaymentMethodData.Card
-
Constructor Summary
Constructors -
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 CVC of the card.setExpMonth(Long expMonth) Required. The expiration month of the card.setExpYear(Long expYear) Required. The expiration year of the card.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setCvc
The CVC of the card. -
setExpMonth
Required. The expiration month of the card. -
setExpYear
Required. The expiration year of the card. -
putExtraParam
public RequestedSessionCreateParams.PaymentMethodData.Card.Builder putExtraParam(String key, Object value) 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. SeeRequestedSessionCreateParams.PaymentMethodData.Card.extraParamsfor the field documentation. -
putAllExtraParam
public RequestedSessionCreateParams.PaymentMethodData.Card.Builder putAllExtraParam(Map<String, Object> map) 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. SeeRequestedSessionCreateParams.PaymentMethodData.Card.extraParamsfor the field documentation. -
setNumber
-