com.chargebee.models
Enum Customer.PaymentMethod.Type
java.lang.Object
java.lang.Enum<Customer.PaymentMethod.Type>
com.chargebee.models.Customer.PaymentMethod.Type
- All Implemented Interfaces:
- Serializable, Comparable<Customer.PaymentMethod.Type>
- Enclosing class:
- Customer.PaymentMethod
public static enum Customer.PaymentMethod.Type
- extends Enum<Customer.PaymentMethod.Type>
CARD
public static final Customer.PaymentMethod.Type CARD
PAYPAL_EXPRESS_CHECKOUT
public static final Customer.PaymentMethod.Type PAYPAL_EXPRESS_CHECKOUT
AMAZON_PAYMENTS
public static final Customer.PaymentMethod.Type AMAZON_PAYMENTS
DIRECT_DEBIT
public static final Customer.PaymentMethod.Type DIRECT_DEBIT
GENERIC
public static final Customer.PaymentMethod.Type GENERIC
ALIPAY
public static final Customer.PaymentMethod.Type ALIPAY
UNIONPAY
public static final Customer.PaymentMethod.Type UNIONPAY
APPLE_PAY
public static final Customer.PaymentMethod.Type APPLE_PAY
WECHAT_PAY
public static final Customer.PaymentMethod.Type WECHAT_PAY
_UNKNOWN
public static final Customer.PaymentMethod.Type _UNKNOWN
values
public static Customer.PaymentMethod.Type[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (Customer.PaymentMethod.Type c : Customer.PaymentMethod.Type.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Customer.PaymentMethod.Type valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
Copyright © 2020 ChargeBee. All Rights Reserved.