Package co.dapi.types
Enum Beneficiary.BeneficiaryStatus
- java.lang.Object
-
- java.lang.Enum<Beneficiary.BeneficiaryStatus>
-
- co.dapi.types.Beneficiary.BeneficiaryStatus
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<Beneficiary.BeneficiaryStatus>
- Enclosing class:
- Beneficiary
public static enum Beneficiary.BeneficiaryStatus extends java.lang.Enum<Beneficiary.BeneficiaryStatus>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description approvedcancelledmodified_for_pending_approvalrejectedwaiting_for_confirmation
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Beneficiary.BeneficiaryStatusvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Beneficiary.BeneficiaryStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
approved
public static final Beneficiary.BeneficiaryStatus approved
-
rejected
public static final Beneficiary.BeneficiaryStatus rejected
-
cancelled
public static final Beneficiary.BeneficiaryStatus cancelled
-
waiting_for_confirmation
public static final Beneficiary.BeneficiaryStatus waiting_for_confirmation
-
modified_for_pending_approval
public static final Beneficiary.BeneficiaryStatus modified_for_pending_approval
-
-
Method Detail
-
values
public static Beneficiary.BeneficiaryStatus[] 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 (Beneficiary.BeneficiaryStatus c : Beneficiary.BeneficiaryStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Beneficiary.BeneficiaryStatus valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-