public enum RefundType extends java.lang.Enum<RefundType>
| Enum Constant and Description |
|---|
Full
Refund the whole transaction.
|
Partial
Refund only specific lines from the original a transaction.
|
Percentage
Refund a percentage of the value of this transaction.
|
TaxOnly
Only refund the tax part of the transaction.
|
| Modifier and Type | Method and Description |
|---|---|
static RefundType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RefundType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RefundType Full
public static final RefundType Partial
public static final RefundType TaxOnly
public static final RefundType Percentage
public static RefundType[] values()
for (RefundType c : RefundType.values()) System.out.println(c);
public static RefundType 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 null