Enum AmountReservationNature
- java.lang.Object
-
- java.lang.Enum<AmountReservationNature>
-
- org.cyclos.model.banking.accounts.AmountReservationNature
-
- All Implemented Interfaces:
Serializable,Comparable<AmountReservationNature>
public enum AmountReservationNature extends Enum<AmountReservationNature>
Contains the possible subclasses for amount reservations
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CUSTOMEXTERNAL_PAYMENTINSTALLMENTORDERPENDING_AUTHORIZATIONSCHEDULED_PAYMENTTICKETVOUCHERVOUCHER_PACKVOUCHER_TRANSACTIONVOUCHER_UNBLOCK
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AmountReservationNaturevalueOf(String name)Returns the enum constant of this type with the specified name.static AmountReservationNature[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PENDING_AUTHORIZATION
public static final AmountReservationNature PENDING_AUTHORIZATION
-
SCHEDULED_PAYMENT
public static final AmountReservationNature SCHEDULED_PAYMENT
-
INSTALLMENT
public static final AmountReservationNature INSTALLMENT
-
ORDER
public static final AmountReservationNature ORDER
-
TICKET
public static final AmountReservationNature TICKET
-
VOUCHER_PACK
public static final AmountReservationNature VOUCHER_PACK
-
VOUCHER
public static final AmountReservationNature VOUCHER
-
VOUCHER_TRANSACTION
public static final AmountReservationNature VOUCHER_TRANSACTION
-
VOUCHER_UNBLOCK
public static final AmountReservationNature VOUCHER_UNBLOCK
-
EXTERNAL_PAYMENT
public static final AmountReservationNature EXTERNAL_PAYMENT
-
CUSTOM
public static final AmountReservationNature CUSTOM
-
-
Method Detail
-
values
public static AmountReservationNature[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AmountReservationNature c : AmountReservationNature.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AmountReservationNature valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-