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 -
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.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.voidThe 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
-