Enum Constant and Description |
---|
PAYMENT_CANCELED |
PAYMENT_SUCCEEDED |
PAYMENT_WAITING_FOR_CAPTURE |
REFUND_SUCCEEDED |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getEventName() |
static YKEvent |
getYKPaymentEventByEvent(java.lang.String eventName) |
static YKEvent |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static YKEvent[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final YKEvent PAYMENT_WAITING_FOR_CAPTURE
public static final YKEvent PAYMENT_SUCCEEDED
public static final YKEvent PAYMENT_CANCELED
public static final YKEvent REFUND_SUCCEEDED
public static YKEvent[] values()
for (YKEvent c : YKEvent.values()) System.out.println(c);
public static YKEvent 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 java.lang.String getEventName()
public static YKEvent getYKPaymentEventByEvent(java.lang.String eventName)