public enum PaymentStatus extends Enum<PaymentStatus>
Java class for paymentStatus.
The following schema fragment specifies the expected content contained within this class.
Enum Constant and Description |
---|
ABANDONED |
AUTHORIZED |
CANCELLED_BY_USER |
FAILED |
FAILED_REJECTED |
IN_PROGRESS |
PAID |
WAITING |
WAITING_MANUAL_VALIDATION |
Modifier and Type | Method and Description |
---|---|
static PaymentStatus |
fromValue(String v) |
String |
value() |
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 WAITING
public static final PaymentStatus IN_PROGRESS
public static final PaymentStatus AUTHORIZED
public static final PaymentStatus PAID
public static final PaymentStatus CANCELLED_BY_USER
public static final PaymentStatus FAILED
public static final PaymentStatus ABANDONED
public static final PaymentStatus WAITING_MANUAL_VALIDATION
public static final PaymentStatus FAILED_REJECTED
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 value()
public static PaymentStatus fromValue(String v)
Copyright © 2021. All rights reserved.