Package com.stripe.model.billingportal
Class Configuration.Features.PaymentMethodUpdate
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.billingportal.Configuration.Features.PaymentMethodUpdate
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- Configuration.Features
For more details about PaymentMethodUpdate, please refer to the API Reference.
-
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanWhether the feature is enabled.The Payment Method Configuration to use for this portal session.inthashCode()voidsetEnabled(Boolean enabled) Whether the feature is enabled.voidsetPaymentMethodConfiguration(String paymentMethodConfiguration) The Payment Method Configuration to use for this portal session.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
PaymentMethodUpdate
public PaymentMethodUpdate()
-
-
Method Details
-
getEnabled
Whether the feature is enabled. -
getPaymentMethodConfiguration
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, the default payment method configuration is used. -
setEnabled
Whether the feature is enabled. -
setPaymentMethodConfiguration
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, the default payment method configuration is used. -
equals
-
canEqual
-
hashCode
public int hashCode()
-