Package com.stripe.model.checkout
Class Session.SavedPaymentMethodOptions
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.checkout.Session.SavedPaymentMethodOptions
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- Session
For more details about SavedPaymentMethodOptions, 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 booleanbooleanUses theallow_redisplayvalue of each saved payment method to filter the set presented to a returning customer.Enable customers to choose if they wish to remove their saved payment methods.Enable customers to choose if they wish to save their payment method for future use.inthashCode()voidsetAllowRedisplayFilters(List<String> allowRedisplayFilters) Uses theallow_redisplayvalue of each saved payment method to filter the set presented to a returning customer.voidsetPaymentMethodRemove(String paymentMethodRemove) Enable customers to choose if they wish to remove their saved payment methods.voidsetPaymentMethodSave(String paymentMethodSave) Enable customers to choose if they wish to save their payment method for future use.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
SavedPaymentMethodOptions
public SavedPaymentMethodOptions()
-
-
Method Details
-
getAllowRedisplayFilters
Uses theallow_redisplayvalue of each saved payment method to filter the set presented to a returning customer. By default, only saved payment methods with ’allow_redisplay: ‘always’ are shown in Checkout. -
getPaymentMethodRemove
Enable customers to choose if they wish to remove their saved payment methods. Disabled by default.One of
disabled, orenabled. -
getPaymentMethodSave
Enable customers to choose if they wish to save their payment method for future use. Disabled by default.One of
disabled, orenabled. -
setAllowRedisplayFilters
Uses theallow_redisplayvalue of each saved payment method to filter the set presented to a returning customer. By default, only saved payment methods with ’allow_redisplay: ‘always’ are shown in Checkout. -
setPaymentMethodRemove
Enable customers to choose if they wish to remove their saved payment methods. Disabled by default.One of
disabled, orenabled. -
setPaymentMethodSave
Enable customers to choose if they wish to save their payment method for future use. Disabled by default.One of
disabled, orenabled. -
equals
-
canEqual
-
hashCode
public int hashCode()
-