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