Package com.stripe.model
Class PaymentMethod.Custom
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.PaymentMethod.Custom
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- PaymentMethod
For more details about Custom, please refer to the API
Reference.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classFor more details about Logo, 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 booleanbooleanDisplay name of the Dashboard-only CustomPaymentMethodType.getLogo()Contains information about the Dashboard-only CustomPaymentMethodType logo.A reference to an external payment method, such as a PayPal Billing Agreement ID.getType()ID of the Dashboard-only CustomPaymentMethodType.getUsage()Indicates whether the payment method supports off-session payments.inthashCode()voidsetDisplayName(String displayName) Display name of the Dashboard-only CustomPaymentMethodType.voidContains information about the Dashboard-only CustomPaymentMethodType logo.voidsetPaymentMethodReference(String paymentMethodReference) A reference to an external payment method, such as a PayPal Billing Agreement ID.voidID of the Dashboard-only CustomPaymentMethodType.voidIndicates whether the payment method supports off-session payments.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
Custom
public Custom()
-
-
Method Details
-
getDisplayName
Display name of the Dashboard-only CustomPaymentMethodType. -
getLogo
Contains information about the Dashboard-only CustomPaymentMethodType logo. -
getPaymentMethodReference
A reference to an external payment method, such as a PayPal Billing Agreement ID. -
getType
ID of the Dashboard-only CustomPaymentMethodType. Not expandable. -
getUsage
Indicates whether the payment method supports off-session payments.Equal to
off_session. -
setDisplayName
Display name of the Dashboard-only CustomPaymentMethodType. -
setLogo
Contains information about the Dashboard-only CustomPaymentMethodType logo. -
setPaymentMethodReference
A reference to an external payment method, such as a PayPal Billing Agreement ID. -
setType
ID of the Dashboard-only CustomPaymentMethodType. Not expandable. -
setUsage
Indicates whether the payment method supports off-session payments.Equal to
off_session. -
equals
-
canEqual
-
hashCode
public int hashCode()
-