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
-
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
Uses theallow_redisplay
value 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.int
hashCode()
void
setAllowRedisplayFilters
(List<String> allowRedisplayFilters) Uses theallow_redisplay
value of each saved payment method to filter the set presented to a returning customer.void
setPaymentMethodRemove
(String paymentMethodRemove) Enable customers to choose if they wish to remove their saved payment methods.void
setPaymentMethodSave
(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, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
SavedPaymentMethodOptions
public SavedPaymentMethodOptions()
-
-
Method Details
-
getAllowRedisplayFilters
Uses theallow_redisplay
value 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_redisplay
value 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()
-