public enum ReceiptRequest extends java.lang.Enum<ReceiptRequest>
Modifier and Type | Method and Description |
---|---|
ReceiptRequest |
getEnum(java.lang.String val) |
java.lang.String |
toString() |
static ReceiptRequest |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ReceiptRequest[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReceiptRequest NONE
public static final ReceiptRequest ERROR
public static final ReceiptRequest ALL
public static ReceiptRequest[] values()
for (ReceiptRequest c : ReceiptRequest.values()) System.out.println(c);
public static ReceiptRequest valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String toString()
toString
in class java.lang.Enum<ReceiptRequest>
public ReceiptRequest getEnum(java.lang.String val)
Copyright © 2019. All Rights Reserved.