Package com.github.hsnghrld.idpay
Enum PaymentStatus
- java.lang.Object
-
- java.lang.Enum<PaymentStatus>
-
- com.github.hsnghrld.idpay.PaymentStatus
-
- All Implemented Interfaces:
Serializable,Comparable<PaymentStatus>
public enum PaymentStatus extends Enum<PaymentStatus>
-
-
Field Summary
Fields Modifier and Type Field Description static String[]ALL_PAYMENT_STATUSES
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDesc_en()StringgetDesc_fa()@NotNull StringtoString()static @NotNull ArrayList<String>toString(@NotNull Collection<PaymentStatus> statuses)static PaymentStatusvalueOf(String name)Returns the enum constant of this type with the specified name.static PaymentStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
_1
public static final PaymentStatus _1
-
_2
public static final PaymentStatus _2
-
_3
public static final PaymentStatus _3
-
_4
public static final PaymentStatus _4
-
_5
public static final PaymentStatus _5
-
_6
public static final PaymentStatus _6
-
_7
public static final PaymentStatus _7
-
_8
public static final PaymentStatus _8
-
_10
public static final PaymentStatus _10
-
_100
public static final PaymentStatus _100
-
_101
public static final PaymentStatus _101
-
_200
public static final PaymentStatus _200
-
-
Field Detail
-
ALL_PAYMENT_STATUSES
public static final String[] ALL_PAYMENT_STATUSES
-
-
Method Detail
-
values
public static PaymentStatus[] 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 (PaymentStatus c : PaymentStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PaymentStatus 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
-
getDesc_fa
public String getDesc_fa()
-
getDesc_en
public String getDesc_en()
-
toString
@NotNull public @NotNull String toString()
- Overrides:
toStringin classEnum<PaymentStatus>
-
toString
@NotNull public static @NotNull ArrayList<String> toString(@NotNull @NotNull Collection<PaymentStatus> statuses)
-
-