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