public enum VoucherPaymentDestination extends java.lang.Enum<VoucherPaymentDestination>
| Enum Constant and Description |
|---|
FIXED_USER
A fixed user receives the payment
|
REDEEMER
The user redeeming the voucher receives the payment
|
| Modifier and Type | Method and Description |
|---|---|
static VoucherPaymentDestination |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static VoucherPaymentDestination[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VoucherPaymentDestination REDEEMER
public static final VoucherPaymentDestination FIXED_USER
public static VoucherPaymentDestination[] values()
for (VoucherPaymentDestination c : VoucherPaymentDestination.values()) System.out.println(c);
public static VoucherPaymentDestination 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