Package com.stripe.model
Class PaymentMethodConfiguration.AmazonPay
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.PaymentMethodConfiguration.AmazonPay
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- PaymentMethodConfiguration
For more details about AmazonPay, please refer to the API
Reference.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classFor more details about DisplayPreference, 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 this payment method may be offered at checkout.inthashCode()voidsetAvailable(Boolean available) Whether this payment method may be offered at checkout.voidsetDisplayPreference(PaymentMethodConfiguration.AmazonPay.DisplayPreference displayPreference) Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
AmazonPay
public AmazonPay()
-
-
Method Details
-
getAvailable
Whether this payment method may be offered at checkout. True ifdisplay_preferenceisonand the payment method's capability is active. -
getDisplayPreference
-
setAvailable
Whether this payment method may be offered at checkout. True ifdisplay_preferenceisonand the payment method's capability is active. -
setDisplayPreference
public void setDisplayPreference(PaymentMethodConfiguration.AmazonPay.DisplayPreference displayPreference) -
equals
-
canEqual
-
hashCode
public int hashCode()
-