public static enum CreditNote.Discount.EntityType extends Enum<CreditNote.Discount.EntityType>
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 CreditNote.Discount.EntityType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CreditNote.Discount.EntityType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CreditNote.Discount.EntityType ITEM_LEVEL_COUPON
public static final CreditNote.Discount.EntityType DOCUMENT_LEVEL_COUPON
public static final CreditNote.Discount.EntityType PROMOTIONAL_CREDITS
public static final CreditNote.Discount.EntityType PRORATED_CREDITS
public static final CreditNote.Discount.EntityType ITEM_LEVEL_DISCOUNT
public static final CreditNote.Discount.EntityType DOCUMENT_LEVEL_DISCOUNT
public static final CreditNote.Discount.EntityType _UNKNOWN
public static CreditNote.Discount.EntityType[] values()
for (CreditNote.Discount.EntityType c : CreditNote.Discount.EntityType.values()) System.out.println(c);
public static CreditNote.Discount.EntityType 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 © 2022 ChargeBee. All rights reserved.