Enum PaymentType
- All Implemented Interfaces:
Serializable,Comparable<PaymentType>,java.lang.constant.Constable
Indicates the type of payments
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe payment is for the current paymentThe payment is a prepaymentThe payment is a prior CSP feeThe payment is a prior payment -
Method Summary
Modifier and TypeMethodDescriptionintgetValue()static PaymentTypevalueOf(int intValue) Returns the enum constant of this type with the specified name.static PaymentTypeReturns the enum constant of this type with the specified name.static PaymentType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
CurrentPeriod
The payment is for the current payment -
Prepayment
The payment is a prepayment -
PriorPayment
The payment is a prior payment -
PriorCspFee
The payment is a prior CSP fee
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
valueOf
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:
intValue- 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
-
getValue
public int getValue()
-