Class ExternalShippingProperties
- java.lang.Object
-
- com.broadleafcommerce.cartoperation.service.provider.external.ExternalShippingProperties
-
@ConfigurationProperties("broadleaf.cartoperation.shippingprovider") public class ExternalShippingProperties extends ObjectProperties defining how to interact with the shipping service.
-
-
Constructor Summary
Constructors Constructor Description ExternalShippingProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAllRatesUri()URI for retrieving a list of shipping rates for all available shipping methodsStringgetRetrieveRateUri()URI for retrieving a single rate for a specific shipping methodStringgetServiceClient()The service client to use when interacting with the shipping service.StringgetUrl()The base url for the shipping service.voidsetAllRatesUri(String allRatesUri)URI for retrieving a list of shipping rates for all available shipping methodsvoidsetRetrieveRateUri(String retrieveRateUri)URI for retrieving a single rate for a specific shipping methodvoidsetServiceClient(String serviceClient)The service client to use when interacting with the shipping service.voidsetUrl(String url)The base url for the shipping service.
-
-
-
Method Detail
-
getUrl
public String getUrl()
The base url for the shipping service.
-
getServiceClient
public String getServiceClient()
The service client to use when interacting with the shipping service. Default is "cartopsclient"
-
getAllRatesUri
public String getAllRatesUri()
URI for retrieving a list of shipping rates for all available shipping methods
-
getRetrieveRateUri
public String getRetrieveRateUri()
URI for retrieving a single rate for a specific shipping method
-
setUrl
public void setUrl(String url)
The base url for the shipping service.
-
setServiceClient
public void setServiceClient(String serviceClient)
The service client to use when interacting with the shipping service. Default is "cartopsclient"
-
setAllRatesUri
public void setAllRatesUri(String allRatesUri)
URI for retrieving a list of shipping rates for all available shipping methods
-
setRetrieveRateUri
public void setRetrieveRateUri(String retrieveRateUri)
URI for retrieving a single rate for a specific shipping method
-
-