com.chargebee.models
Enum Customer.PaymentMethod.Type

java.lang.Object
  extended by java.lang.Enum<Customer.PaymentMethod.Type>
      extended by 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>


Enum Constant Summary
_UNKNOWN
           
ALIPAY
           
AMAZON_PAYMENTS
           
APPLE_PAY
           
CARD
           
DIRECT_DEBIT
           
GENERIC
           
PAYPAL_EXPRESS_CHECKOUT
           
UNIONPAY
           
WECHAT_PAY
           
 
Method Summary
static Customer.PaymentMethod.Type valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Customer.PaymentMethod.Type[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Method Detail

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.