java.lang.Object
com.broadleafcommerce.promotion.offer.service.messaging.autoconfigure.OfferMessagingProperties

@ConfigurationProperties("broadleaf.offer.messaging") public class OfferMessagingProperties extends Object
Author:
Nathan Moore (nathandmoore)
  • Constructor Details

    • OfferMessagingProperties

      public OfferMessagingProperties()
  • Method Details

    • isUseCustomerEmailAsUserTargetValue

      public boolean isUseCustomerEmailAsUserTargetValue()
      When recording OfferAuditDetails, whether to use customer's email on the order as the UserTarget.getTargetValue(). Default is to use the customer's ID, which would be null for guest customers.
    • isErrorIfMaxExceeded

      public boolean isErrorIfMaxExceeded()
      When recording OfferAuditDetails, the system will record an overage of an offer used when this property is set to false. This is recommended for highest performance at the expense of potential small windows of offers being used above the max thresholds
    • setUseCustomerEmailAsUserTargetValue

      public void setUseCustomerEmailAsUserTargetValue(boolean useCustomerEmailAsUserTargetValue)
      When recording OfferAuditDetails, whether to use customer's email on the order as the UserTarget.getTargetValue(). Default is to use the customer's ID, which would be null for guest customers.
    • setErrorIfMaxExceeded

      public void setErrorIfMaxExceeded(boolean errorIfMaxExceeded)
      When recording OfferAuditDetails, the system will record an overage of an offer used when this property is set to false. This is recommended for highest performance at the expense of potential small windows of offers being used above the max thresholds