Class RequestedSessionUpdateParams.PaymentMethodData.Builder
java.lang.Object
com.stripe.param.delegatedcheckout.RequestedSessionUpdateParams.PaymentMethodData.Builder
- Enclosing class:
- RequestedSessionUpdateParams.PaymentMethodData
-
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 billing details for the payment method data.The card for the payment method data.The type of the payment method data.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setBillingDetails
public RequestedSessionUpdateParams.PaymentMethodData.Builder setBillingDetails(RequestedSessionUpdateParams.PaymentMethodData.BillingDetails billingDetails) The billing details for the payment method data. -
setCard
public RequestedSessionUpdateParams.PaymentMethodData.Builder setCard(RequestedSessionUpdateParams.PaymentMethodData.Card card) The card for the payment method data. -
putExtraParam
public RequestedSessionUpdateParams.PaymentMethodData.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.extraParamsfor the field documentation. -
putAllExtraParam
public RequestedSessionUpdateParams.PaymentMethodData.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.extraParamsfor the field documentation. -
setType
public RequestedSessionUpdateParams.PaymentMethodData.Builder setType(RequestedSessionUpdateParams.PaymentMethodData.Type type) The type of the payment method data.
-