public static enum EnergyInvoice.PaymentStatusEnum extends Enum<EnergyInvoice.PaymentStatusEnum>
| Enum Constant and Description |
|---|
NOT_PAID |
PAID |
PARTIALLY_PAID |
| Modifier and Type | Method and Description |
|---|---|
static EnergyInvoice.PaymentStatusEnum |
fromValue(String value) |
String |
getValue() |
String |
toString() |
static EnergyInvoice.PaymentStatusEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EnergyInvoice.PaymentStatusEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnergyInvoice.PaymentStatusEnum PAID
public static final EnergyInvoice.PaymentStatusEnum PARTIALLY_PAID
public static final EnergyInvoice.PaymentStatusEnum NOT_PAID
public static EnergyInvoice.PaymentStatusEnum[] values()
for (EnergyInvoice.PaymentStatusEnum c : EnergyInvoice.PaymentStatusEnum.values()) System.out.println(c);
public static EnergyInvoice.PaymentStatusEnum 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 nullpublic String getValue()
public String toString()
toString in class Enum<EnergyInvoice.PaymentStatusEnum>public static EnergyInvoice.PaymentStatusEnum fromValue(String value)
Copyright © 2023. All rights reserved.