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