public enum PaymentStatus extends Enum<PaymentStatus>
| Enum Constant and Description |
|---|
AUTHORIZED |
CANCELED |
EXPIRED |
FAILED |
OPEN |
PAID |
PENDING |
| Modifier and Type | Method and Description |
|---|---|
String |
getJsonValue() |
static PaymentStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PaymentStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PaymentStatus OPEN
public static final PaymentStatus CANCELED
public static final PaymentStatus PENDING
public static final PaymentStatus AUTHORIZED
public static final PaymentStatus EXPIRED
public static final PaymentStatus FAILED
public static final PaymentStatus PAID
public static PaymentStatus[] values()
for (PaymentStatus c : PaymentStatus.values()) System.out.println(c);
public static PaymentStatus 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 getJsonValue()
Copyright © 2022. All rights reserved.