public enum PaymentMethodType extends java.lang.Enum<PaymentMethodType>
Enum Constant and Description |
---|
AMEX |
BONCARD |
BYJUNO |
DINERS |
DISCOVER |
EASYPAY |
ELV |
GOOGLE_PAY |
JCB |
MASTERCARD |
MYONE |
PAYPAL |
PAYSAFECARD |
PFCARD |
PFEFINANCE |
POWERPAY |
REKA |
SAMSUNG_PAY |
SUPERCARD |
SWISSBILLING |
SWISSPASS |
TWINT |
UATP |
VISA |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getIdentifier()
Returns the 3-letter payment type identifier as used by Datatrans.
|
java.lang.String |
getName()
Returns the payment type name.
|
static PaymentMethodType |
getPaymentMethodTypeByIdentifier(java.lang.String identifier)
Returns the payment method type for a given identifier.
|
java.lang.Class |
getRecurringPaymentMethodClass()
Returns the class used for creating a recurring payment method.
|
static PaymentMethodType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PaymentMethodType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PaymentMethodType VISA
public static final PaymentMethodType MASTERCARD
public static final PaymentMethodType DINERS
public static final PaymentMethodType AMEX
public static final PaymentMethodType JCB
public static final PaymentMethodType UATP
public static final PaymentMethodType MYONE
public static final PaymentMethodType DISCOVER
public static final PaymentMethodType SUPERCARD
public static final PaymentMethodType BONCARD
public static final PaymentMethodType PFEFINANCE
public static final PaymentMethodType PFCARD
public static final PaymentMethodType PAYPAL
public static final PaymentMethodType EASYPAY
public static final PaymentMethodType ELV
public static final PaymentMethodType SWISSBILLING
public static final PaymentMethodType REKA
public static final PaymentMethodType TWINT
public static final PaymentMethodType BYJUNO
public static final PaymentMethodType SAMSUNG_PAY
public static final PaymentMethodType GOOGLE_PAY
public static final PaymentMethodType SWISSPASS
public static final PaymentMethodType POWERPAY
public static final PaymentMethodType PAYSAFECARD
public static PaymentMethodType[] values()
for (PaymentMethodType c : PaymentMethodType.values()) System.out.println(c);
public static PaymentMethodType 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 static PaymentMethodType getPaymentMethodTypeByIdentifier(java.lang.String identifier)
identifier
- The payment method type identifierpublic java.lang.String getIdentifier()
getPaymentMethodTypeByIdentifier(String)
.public java.lang.String getName()
public java.lang.Class getRecurringPaymentMethodClass()