public enum InvoiceHTLCState extends java.lang.Enum<InvoiceHTLCState>
LightningApi.InvoiceHTLCState
Modifier and Type | Method and Description |
---|---|
LightningApi.InvoiceHTLCState |
getApiObject() |
static InvoiceHTLCState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static InvoiceHTLCState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
static InvoiceHTLCState |
wrap(LightningApi.InvoiceHTLCState apiObject) |
public static final InvoiceHTLCState ACCEPTED
public static final InvoiceHTLCState SETTLED
public static final InvoiceHTLCState CANCELED
public static InvoiceHTLCState[] values()
for (InvoiceHTLCState c : InvoiceHTLCState.values()) System.out.println(c);
public static InvoiceHTLCState 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.InvoiceHTLCState getApiObject()
public static InvoiceHTLCState wrap(LightningApi.InvoiceHTLCState apiObject)