Class ExternalCampaignProperties
- java.lang.Object
-
- com.broadleafcommerce.cartoperation.service.provider.external.ExternalCampaignProperties
-
@ConfigurationProperties("broadleaf.cartoperation.campaignprovider") public class ExternalCampaignProperties extends Object
-
-
Constructor Summary
Constructors Constructor Description ExternalCampaignProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCampaignAuditDetailsUri()
The URI context path for recording a campaign code usage.String
getServiceClient()
The service client to use when calling campaign services.String
getUrl()
The base url for an external campaign service.String
getUsabilityInfoUri()
The URI context path to append tocampaignAuditDetailsUri
that defines the endpoint responsible for providing whether a campaign code is usable, usually before it is applied.String
getValidateUri()
The URI context path to append tocampaignAuditDetailsUri
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.void
setCampaignAuditDetailsUri(String campaignAuditDetailsUri)
The URI context path for recording a campaign code usage.void
setServiceClient(String serviceClient)
The service client to use when calling campaign services.void
setUrl(String url)
The base url for an external campaign service.void
setUsabilityInfoUri(String usabilityInfoUri)
The URI context path to append tocampaignAuditDetailsUri
that defines the endpoint responsible for providing whether a campaign code is usable, usually before it is applied.void
setValidateUri(String validateUri)
The URI context path to append tocampaignAuditDetailsUri
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.
-
-
-
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 tocampaignAuditDetailsUri
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 tocampaignAuditDetailsUri
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 tocampaignAuditDetailsUri
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 tocampaignAuditDetailsUri
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".
-
-