public enum VoidReasonCode extends java.lang.Enum<VoidReasonCode>
Enum Constant and Description |
---|
AdjustmentCancelled
AdjustTax operation has been cancelled.
|
DocDeleted
Document deleted - If committed, document status will be changed to Cancelled.
|
DocVoided
Document has been voided and DocStatus will be set to Cancelled
|
PostFailed
Post operation failed - Document status will be changed to unposted
|
Unspecified
Unspecified reason
|
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static VoidReasonCode |
valueOf(int intValue) |
static VoidReasonCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static VoidReasonCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VoidReasonCode Unspecified
public static final VoidReasonCode PostFailed
public static final VoidReasonCode DocDeleted
public static final VoidReasonCode DocVoided
public static final VoidReasonCode AdjustmentCancelled
public static VoidReasonCode[] values()
for (VoidReasonCode c : VoidReasonCode.values()) System.out.println(c);
public static VoidReasonCode 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 static VoidReasonCode valueOf(int intValue)
public int getValue()