Package com.skava.promotion.constant
Enum Class PromoCodeListResponseCode
- All Implemented Interfaces:
Serializable
,Comparable<PromoCodeListResponseCode>
,Constable
This class contains constants that are used for promo code list response
- Since:
- 8.0
- Version:
- 8.0
- Author:
- Infosys Equinox
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe response code for invalid statusThe response code in case of promo list already usedThe success response code for list deletionThe response code for duplicate promo codeThe success response code for clear operationThe response code in case of invalid sizeThe response code for list does not existThe response code for list emptyThe response code for promo codes with common lengthThe response code for invalid promo codesThe success response code for promo code list creationThe success response code for loading all promo code listsThe response code for list emptyThe success response code for loading a promo code listThe response code for invalid collection idThe response code for invalid localeThe response code for invalid nameThe response code for promo codes with common lengthThe success response code for loading a promo code listThe response code for invalid promo codes in the list updateThe success response code for promo code list update -
Method Summary
Modifier and TypeMethodDescriptionstatic PromoCodeListResponseCode
Returns the enum constant of this class with the specified name.static PromoCodeListResponseCode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ENTITY_PROMOCODES
-
INVALID_PROMOCODES_SIZE
-
INVALID_PROMOCODES
-
DUPLICATE_DATA
-
DEFAUT_PAGE
-
DEFAUT_SIZE
-
FIND_SUCCESS
-
EMPTY_DATA
-
ALREADY_USED
-
CLEAR_SUCCESS
-
HIDDEN_FIELD_UPDATE_FAILURE
-
FIND_PROMOCODES_SUCCESS
-
INVALID_STATUS
-
PROMOCODES_LIST_CREATE_SUCCESS
The success response code for promo code list creation -
PROMOCODES_LIST_FIND_ALL_SUCCESS
The success response code for loading all promo code lists -
PROMOCODES_LIST_FIND_SUCCESS
The success response code for loading a promo code list -
PROMOCODES_LIST_ITEMS_FIND_SUCCESS
The success response code for loading a promo code list -
PROMOCODES_LIST_FIND_EMPTY_DATA
The response code for list empty -
PROMOCODES_FIND_EMPTY_DATA
The response code for list empty -
PROMOCODES_LIST_INVALID_LOCALE
The response code for invalid locale -
PROMOCODES_LIST_INVALID_COLLECTION_ID
The response code for invalid collection id -
DELETE_PROMOCODES_LIST_STATUS_ACTIVE
The response code for invalid status -
PROMOCODES_LIST_INVALID_NAME
The response code for invalid name -
PROMOCODES_LIST_CREATE_INVALID_PROMOCODES
The response code for invalid promo codes -
PROMOCODES_LIST_COMMON_PROMOCODES_LENGTH
The response code for promo codes with common length -
PROMOCODES_LIST_INVALID_STATUS
The response code for promo codes with common length -
PROMOCODES_LIST_UPDATE_INVALID_PROMOCODES
The response code for invalid promo codes in the list update -
PROMOCODES_LIST_UPDATE_SUCCESS
The success response code for promo code list update -
PROMOCODE_LIST_NOT_EXISTS
The response code for list does not exist -
PROMOCODE_LIST_DUPLICATE_PROMOCODES
The response code for duplicate promo code -
PROMOCODE_LIST_LOAD_INVALID_SIZE
The response code in case of invalid size -
PROMOCODE_LIST_ALREADY_USED
The response code in case of promo list already used -
PROMOCODE_LIST_DELETE_SUCCESS
The success response code for list deletion -
PROMOCODE_LIST_ITEMS_CLEAR_SUCCESS
The success response code for clear operation -
COULD_NOT_UPDATE_PROMOCODE_LIST_HIDDEN_FIELD
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-