public enum PaymentPreferenceType extends java.lang.Enum<PaymentPreferenceType> implements ICRMLookupEnum
Enum Constant and Description |
---|
BRAINTREE_PAYMENT_GATEWAY |
CUSTOM_PAYMENT_GATEWAY |
CUSTOM1 |
CUSTOM2 |
CUSTOM3 |
CUSTOM4 |
CUSTOM5 |
DIRECT_DEBIT |
GENERIC_PAYMENT_GATEWAY |
OTHER |
PAYPAL_PAYMENT_GATEWAY |
STRIPE_PAYMENT_GATEWAY |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getLabel() |
boolean |
isPaymentGateway() |
static PaymentPreferenceType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PaymentPreferenceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PaymentPreferenceType DIRECT_DEBIT
public static final PaymentPreferenceType STRIPE_PAYMENT_GATEWAY
public static final PaymentPreferenceType PAYPAL_PAYMENT_GATEWAY
public static final PaymentPreferenceType BRAINTREE_PAYMENT_GATEWAY
public static final PaymentPreferenceType GENERIC_PAYMENT_GATEWAY
public static final PaymentPreferenceType CUSTOM_PAYMENT_GATEWAY
public static final PaymentPreferenceType OTHER
public static final PaymentPreferenceType CUSTOM1
public static final PaymentPreferenceType CUSTOM2
public static final PaymentPreferenceType CUSTOM3
public static final PaymentPreferenceType CUSTOM4
public static final PaymentPreferenceType CUSTOM5
public static PaymentPreferenceType[] values()
for (PaymentPreferenceType c : PaymentPreferenceType.values()) System.out.println(c);
public static PaymentPreferenceType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getLabel()
getLabel
in interface ICRMLookupEnum
public boolean isPaymentGateway()