Package com.stripe.param
Class CustomerSessionCreateParams.Components.Builder
java.lang.Object
com.stripe.param.CustomerSessionCreateParams.Components.Builder
- Enclosing class:
- CustomerSessionCreateParams.Components
-
Constructor Summary
-
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.Configuration for buy button.Configuration for the Payment Element.Configuration for the pricing table.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setBuyButton
public CustomerSessionCreateParams.Components.Builder setBuyButton(CustomerSessionCreateParams.Components.BuyButton buyButton) Configuration for buy button. -
putExtraParam
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. SeeCustomerSessionCreateParams.Components.extraParams
for the field documentation. -
putAllExtraParam
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. SeeCustomerSessionCreateParams.Components.extraParams
for the field documentation. -
setPaymentElement
public CustomerSessionCreateParams.Components.Builder setPaymentElement(CustomerSessionCreateParams.Components.PaymentElement paymentElement) Configuration for the Payment Element. -
setPricingTable
public CustomerSessionCreateParams.Components.Builder setPricingTable(CustomerSessionCreateParams.Components.PricingTable pricingTable) Configuration for the pricing table.
-