public static enum Model.InvoiceError.Reason extends java.lang.Enum<Model.InvoiceError.Reason> implements com.google.protobuf.Internal.EnumLite
kin.agora.common.v3.InvoiceError.Reason| Enum Constant and Description |
|---|
ALREADY_PAID
The provided invoice has already been paid for.
|
SKU_NOT_FOUND
One or more SKUs in the invoice was not found.
|
UNKNOWN
UNKNOWN = 0; |
UNRECOGNIZED |
WRONG_DESTINATION
The destination in the operation corresponding to this invoice
is incorrect.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
ALREADY_PAID_VALUE
The provided invoice has already been paid for.
|
static int |
SKU_NOT_FOUND_VALUE
One or more SKUs in the invoice was not found.
|
static int |
UNKNOWN_VALUE
UNKNOWN = 0; |
static int |
WRONG_DESTINATION_VALUE
The destination in the operation corresponding to this invoice
is incorrect.
|
| Modifier and Type | Method and Description |
|---|---|
static Model.InvoiceError.Reason |
forNumber(int value) |
int |
getNumber() |
static com.google.protobuf.Internal.EnumLiteMap<Model.InvoiceError.Reason> |
internalGetValueMap() |
static com.google.protobuf.Internal.EnumVerifier |
internalGetVerifier() |
static Model.InvoiceError.Reason |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Model.InvoiceError.Reason |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Model.InvoiceError.Reason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Model.InvoiceError.Reason UNKNOWN
UNKNOWN = 0;public static final Model.InvoiceError.Reason ALREADY_PAID
The provided invoice has already been paid for. This is only applicable when the memo transaction type is SPEND.
ALREADY_PAID = 1;public static final Model.InvoiceError.Reason WRONG_DESTINATION
The destination in the operation corresponding to this invoice is incorrect.
WRONG_DESTINATION = 2;public static final Model.InvoiceError.Reason SKU_NOT_FOUND
One or more SKUs in the invoice was not found.
SKU_NOT_FOUND = 3;public static final Model.InvoiceError.Reason UNRECOGNIZED
public static final int UNKNOWN_VALUE
UNKNOWN = 0;public static final int ALREADY_PAID_VALUE
The provided invoice has already been paid for. This is only applicable when the memo transaction type is SPEND.
ALREADY_PAID = 1;public static final int WRONG_DESTINATION_VALUE
The destination in the operation corresponding to this invoice is incorrect.
WRONG_DESTINATION = 2;public static final int SKU_NOT_FOUND_VALUE
One or more SKUs in the invoice was not found.
SKU_NOT_FOUND = 3;public static Model.InvoiceError.Reason[] values()
for (Model.InvoiceError.Reason c : Model.InvoiceError.Reason.values()) System.out.println(c);
public static Model.InvoiceError.Reason valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLite@Deprecated public static Model.InvoiceError.Reason valueOf(int value)
forNumber(int) instead.value - The number of the enum to look for.public static Model.InvoiceError.Reason forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<Model.InvoiceError.Reason> internalGetValueMap()
public static com.google.protobuf.Internal.EnumVerifier internalGetVerifier()