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
-
Method Summary
Modifier and TypeMethodDescriptionURI for retrieving a list of shipping rates for all available shipping methodsURI for retrieving a single rate for a specific shipping methodThe service client to use when interacting with the shipping service.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
The base url for the shipping service.
-
Constructor Details
-
ExternalShippingProperties
public ExternalShippingProperties()
-
-
Method Details
-
getUrl
The base url for the shipping service. -
getServiceClient
The service client to use when interacting with the shipping service. Default is "cartopsclient" -
getAllRatesUri
URI for retrieving a list of shipping rates for all available shipping methods -
getRetrieveRateUri
URI for retrieving a single rate for a specific shipping method -
setUrl
The base url for the shipping service. -
setServiceClient
The service client to use when interacting with the shipping service. Default is "cartopsclient" -
setAllRatesUri
URI for retrieving a list of shipping rates for all available shipping methods -
setRetrieveRateUri
URI for retrieving a single rate for a specific shipping method
-