com.chargebee.models
Enum HostedPage.Type
java.lang.Object
java.lang.Enum<HostedPage.Type>
com.chargebee.models.HostedPage.Type
- All Implemented Interfaces:
- Serializable, Comparable<HostedPage.Type>
- Enclosing class:
- HostedPage
public static enum HostedPage.Type
- extends Enum<HostedPage.Type>
Method Summary |
static HostedPage.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static HostedPage.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
CHECKOUT_NEW
public static final HostedPage.Type CHECKOUT_NEW
CHECKOUT_EXISTING
public static final HostedPage.Type CHECKOUT_EXISTING
UPDATE_CARD
@Deprecated
public static final HostedPage.Type UPDATE_CARD
- Deprecated.
UPDATE_PAYMENT_METHOD
public static final HostedPage.Type UPDATE_PAYMENT_METHOD
MANAGE_PAYMENT_SOURCES
public static final HostedPage.Type MANAGE_PAYMENT_SOURCES
COLLECT_NOW
public static final HostedPage.Type COLLECT_NOW
_UNKNOWN
public static final HostedPage.Type _UNKNOWN
values
public static HostedPage.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 (HostedPage.Type c : HostedPage.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 HostedPage.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 © 2018 ChargeBee. All Rights Reserved.