Class ExternalCampaignProperties


  • @ConfigurationProperties("broadleaf.cartoperation.campaignprovider")
    public class ExternalCampaignProperties
    extends Object
    • Constructor Detail

      • ExternalCampaignProperties

        public ExternalCampaignProperties()
    • Method Detail

      • getUrl

        public String getUrl()
        The base url for an external campaign service.
      • getCampaignAuditDetailsUri

        public String getCampaignAuditDetailsUri()
        The URI context path for recording a campaign code usage.
      • getUsabilityInfoUri

        public String getUsabilityInfoUri()
        The URI context path to append to campaignAuditDetailsUri that defines the endpoint responsible for providing whether a campaign code is usable, usually before it is applied.
      • getValidateUri

        public String getValidateUri()
        The URI context path to append to campaignAuditDetailsUri that defines the endpoint responsible for validating campaign code usages after they're added to the cart, usually during checkout submission to make sure codes are still valid.
      • getServiceClient

        public String getServiceClient()
        The service client to use when calling campaign services. Default is "cartopsclient".
      • setUrl

        public void setUrl​(String url)
        The base url for an external campaign service.
      • setCampaignAuditDetailsUri

        public void setCampaignAuditDetailsUri​(String campaignAuditDetailsUri)
        The URI context path for recording a campaign code usage.
      • setUsabilityInfoUri

        public void setUsabilityInfoUri​(String usabilityInfoUri)
        The URI context path to append to campaignAuditDetailsUri that defines the endpoint responsible for providing whether a campaign code is usable, usually before it is applied.
      • setValidateUri

        public void setValidateUri​(String validateUri)
        The URI context path to append to campaignAuditDetailsUri that defines the endpoint responsible for validating campaign code usages after they're added to the cart, usually during checkout submission to make sure codes are still valid.
      • setServiceClient

        public void setServiceClient​(String serviceClient)
        The service client to use when calling campaign services. Default is "cartopsclient".