public static enum Invoice.InvoiceState extends java.lang.Enum<Invoice.InvoiceState>
LightningApi.Invoice.InvoiceState| Modifier and Type | Method and Description |
|---|---|
LightningApi.Invoice.InvoiceState |
getApiObject() |
static Invoice.InvoiceState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Invoice.InvoiceState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
static Invoice.InvoiceState |
wrap(LightningApi.Invoice.InvoiceState apiObject) |
public static final Invoice.InvoiceState OPEN
public static final Invoice.InvoiceState SETTLED
public static final Invoice.InvoiceState CANCELED
public static final Invoice.InvoiceState ACCEPTED
public static Invoice.InvoiceState[] values()
for (Invoice.InvoiceState c : Invoice.InvoiceState.values()) System.out.println(c);
public static Invoice.InvoiceState valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic LightningApi.Invoice.InvoiceState getApiObject()
public static Invoice.InvoiceState wrap(LightningApi.Invoice.InvoiceState apiObject)