Class CouponServicesConstants
- java.lang.Object
-
- de.hybris.platform.couponservices.constants.GeneratedCouponServicesConstants
-
- de.hybris.platform.couponservices.constants.CouponServicesConstants
-
public class CouponServicesConstants extends GeneratedCouponServicesConstants
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.couponservices.constants.GeneratedCouponServicesConstants
GeneratedCouponServicesConstants.Attributes, GeneratedCouponServicesConstants.TC
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringCOUPON_CODE_ALREADY_EXISTS_ERROR_CODEThe property that defines coupon code already applied error message code used while coupon code redemption.static java.lang.StringCOUPON_CODE_ALREADY_REDEEMED_ERROR_CODEThe property that defines coupon code has already been redeemed error message code used while coupon code redemption.static java.lang.StringCOUPON_CODE_EXPIRED_ERROR_CODEThe property that defines coupon code expired or not active error message code used while coupon code redemption.static java.lang.StringCOUPON_CODE_GENERATION_ALGORITHM_DEFAULT_VALUEThe default algorithm used for coupon code generation (AES).static java.lang.StringCOUPON_CODE_GENERATION_ALGORITHM_PROPERTYThe property that stores which algorithm to use for coupon code generationstatic java.lang.StringCOUPON_CODE_GENERATION_ALLOW_MULTIBYTE_CHARACTERS_PROPERTYThe property that defines global characterset allows multi byte characters used for coupon code generation.static java.lang.StringCOUPON_CODE_GENERATION_ALPHABET_ALLOW_VARIABLE_LENGTH_PROPERTYThe property that defines alphabet allows variable length used for coupon code generation.static intCOUPON_CODE_GENERATION_ALPHABET_LENGTH_DEFAULT_VALUEThe default alphabet length (16).static java.lang.StringCOUPON_CODE_GENERATION_ALPHABET_LENGTH_PROPERTYThe property that stores the alphabet length for each coupon.static java.lang.StringCOUPON_CODE_GENERATION_GLOBAL_CHARACTERSET_DEFAULT_VALUEThe default character set containing all characters that can be used for coupon codes.static java.lang.StringCOUPON_CODE_GENERATION_GLOBAL_CHARACTERSET_PROPERTYThe property that stores the global character set containing all characters that can be used for coupon codes.static intCOUPON_CODE_GENERATION_KEY_SIZE_DEFAULT_VALUEThe default key size (128).static java.lang.StringCOUPON_CODE_GENERATION_KEY_SIZE_PROPERTYThe property that stores the key size of the algorithm used for coupon code generationstatic java.lang.StringCOUPON_CODE_GENERATION_MEDIA_FOLDER_QUALIFIERThe property that stores the media folder qualifier for generated coupons.static java.lang.StringCOUPON_CODE_GENERATION_MEDIA_FOLDER_QUALIFIER_DEFAULT_VALUEThe default media folder qualifier used for coupon code generation.static java.lang.StringCOUPON_CODE_GENERATION_PICK_ALPHABET_USING_SECURERANDOM_PROPERTYThe property that defines whether to use a SecureRandom (vs.static java.lang.StringCOUPON_CODE_GENERATION_PREFIX_REGEX_DEFAULT_VALUEThe default prefix regex used for coupon code generation.static java.lang.StringCOUPON_CODE_GENERATION_PREFIX_REGEX_PROPERTYThe property that defines the prefix regex used for coupon code generation.static java.lang.StringCOUPON_CODE_GENERATION_SIGNATURE_ALGORITHM_ALLOW_NON_AES_PROPERTYThe property that defines signature algorithm allows non aes used for coupon code generation.static java.lang.StringCOUPON_CODE_INVALID_ERROR_CODEThe property that defines invalid coupon code error message code used while coupon code redemption.static java.lang.StringCOUPON_GENERAL_ERROR_CODEThe property that defines coupon general error code used while coupon code redemption.static java.lang.StringCOUPON_IDSstatic java.lang.StringCOUPON_ORDER_RECALCULATION_ERROR_CODEThe property that defines order recalculation error message code used while coupon code redemption.static java.lang.StringEXTENSIONNAME
-
-
-
Field Detail
-
EXTENSIONNAME
public static final java.lang.String EXTENSIONNAME
- See Also:
- Constant Field Values
-
COUPON_CODE_GENERATION_ALGORITHM_PROPERTY
public static final java.lang.String COUPON_CODE_GENERATION_ALGORITHM_PROPERTY
The property that stores which algorithm to use for coupon code generation- See Also:
- Constant Field Values
-
COUPON_CODE_GENERATION_ALGORITHM_DEFAULT_VALUE
public static final java.lang.String COUPON_CODE_GENERATION_ALGORITHM_DEFAULT_VALUE
The default algorithm used for coupon code generation (AES). This is used for the ciphertext generation.- See Also:
- Constant Field Values
-
COUPON_CODE_GENERATION_KEY_SIZE_PROPERTY
public static final java.lang.String COUPON_CODE_GENERATION_KEY_SIZE_PROPERTY
The property that stores the key size of the algorithm used for coupon code generation- See Also:
- Constant Field Values
-
COUPON_CODE_GENERATION_KEY_SIZE_DEFAULT_VALUE
public static final int COUPON_CODE_GENERATION_KEY_SIZE_DEFAULT_VALUE
The default key size (128). Note: If you want to increase the keysize for AES to 192 or 256 you need to install the Java Cryptography Extension (JCE)- See Also:
- Constant Field Values
-
COUPON_CODE_GENERATION_GLOBAL_CHARACTERSET_PROPERTY
public static final java.lang.String COUPON_CODE_GENERATION_GLOBAL_CHARACTERSET_PROPERTY
The property that stores the global character set containing all characters that can be used for coupon codes. From this a randomly shuffled coupon alphabet is selected when a new coupon is created.- See Also:
- Constant Field Values
-
COUPON_CODE_GENERATION_GLOBAL_CHARACTERSET_DEFAULT_VALUE
public static final java.lang.String COUPON_CODE_GENERATION_GLOBAL_CHARACTERSET_DEFAULT_VALUE
The default character set containing all characters that can be used for coupon codes.- See Also:
- Constant Field Values
-
COUPON_CODE_GENERATION_ALPHABET_LENGTH_PROPERTY
public static final java.lang.String COUPON_CODE_GENERATION_ALPHABET_LENGTH_PROPERTY
The property that stores the alphabet length for each coupon.- See Also:
- Constant Field Values
-
COUPON_CODE_GENERATION_MEDIA_FOLDER_QUALIFIER
public static final java.lang.String COUPON_CODE_GENERATION_MEDIA_FOLDER_QUALIFIER
The property that stores the media folder qualifier for generated coupons.- See Also:
- Constant Field Values
-
COUPON_CODE_GENERATION_MEDIA_FOLDER_QUALIFIER_DEFAULT_VALUE
public static final java.lang.String COUPON_CODE_GENERATION_MEDIA_FOLDER_QUALIFIER_DEFAULT_VALUE
The default media folder qualifier used for coupon code generation.- See Also:
- Constant Field Values
-
COUPON_CODE_GENERATION_ALPHABET_LENGTH_DEFAULT_VALUE
public static final int COUPON_CODE_GENERATION_ALPHABET_LENGTH_DEFAULT_VALUE
The default alphabet length (16). Note that the default implementation for coupon code generation only supports the default value.- See Also:
- Constant Field Values
-
COUPON_CODE_GENERATION_PICK_ALPHABET_USING_SECURERANDOM_PROPERTY
public static final java.lang.String COUPON_CODE_GENERATION_PICK_ALPHABET_USING_SECURERANDOM_PROPERTY
The property that defines whether to use a SecureRandom (vs. a regular java.util.Random) for randomly picking an alphabet for each coupon. Setting this property totrueresults in using SecureRandom. Note that if your hybris installation runs on a VM, using SecureRandom requires special setup in order to avoid poor performance.- See Also:
- Constant Field Values
-
COUPON_CODE_GENERATION_PREFIX_REGEX_PROPERTY
public static final java.lang.String COUPON_CODE_GENERATION_PREFIX_REGEX_PROPERTY
The property that defines the prefix regex used for coupon code generation.- See Also:
- Constant Field Values
-
COUPON_CODE_GENERATION_PREFIX_REGEX_DEFAULT_VALUE
public static final java.lang.String COUPON_CODE_GENERATION_PREFIX_REGEX_DEFAULT_VALUE
The default prefix regex used for coupon code generation.- See Also:
- Constant Field Values
-
COUPON_CODE_GENERATION_ALLOW_MULTIBYTE_CHARACTERS_PROPERTY
public static final java.lang.String COUPON_CODE_GENERATION_ALLOW_MULTIBYTE_CHARACTERS_PROPERTY
The property that defines global characterset allows multi byte characters used for coupon code generation.- See Also:
- Constant Field Values
-
COUPON_CODE_GENERATION_SIGNATURE_ALGORITHM_ALLOW_NON_AES_PROPERTY
public static final java.lang.String COUPON_CODE_GENERATION_SIGNATURE_ALGORITHM_ALLOW_NON_AES_PROPERTY
The property that defines signature algorithm allows non aes used for coupon code generation.- See Also:
- Constant Field Values
-
COUPON_CODE_GENERATION_ALPHABET_ALLOW_VARIABLE_LENGTH_PROPERTY
public static final java.lang.String COUPON_CODE_GENERATION_ALPHABET_ALLOW_VARIABLE_LENGTH_PROPERTY
The property that defines alphabet allows variable length used for coupon code generation.- See Also:
- Constant Field Values
-
COUPON_CODE_INVALID_ERROR_CODE
public static final java.lang.String COUPON_CODE_INVALID_ERROR_CODE
The property that defines invalid coupon code error message code used while coupon code redemption.- See Also:
- Constant Field Values
-
COUPON_CODE_ALREADY_REDEEMED_ERROR_CODE
public static final java.lang.String COUPON_CODE_ALREADY_REDEEMED_ERROR_CODE
The property that defines coupon code has already been redeemed error message code used while coupon code redemption.- See Also:
- Constant Field Values
-
COUPON_ORDER_RECALCULATION_ERROR_CODE
public static final java.lang.String COUPON_ORDER_RECALCULATION_ERROR_CODE
The property that defines order recalculation error message code used while coupon code redemption.- See Also:
- Constant Field Values
-
COUPON_CODE_EXPIRED_ERROR_CODE
public static final java.lang.String COUPON_CODE_EXPIRED_ERROR_CODE
The property that defines coupon code expired or not active error message code used while coupon code redemption.- See Also:
- Constant Field Values
-
COUPON_CODE_ALREADY_EXISTS_ERROR_CODE
public static final java.lang.String COUPON_CODE_ALREADY_EXISTS_ERROR_CODE
The property that defines coupon code already applied error message code used while coupon code redemption.- See Also:
- Constant Field Values
-
COUPON_GENERAL_ERROR_CODE
public static final java.lang.String COUPON_GENERAL_ERROR_CODE
The property that defines coupon general error code used while coupon code redemption.- See Also:
- Constant Field Values
-
COUPON_IDS
public static final java.lang.String COUPON_IDS
- See Also:
- Constant Field Values
-
-