Package com.stripe.model
Class PaymentMethodConfiguration.Klarna
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.PaymentMethodConfiguration.Klarna
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- PaymentMethodConfiguration
The effective display preference value.
One of off
, or on
.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
-
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
-
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.Klarna.DisplayPreference displayPreference) Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
Klarna
public Klarna()
-
-
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.Klarna.DisplayPreference displayPreference) -
equals
-
canEqual
-
hashCode
public int hashCode()
-