public enum PaymentStatus extends Enum<PaymentStatus>
Enum Constant and Description |
---|
ABANDONED
Payment has been abandoned (Abandon).
|
AUTHORIZED
Payment is accepted (Autorisé)
|
CANCELLED_BY_USER
Payment has been cancelled by user
|
FAILED
Payment fails to validate (En échec)
|
FAILED_REJECTED
Payment is rejected by operator
|
IN_PROGRESS
Payment is in-progress
|
PAID
Payment is valid (Réglé)
|
WAITING
Payment is waiting to be handled
|
WAITING_MANUAL_VALIDATION
Payment waiting for manual validation
|
Modifier and Type | Method and Description |
---|---|
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 nullCopyright © 2020. All rights reserved.