Enum Class OfferNotAppliedReasonEnum

java.lang.Object
java.lang.Enum<OfferNotAppliedReasonEnum>
com.broadleafcommerce.promotion.offer.service.dto.OfferNotAppliedReasonEnum
All Implemented Interfaces:
Serializable, Comparable<OfferNotAppliedReasonEnum>, Constable

public enum OfferNotAppliedReasonEnum extends Enum<OfferNotAppliedReasonEnum>
  • Enum Constant Details

    • CODE_NOT_FOUND

      public static final OfferNotAppliedReasonEnum CODE_NOT_FOUND
      The offer code on the order was not found during lookup.
    • ORDER_SUBTOTAL_NOT_MET

      public static final OfferNotAppliedReasonEnum ORDER_SUBTOTAL_NOT_MET
      The order did not meet the minimum subtotal specified on the offer.
    • ORDER_CRITERIA_NOT_MET

      public static final OfferNotAppliedReasonEnum ORDER_CRITERIA_NOT_MET
      The order did not meet the criteria specified on the offer.
    • TIME_CRITERIA_NOT_MET

      public static final OfferNotAppliedReasonEnum TIME_CRITERIA_NOT_MET
      The date and/or time of the order request did not meet the criteria specified on the offer.
    • USES_EXCEEDED

      public static final OfferNotAppliedReasonEnum USES_EXCEEDED
      The offer has reached its max usage for the current customer and/or code.
    • ITEM_QUALIFICATIONS_NOT_MET

      public static final OfferNotAppliedReasonEnum ITEM_QUALIFICATIONS_NOT_MET
      The qualifying items on this order did not meet the criteria for this offer.
    • QUALIFYING_TOTAL_NOT_MET

      public static final OfferNotAppliedReasonEnum 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

      public static final OfferNotAppliedReasonEnum FULFILLMENT_GROUP_CRITERIA_NOT_MET
      The fulfillment group did not meet the criteria specified on the offer.
    • FULFILLMENT_GROUP_ITEM_SUBTOTAL_NOT_MET

      public static final OfferNotAppliedReasonEnum 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

      public static final OfferNotAppliedReasonEnum 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

      public static final OfferNotAppliedReasonEnum ITEM_TARGETS_NOT_MET
      The target item criteria for this offer was not met on this order.
    • TARGET_SUBTOTAL_NOT_MET

      public static final OfferNotAppliedReasonEnum TARGET_SUBTOTAL_NOT_MET
      The target item subtotal for this offer was not met on this order.
    • QUALIFYING_ITEM_CRITERIA_NOT_MET

      public static final OfferNotAppliedReasonEnum QUALIFYING_ITEM_CRITERIA_NOT_MET
      The order did not meet the qualifying item criteria for this offer.
    • TARGET_ITEM_CRITERIA_NOT_MET

      public static final OfferNotAppliedReasonEnum TARGET_ITEM_CRITERIA_NOT_MET
      The order did not meet the target item criteria for this offer.
    • NOT_BEST_OFFER_DISCOUNT

      public static final OfferNotAppliedReasonEnum NOT_BEST_OFFER_DISCOUNT
      The offer did not provide the best adjustment value for this order.
    • OFFER_DISCOUNT_VALUE_INVALID

      public static final OfferNotAppliedReasonEnum OFFER_DISCOUNT_VALUE_INVALID
      The offer could not calculate a valid discount for this order.
    • ITEM_TARGETS_NOT_FOUND

      public static final OfferNotAppliedReasonEnum ITEM_TARGETS_NOT_FOUND
    • ITEM_QUALIFIERS_NOT_FOUND

      public static final OfferNotAppliedReasonEnum ITEM_QUALIFIERS_NOT_FOUND
    • OFFER_NOT_ACTIVE

      public static final OfferNotAppliedReasonEnum OFFER_NOT_ACTIVE
  • Method Details

    • values

      public static OfferNotAppliedReasonEnum[] 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

      public static OfferNotAppliedReasonEnum valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • messagePath

      public String messagePath()