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