Class AuditVerficationProperties

java.lang.Object
com.broadleafcommerce.promotion.offer.web.context.AuditVerficationProperties

@ConfigurationProperties("broadleaf.offer.audit.verification") public class AuditVerficationProperties extends Object
Configuration properties for controlling which audit checks run for the various flows. By default, audit checks are disabled while running the applyOffer and marketing message endpoints but on during the endpoints that retrieve and validateOfferUsage endpoints.
Author:
bpolster
  • Field Details

  • Constructor Details

    • AuditVerficationProperties

      public AuditVerficationProperties()
  • Method Details

    • lookupOfferVerificationFlagsForFlow

      public Optional<AuditVerificationFlags> lookupOfferVerificationFlagsForFlow(String flow)
    • updateAuditVerificationProperties

      public void updateAuditVerificationProperties(String flow, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, boolean skipChecksByDefault)
      Audit verification properties provide a mechanism for controlling when the audit checks are performed. By default, the system will not run audit during marketing, apply offer, and evaluate offer flows but will run everywhere else.
      Parameters:
      flow -
      context -
      skipChecksByDefault -
    • updateAuditVerificationProperties

      public void updateAuditVerificationProperties(String flow, com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
    • getAuditVerificationMap

      public Map<String,AuditVerificationFlags> getAuditVerificationMap()

      Controls a AuditVerificationFlags that maps to the individual customer.

    • setAuditVerificationMap

      public void setAuditVerificationMap(Map<String,AuditVerificationFlags> auditVerificationMap)

      Controls a AuditVerificationFlags that maps to the individual customer.

    • toString

      public String toString()
      Overrides:
      toString in class Object