public static enum EnergyPlanContractDiscounts.CategoryEnum extends Enum<EnergyPlanContractDiscounts.CategoryEnum>
| Enum Constant and Description |
|---|
DIRECT_DEBIT |
GUARANTEED_DISCOUNT |
OTHER |
PAY_ON_TIME |
| Modifier and Type | Method and Description |
|---|---|
static EnergyPlanContractDiscounts.CategoryEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EnergyPlanContractDiscounts.CategoryEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnergyPlanContractDiscounts.CategoryEnum PAY_ON_TIME
public static final EnergyPlanContractDiscounts.CategoryEnum DIRECT_DEBIT
public static final EnergyPlanContractDiscounts.CategoryEnum GUARANTEED_DISCOUNT
public static final EnergyPlanContractDiscounts.CategoryEnum OTHER
public static EnergyPlanContractDiscounts.CategoryEnum[] values()
for (EnergyPlanContractDiscounts.CategoryEnum c : EnergyPlanContractDiscounts.CategoryEnum.values()) System.out.println(c);
public static EnergyPlanContractDiscounts.CategoryEnum 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 © 2023. All rights reserved.