Class ExternalInventoryProperties
java.lang.Object
com.broadleafcommerce.cartoperation.service.provider.external.ExternalInventoryProperties
@ConfigurationProperties("broadleaf.cartoperation.inventoryprovider")
public class ExternalInventoryProperties
extends Object
Properties for interacting with an external Inventory system.
- Author:
- Kelly Tisdell (ktisdell)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionURI for checking inventory for a list of SKUsURI for checking inventory for a particular SKUURI for reserving inventoryThe service client to use when calling inventory services.getUrl()
The base url for an external inventory service.void
setBulkCheckAvailabilityUri
(String bulkCheckAvailabilityUri) URI for checking inventory for a list of SKUsvoid
setCheckAvailabilityUri
(String checkAvailabilityUri) URI for checking inventory for a particular SKUvoid
setReserveUri
(String reserveUri) URI for reserving inventoryvoid
setServiceClient
(String serviceClient) The service client to use when calling inventory services.void
The base url for an external inventory service.
-
Constructor Details
-
ExternalInventoryProperties
public ExternalInventoryProperties()
-
-
Method Details
-
getUrl
The base url for an external inventory service. -
getReserveUri
URI for reserving inventory -
getCheckAvailabilityUri
URI for checking inventory for a particular SKU -
getBulkCheckAvailabilityUri
URI for checking inventory for a list of SKUs -
getServiceClient
The service client to use when calling inventory services. Default is "cartopsclient". -
setUrl
The base url for an external inventory service. -
setReserveUri
URI for reserving inventory -
setCheckAvailabilityUri
URI for checking inventory for a particular SKU -
setBulkCheckAvailabilityUri
URI for checking inventory for a list of SKUs -
setServiceClient
The service client to use when calling inventory services. Default is "cartopsclient".
-