com.chargebee.models
Enum Invoice.Discount.EntityType
java.lang.Object
java.lang.Enum<Invoice.Discount.EntityType>
com.chargebee.models.Invoice.Discount.EntityType
- All Implemented Interfaces:
- Serializable, Comparable<Invoice.Discount.EntityType>
- Enclosing class:
- Invoice.Discount
public static enum Invoice.Discount.EntityType
- extends Enum<Invoice.Discount.EntityType>
ITEM_LEVEL_COUPON
public static final Invoice.Discount.EntityType ITEM_LEVEL_COUPON
DOCUMENT_LEVEL_COUPON
public static final Invoice.Discount.EntityType DOCUMENT_LEVEL_COUPON
PROMOTIONAL_CREDITS
public static final Invoice.Discount.EntityType PROMOTIONAL_CREDITS
PRORATED_CREDITS
public static final Invoice.Discount.EntityType PRORATED_CREDITS
_UNKNOWN
public static final Invoice.Discount.EntityType _UNKNOWN
values
public static Invoice.Discount.EntityType[] 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.Discount.EntityType c : Invoice.Discount.EntityType.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.Discount.EntityType 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.