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
-
Method Summary
Modifier and TypeMethodDescriptionURI for checking inventory for a list of SKUsURI for checking inventory for a particular SKUURI for releasing inventory reservationsURI 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
setReleaseReservationUri
(String releaseReservationUri) URI for releasing inventory reservationsvoid
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 -
getReleaseReservationUri
URI for releasing inventory reservations -
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 -
setReleaseReservationUri
URI for releasing inventory reservations -
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".
-