com.chargebee.models
Enum Invoice.LineItem.Type
java.lang.Object
java.lang.Enum<Invoice.LineItem.Type>
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>
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
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.