public enum RefundStatus extends Enum<RefundStatus>
| Modifier and Type | Class and Description |
|---|---|
static class |
RefundStatus.Adapter |
| Modifier and Type | Method and Description |
|---|---|
static RefundStatus |
fromValue(String value) |
String |
getValue() |
String |
toString() |
static RefundStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RefundStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RefundStatus PENDING
public static final RefundStatus SUCCEEDED
public static final RefundStatus FAILED
public static RefundStatus[] values()
for (RefundStatus c : RefundStatus.values()) System.out.println(c);
public static RefundStatus 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 getValue()
public String toString()
toString in class Enum<RefundStatus>public static RefundStatus fromValue(String value)
Copyright © 2023. All rights reserved.