public enum AuthorizationStatus extends Enum<AuthorizationStatus>
| Enum Constant and Description |
|---|
_UNKNOWN
Unknown values will be mapped by this enum member
|
CAPTURED
The authorized payment has one or more captures against it.
|
CREATED
The authorized payment is created.
|
DENIED
PayPal cannot authorize funds for this authorized payment.
|
PARTIALLY_CAPTURED
A captured payment was made for the authorized payment for an amount that is less than the amount of the original authorized payment.
|
PENDING
The created authorization is in pending state.
|
VOIDED
The authorized payment was voided.
|
| Modifier and Type | Method and Description |
|---|---|
static AuthorizationStatus |
constructFromString(String toConvert)
Returns the enum member associated with the given string value.
|
static AuthorizationStatus |
fromString(String toConvert)
Returns the enum member associated with the given string value.
|
String |
toString()
Get string representation of this enum.
|
static List<String> |
toValue(List<AuthorizationStatus> toConvert)
Convert list of AuthorizationStatus values to list of string values.
|
String |
value()
Returns the string value associated with the enum member.
|
static AuthorizationStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AuthorizationStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuthorizationStatus CREATED
public static final AuthorizationStatus CAPTURED
public static final AuthorizationStatus DENIED
public static final AuthorizationStatus PARTIALLY_CAPTURED
public static final AuthorizationStatus VOIDED
public static final AuthorizationStatus PENDING
public static final AuthorizationStatus _UNKNOWN
public static AuthorizationStatus[] values()
for (AuthorizationStatus c : AuthorizationStatus.values()) System.out.println(c);
public static AuthorizationStatus 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 static AuthorizationStatus constructFromString(String toConvert) throws IOException
toConvert - String value to get enum member.IOException - when provided value is not mapped to any enum member.public static AuthorizationStatus fromString(String toConvert)
toConvert - String value to get enum member.public String value()
public String toString()
toString in class Enum<AuthorizationStatus>public static List<String> toValue(List<AuthorizationStatus> toConvert)
toConvert - The list of AuthorizationStatus values to convert.Copyright © 2025. All rights reserved.