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
Controls which payment methods are eligible to be redisplayed to returning customers.Enable customers to choose if they wish to save their payment method for future use.int
hashCode()
void
setAllowRedisplayFilters
(List<String> allowRedisplayFilters) Controls which payment methods are eligible to be redisplayed to returning customers.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
Controls which payment methods are eligible to be redisplayed to returning customers. Corresponds toallow_redisplay
on the payment method. -
getPaymentMethodSave
Enable customers to choose if they wish to save their payment method for future use.One of
disabled
, orenabled
. -
setAllowRedisplayFilters
Controls which payment methods are eligible to be redisplayed to returning customers. Corresponds toallow_redisplay
on the payment method. -
setPaymentMethodSave
Enable customers to choose if they wish to save their payment method for future use.One of
disabled
, orenabled
. -
equals
-
canEqual
-
hashCode
public int hashCode()
-