public static enum InlineResponse4001.ReasonEnum extends Enum<InlineResponse4001.ReasonEnum>
| Modifier and Type | Class and Description |
|---|---|
static class |
InlineResponse4001.ReasonEnum.Adapter |
| Enum Constant and Description |
|---|
AUTH_ALREADY_REVERSED |
DUPLICATE_REQUEST |
INVALID_DATA |
INVALID_MERCHANT_CONFIGURATION |
MISSING_AUTH |
MISSING_FIELD |
TRANSACTION_ALREADY_REVERSED_OR_SETTLED |
| Modifier and Type | Method and Description |
|---|---|
static InlineResponse4001.ReasonEnum |
fromValue(String text) |
String |
getValue() |
String |
toString() |
static InlineResponse4001.ReasonEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InlineResponse4001.ReasonEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InlineResponse4001.ReasonEnum MISSING_FIELD
public static final InlineResponse4001.ReasonEnum INVALID_DATA
public static final InlineResponse4001.ReasonEnum DUPLICATE_REQUEST
public static final InlineResponse4001.ReasonEnum INVALID_MERCHANT_CONFIGURATION
public static final InlineResponse4001.ReasonEnum AUTH_ALREADY_REVERSED
public static final InlineResponse4001.ReasonEnum MISSING_AUTH
public static final InlineResponse4001.ReasonEnum TRANSACTION_ALREADY_REVERSED_OR_SETTLED
public static InlineResponse4001.ReasonEnum[] values()
for (InlineResponse4001.ReasonEnum c : InlineResponse4001.ReasonEnum.values()) System.out.println(c);
public static InlineResponse4001.ReasonEnum 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<InlineResponse4001.ReasonEnum>public static InlineResponse4001.ReasonEnum fromValue(String text)
Copyright © 2018. All rights reserved.