Enum Class OfferNotAppliedReasonEnum
java.lang.Object
java.lang.Enum<OfferNotAppliedReasonEnum>
com.broadleafcommerce.promotion.offer.service.dto.OfferNotAppliedReasonEnum
- All Implemented Interfaces:
Serializable
,Comparable<OfferNotAppliedReasonEnum>
,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe offer code on the order was not found during lookup.The fulfillment group did not meet the criteria specified on the offer.The sum of the fulfillment group items did not meet the item subtotal specified on the offer.The qualifying items on this order did not meet the criteria for this offer.The target item criteria for this offer was not met on this order.The offer did not provide the best adjustment value for this order.The offer could not calculate a valid discount for this order.No target item criteria rules were specified; they are required to exist for this offer.The order did not meet the criteria specified on the offer.The order did not meet the minimum subtotal specified on the offer.The order did not meet the qualifying item criteria for this offer.The sum of the qualifying items subtotal on this order did not meet the criteria for this offer.The order did not meet the target item criteria for this offer.The target item subtotal for this offer was not met on this order.The date and/or time of the order request did not meet the criteria specified on the offer.The offer has reached its max usage for the current customer and/or code. -
Method Summary
Modifier and TypeMethodDescriptionstatic OfferNotAppliedReasonEnum
Returns the enum constant of this class with the specified name.static OfferNotAppliedReasonEnum[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CODE_NOT_FOUND
The offer code on the order was not found during lookup. -
ORDER_SUBTOTAL_NOT_MET
The order did not meet the minimum subtotal specified on the offer. -
ORDER_CRITERIA_NOT_MET
The order did not meet the criteria specified on the offer. -
TIME_CRITERIA_NOT_MET
The date and/or time of the order request did not meet the criteria specified on the offer. -
USES_EXCEEDED
The offer has reached its max usage for the current customer and/or code. -
ITEM_QUALIFICATIONS_NOT_MET
The qualifying items on this order did not meet the criteria for this offer. -
QUALIFYING_TOTAL_NOT_MET
The sum of the qualifying items subtotal on this order did not meet the criteria for this offer. -
FULFILLMENT_GROUP_CRITERIA_NOT_MET
The fulfillment group did not meet the criteria specified on the offer. -
FULFILLMENT_GROUP_ITEM_SUBTOTAL_NOT_MET
The sum of the fulfillment group items did not meet the item subtotal specified on the offer. -
OFFER_SETUP_ERROR_NO_TARGET_CRITERIA
No target item criteria rules were specified; they are required to exist for this offer. -
ITEM_TARGETS_NOT_MET
The target item criteria for this offer was not met on this order. -
TARGET_SUBTOTAL_NOT_MET
The target item subtotal for this offer was not met on this order. -
QUALIFYING_ITEM_CRITERIA_NOT_MET
The order did not meet the qualifying item criteria for this offer. -
TARGET_ITEM_CRITERIA_NOT_MET
The order did not meet the target item criteria for this offer. -
NOT_BEST_OFFER_DISCOUNT
The offer did not provide the best adjustment value for this order. -
OFFER_DISCOUNT_VALUE_INVALID
The offer could not calculate a valid discount for this order. -
ITEM_TARGETS_NOT_FOUND
-
ITEM_QUALIFIERS_NOT_FOUND
-
OFFER_NOT_ACTIVE
-
-
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
-
messagePath
-