com.chargebee.models
Enum HostedPage.Type

java.lang.Object
  extended by java.lang.Enum<HostedPage.Type>
      extended by com.chargebee.models.HostedPage.Type
All Implemented Interfaces:
Serializable, Comparable<HostedPage.Type>
Enclosing class:
HostedPage

public static enum HostedPage.Type
extends Enum<HostedPage.Type>


Enum Constant Summary
_UNKNOWN
           
CHECKOUT_EXISTING
           
CHECKOUT_NEW
           
COLLECT_NOW
           
MANAGE_PAYMENT_SOURCES
           
UPDATE_CARD
          Deprecated. 
UPDATE_PAYMENT_METHOD
           
 
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.
 
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

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

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.