public enum RefundAcceptedStatus extends Enum<RefundAcceptedStatus>
Enum Constant and Description |
---|
ACCEPTED
Accepted and complete
|
CREATED
Refund is created and posted to jet
|
NONE
Not specified - do not send to jet
|
PROCESSING
Jet is processing
|
REJECTED_PAYMENT
invalid customer payment method
|
REJECTED_POLICY
Returns policy conflict
|
Modifier and Type | Method and Description |
---|---|
static RefundAcceptedStatus |
fromText(String text)
Attempt to create a RefundAcceptedStatus by text value
|
String |
getText()
Get the jet api text
|
static RefundAcceptedStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RefundAcceptedStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RefundAcceptedStatus NONE
public static final RefundAcceptedStatus REJECTED_PAYMENT
public static final RefundAcceptedStatus REJECTED_POLICY
public static final RefundAcceptedStatus ACCEPTED
public static final RefundAcceptedStatus PROCESSING
public static final RefundAcceptedStatus CREATED
public static RefundAcceptedStatus[] values()
for (RefundAcceptedStatus c : RefundAcceptedStatus.values()) System.out.println(c);
public static RefundAcceptedStatus 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 RefundAcceptedStatus fromText(String text) throws IllegalArgumentException
text
- valueIllegalArgumentException
- if text is not foundpublic String getText()
Copyright © 2017. All rights reserved.