Package org.killbill.billing.invoice.api
Enum InvoiceItemType
- java.lang.Object
-
- java.lang.Enum<InvoiceItemType>
-
- org.killbill.billing.invoice.api.InvoiceItemType
-
- All Implemented Interfaces:
Serializable,Comparable<InvoiceItemType>
public enum InvoiceItemType extends Enum<InvoiceItemType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CBA_ADJCREDIT_ADJEXTERNAL_CHARGEFIXEDITEM_ADJPARENT_SUMMARYRECURRINGREPAIR_ADJTAXUSAGE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static InvoiceItemTypevalueOf(String name)Returns the enum constant of this type with the specified name.static InvoiceItemType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EXTERNAL_CHARGE
public static final InvoiceItemType EXTERNAL_CHARGE
-
FIXED
public static final InvoiceItemType FIXED
-
RECURRING
public static final InvoiceItemType RECURRING
-
REPAIR_ADJ
public static final InvoiceItemType REPAIR_ADJ
-
CBA_ADJ
public static final InvoiceItemType CBA_ADJ
-
CREDIT_ADJ
public static final InvoiceItemType CREDIT_ADJ
-
ITEM_ADJ
public static final InvoiceItemType ITEM_ADJ
-
USAGE
public static final InvoiceItemType USAGE
-
TAX
public static final InvoiceItemType TAX
-
PARENT_SUMMARY
public static final InvoiceItemType PARENT_SUMMARY
-
-
Method Detail
-
values
public static InvoiceItemType[] 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 (InvoiceItemType c : InvoiceItemType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InvoiceItemType 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 nameNullPointerException- if the argument is null
-
-