Class RequestedSessionConfirmParams.PaymentMethodData.Builder
java.lang.Object
com.stripe.param.delegatedcheckout.RequestedSessionConfirmParams.PaymentMethodData.Builder
- Enclosing class:
- RequestedSessionConfirmParams.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 RequestedSessionConfirmParams.PaymentMethodData.Builder setBillingDetails(RequestedSessionConfirmParams.PaymentMethodData.BillingDetails billingDetails) The billing details for the payment method data. -
setCard
public RequestedSessionConfirmParams.PaymentMethodData.Builder setCard(RequestedSessionConfirmParams.PaymentMethodData.Card card) The card for the payment method data. -
putExtraParam
public RequestedSessionConfirmParams.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. SeeRequestedSessionConfirmParams.PaymentMethodData.extraParamsfor the field documentation. -
putAllExtraParam
public RequestedSessionConfirmParams.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. SeeRequestedSessionConfirmParams.PaymentMethodData.extraParamsfor the field documentation. -
setType
public RequestedSessionConfirmParams.PaymentMethodData.Builder setType(RequestedSessionConfirmParams.PaymentMethodData.Type type) The type of the payment method data.
-