Class RequestedSessionUpdateParams.PaymentMethodData.Card.Builder
java.lang.Object
com.stripe.param.delegatedcheckout.RequestedSessionUpdateParams.PaymentMethodData.Card.Builder
- Enclosing class:
- RequestedSessionUpdateParams.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.setCvc(EmptyParam cvc) The CVC of the card.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.setNumber(EmptyParam number) Required. The number of the card.Required. The number 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. -
setCvc
The CVC of the card. -
setExpMonth
Required. The expiration month of the card. -
setExpYear
Required. The expiration year of the card. -
putExtraParam
public RequestedSessionUpdateParams.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. SeeRequestedSessionUpdateParams.PaymentMethodData.Card.extraParamsfor the field documentation. -
putAllExtraParam
public RequestedSessionUpdateParams.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. SeeRequestedSessionUpdateParams.PaymentMethodData.Card.extraParamsfor the field documentation. -
setNumber
Required. The number of the card. -
setNumber
Required. The number of the card.
-