public enum ReportStatus extends Enum<ReportStatus>
Enum Constant and Description |
---|
EXPIRED
This report is no longer available
|
FAILED
the report could not be generated.
|
READY
the report is ready to be downloaded
|
REQUESTED
the report has been requested by the merchant and is in queue
|
Modifier and Type | Method and Description |
---|---|
static ReportStatus |
fromText(String text)
Attempt to create a ReportStatus by text value
|
String |
getText()
Retrieve the jet text
|
static ReportStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReportStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReportStatus REQUESTED
public static final ReportStatus READY
public static final ReportStatus FAILED
public static final ReportStatus EXPIRED
public static ReportStatus[] values()
for (ReportStatus c : ReportStatus.values()) System.out.println(c);
public static ReportStatus 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 ReportStatus fromText(String text) throws IllegalArgumentException
text
- valueIllegalArgumentException
- if text is not foundpublic String getText()
Copyright © 2017. All rights reserved.