Package com.stripe.param
Class CustomerSessionCreateParams.Components.PaymentElement.Builder
java.lang.Object
com.stripe.param.CustomerSessionCreateParams.Components.PaymentElement.Builder
- Enclosing class:
- CustomerSessionCreateParams.Components.PaymentElement
-
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.setEnabled
(Boolean enabled) Required. Whether the Payment Element is enabled.This hash defines whether the Payment Element supports certain features.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setEnabled
Required. Whether the Payment Element is enabled. -
putExtraParam
public CustomerSessionCreateParams.Components.PaymentElement.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. SeeCustomerSessionCreateParams.Components.PaymentElement.extraParams
for the field documentation. -
putAllExtraParam
public CustomerSessionCreateParams.Components.PaymentElement.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. SeeCustomerSessionCreateParams.Components.PaymentElement.extraParams
for the field documentation. -
setFeatures
public CustomerSessionCreateParams.Components.PaymentElement.Builder setFeatures(CustomerSessionCreateParams.Components.PaymentElement.Features features) This hash defines whether the Payment Element supports certain features.
-