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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanControls 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.inthashCode()voidsetAllowRedisplayFilters(List<String> allowRedisplayFilters) Controls which payment methods are eligible to be redisplayed to returning customers.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, 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_redisplayon the payment method. -
getPaymentMethodSave
Enable customers to choose if they wish to save their payment method for future use. Disabled by default.One of
disabled, orenabled. -
setAllowRedisplayFilters
Controls which payment methods are eligible to be redisplayed to returning customers. Corresponds toallow_redisplayon the payment method. -
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()
-