Package com.onslip360
Enum API.Metadata.Type
- java.lang.Object
-
- java.lang.Enum<API.Metadata.Type>
-
- com.onslip360.API.Metadata.Type
-
- All Implemented Interfaces:
Serializable
,Comparable<API.Metadata.Type>
- Enclosing class:
- API.Metadata
public static enum API.Metadata.Type extends Enum<API.Metadata.Type>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description __
CARD_RECEIPT
COUPON_VOUCHER
CURRENCY
ERP_INVOICE
PAYMENT_VOUCHER
PRE_PAID
SWISH_TRANSACTION
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static API.Metadata.Type
valueOf(String name)
Returns the enum constant of this type with the specified name.static API.Metadata.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PAYMENT_VOUCHER
public static final API.Metadata.Type PAYMENT_VOUCHER
-
COUPON_VOUCHER
public static final API.Metadata.Type COUPON_VOUCHER
-
CARD_RECEIPT
public static final API.Metadata.Type CARD_RECEIPT
-
SWISH_TRANSACTION
public static final API.Metadata.Type SWISH_TRANSACTION
-
CURRENCY
public static final API.Metadata.Type CURRENCY
-
PRE_PAID
public static final API.Metadata.Type PRE_PAID
-
ERP_INVOICE
public static final API.Metadata.Type ERP_INVOICE
-
__
public static final API.Metadata.Type __
-
-
Method Detail
-
values
public static API.Metadata.Type[] 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 (API.Metadata.Type c : API.Metadata.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static API.Metadata.Type 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
-
-