Package com.stripe.param.billingportal
Class ConfigurationUpdateParams.Features.PaymentMethodUpdate.Builder
java.lang.Object
com.stripe.param.billingportal.ConfigurationUpdateParams.Features.PaymentMethodUpdate.Builder
- Enclosing class:
- ConfigurationUpdateParams.Features.PaymentMethodUpdate
-
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 feature is enabled.setPaymentMethodConfiguration(EmptyParam paymentMethodConfiguration) setPaymentMethodConfiguration(String paymentMethodConfiguration) The Payment Method Configuration to use for this portal session.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setEnabled
Required. Whether the feature is enabled. -
putExtraParam
public ConfigurationUpdateParams.Features.PaymentMethodUpdate.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. SeeConfigurationUpdateParams.Features.PaymentMethodUpdate.extraParamsfor the field documentation. -
putAllExtraParam
public ConfigurationUpdateParams.Features.PaymentMethodUpdate.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. SeeConfigurationUpdateParams.Features.PaymentMethodUpdate.extraParamsfor the field documentation. -
setPaymentMethodConfiguration
public ConfigurationUpdateParams.Features.PaymentMethodUpdate.Builder setPaymentMethodConfiguration(String paymentMethodConfiguration) The Payment Method Configuration to use for this portal session. When specified, customers will be able to update their payment method to one of the options specified by the payment method configuration. If not set or set to an empty string, the default payment method configuration is used. -
setPaymentMethodConfiguration
public ConfigurationUpdateParams.Features.PaymentMethodUpdate.Builder setPaymentMethodConfiguration(EmptyParam paymentMethodConfiguration)
-