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