- All Implemented Interfaces:
it.auties.protobuf.model.ProtobufEnum,it.auties.protobuf.model.ProtobufObject,Serializable,Comparable<PaymentInfo.Status>,Constable
- Enclosing class:
PaymentInfo
public static enum PaymentInfo.Status
extends Enum<PaymentInfo.Status>
implements it.auties.protobuf.model.ProtobufEnum
The constants of this enumerated type describe the status of a payment described by a
PaymentInfo-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionCancelledCompleteCould not completeExpiredNeed to acceptProcessingRefundedRejectedSentUnknown statusWaitingWaiting for payer -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintindex()static PaymentInfo.StatusReturns the enum constant of this class with the specified name.static PaymentInfo.Status[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNKNOWN_STATUS
Unknown status -
PROCESSING
Processing -
SENT
Sent -
NEED_TO_ACCEPT
Need to accept -
COMPLETE
Complete -
COULD_NOT_COMPLETE
Could not complete -
REFUNDED
Refunded -
EXPIRED
Expired -
REJECTED
Rejected -
CANCELLED
Cancelled -
WAITING_FOR_PAYER
Waiting for payer -
WAITING
Waiting
-
-
Field Details
-
index
final int index
-
-
Constructor Details
-
Status
private Status(int index)
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
index
public int index()
-