com.chargebee.models.enums
Enum PaymentMethodType

java.lang.Object
  extended by java.lang.Enum<PaymentMethodType>
      extended by com.chargebee.models.enums.PaymentMethodType
All Implemented Interfaces:
Serializable, Comparable<PaymentMethodType>

public enum PaymentMethodType
extends Enum<PaymentMethodType>


Enum Constant Summary
_UNKNOWN
           
ALIPAY
           
AMAZON_PAYMENTS
           
APPLE_PAY
           
CARD
           
DIRECT_DEBIT
           
GENERIC
           
PAYPAL_EXPRESS_CHECKOUT
           
UNIONPAY
           
WECHAT_PAY
           
 
Method Summary
static PaymentMethodType valueOf(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.
 
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 PaymentMethodType CARD

PAYPAL_EXPRESS_CHECKOUT

public static final PaymentMethodType PAYPAL_EXPRESS_CHECKOUT

AMAZON_PAYMENTS

public static final PaymentMethodType AMAZON_PAYMENTS

DIRECT_DEBIT

public static final PaymentMethodType DIRECT_DEBIT

GENERIC

public static final PaymentMethodType GENERIC

ALIPAY

public static final PaymentMethodType ALIPAY

UNIONPAY

public static final PaymentMethodType UNIONPAY

APPLE_PAY

public static final PaymentMethodType APPLE_PAY

WECHAT_PAY

public static final PaymentMethodType WECHAT_PAY

_UNKNOWN

public static final PaymentMethodType _UNKNOWN
Method Detail

values

public static PaymentMethodType[] 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 (PaymentMethodType c : PaymentMethodType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static PaymentMethodType 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 © 2019 ChargeBee. All Rights Reserved.