public static enum Quote.LineItemDiscount.DiscountType extends Enum<Quote.LineItemDiscount.DiscountType>
Enum Constant and Description |
---|
_UNKNOWN |
DOCUMENT_LEVEL_COUPON |
DOCUMENT_LEVEL_DISCOUNT |
ITEM_LEVEL_COUPON |
ITEM_LEVEL_DISCOUNT |
PROMOTIONAL_CREDITS |
PRORATED_CREDITS |
Modifier and Type | Method and Description |
---|---|
static Quote.LineItemDiscount.DiscountType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Quote.LineItemDiscount.DiscountType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Quote.LineItemDiscount.DiscountType ITEM_LEVEL_COUPON
public static final Quote.LineItemDiscount.DiscountType DOCUMENT_LEVEL_COUPON
public static final Quote.LineItemDiscount.DiscountType PROMOTIONAL_CREDITS
public static final Quote.LineItemDiscount.DiscountType PRORATED_CREDITS
public static final Quote.LineItemDiscount.DiscountType ITEM_LEVEL_DISCOUNT
public static final Quote.LineItemDiscount.DiscountType DOCUMENT_LEVEL_DISCOUNT
public static final Quote.LineItemDiscount.DiscountType _UNKNOWN
public static Quote.LineItemDiscount.DiscountType[] values()
for (Quote.LineItemDiscount.DiscountType c : Quote.LineItemDiscount.DiscountType.values()) System.out.println(c);
public static Quote.LineItemDiscount.DiscountType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2025 ChargeBee. All rights reserved.