public static enum Payment.Status extends Enum<Payment.Status>
| Modifier and Type | Method and Description |
|---|---|
String |
getValue() |
static Payment.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Payment.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@SerializedName(value="approved") public static final Payment.Status APPROVED
@SerializedName(value="declined") public static final Payment.Status DECLINED
@SerializedName(value="pending") public static final Payment.Status PENDING
public static Payment.Status[] values()
for (Payment.Status c : Payment.Status.values()) System.out.println(c);
public static Payment.Status 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()
Copyright © 2021. All rights reserved.