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