com.chargebee.models
Enum Invoice.LineItem.Type

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

public static enum Invoice.LineItem.Type
extends Enum<Invoice.LineItem.Type>


Enum Constant Summary
ADDON_CHARGE
           
ADDON_PRORATED_CHARGE
           
ADDON_PRORATED_CREDIT
           
CHARGE
           
CREDIT
           
PLAN_CHARGE
           
PLAN_PRORATED_CHARGE
           
PLAN_PRORATED_CREDIT
           
 
Method Summary
static Invoice.LineItem.Type valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Invoice.LineItem.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

PLAN_CHARGE

public static final Invoice.LineItem.Type PLAN_CHARGE

ADDON_CHARGE

public static final Invoice.LineItem.Type ADDON_CHARGE

CHARGE

public static final Invoice.LineItem.Type CHARGE

CREDIT

public static final Invoice.LineItem.Type CREDIT

PLAN_PRORATED_CHARGE

public static final Invoice.LineItem.Type PLAN_PRORATED_CHARGE

PLAN_PRORATED_CREDIT

public static final Invoice.LineItem.Type PLAN_PRORATED_CREDIT

ADDON_PRORATED_CHARGE

public static final Invoice.LineItem.Type ADDON_PRORATED_CHARGE

ADDON_PRORATED_CREDIT

public static final Invoice.LineItem.Type ADDON_PRORATED_CREDIT
Method Detail

values

public static Invoice.LineItem.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 (Invoice.LineItem.Type c : Invoice.LineItem.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 Invoice.LineItem.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 © 2012 ChargeBee. All Rights Reserved.