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 releasing inventory reservationsURI for reserving inventoryThe service client to use when calling inventory services.getUrl()The base url for an external inventory service.voidsetBulkCheckAvailabilityUri(String bulkCheckAvailabilityUri) URI for checking inventory for a list of SKUsvoidsetCheckAvailabilityUri(String checkAvailabilityUri) URI for checking inventory for a particular SKUvoidsetReleaseReservationUri(String releaseReservationUri) URI for releasing inventory reservationsvoidsetReserveUri(String reserveUri) URI for reserving inventoryvoidsetServiceClient(String serviceClient) The service client to use when calling inventory services.voidThe 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".
-