Class ExternalShippingProperties
- java.lang.Object
-
- com.broadleafcommerce.cartoperation.service.provider.external.ExternalShippingProperties
-
@ConfigurationProperties("broadleaf.cartoperation.shippingprovider") public class ExternalShippingProperties extends Object
Properties 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 String
getAllRatesUri()
URI for retrieving a list of shipping rates for all available shipping methodsString
getRetrieveRateUri()
URI for retrieving a single rate for a specific shipping methodString
getServiceClient()
The service client to use when interacting with the shipping service.String
getUrl()
The base url for the shipping service.void
setAllRatesUri(String allRatesUri)
URI for retrieving a list of shipping rates for all available shipping methodsvoid
setRetrieveRateUri(String retrieveRateUri)
URI for retrieving a single rate for a specific shipping methodvoid
setServiceClient(String serviceClient)
The service client to use when interacting with the shipping service.void
setUrl(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
-
-