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 Constructor Description ExternalInventoryProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getBulkCheckAvailabilityUri()
URI for checking inventory for a list of SKUsString
getCheckAvailabilityUri()
URI for checking inventory for a particular SKUString
getReserveUri()
URI for reserving inventoryString
getServiceClient()
The service client to use when calling inventory services.String
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
setUrl(String url)
The base url for an external inventory service.
-
-
-
Method Detail
-
getUrl
public String getUrl()
The base url for an external inventory service.
-
getReserveUri
public String getReserveUri()
URI for reserving inventory
-
getCheckAvailabilityUri
public String getCheckAvailabilityUri()
URI for checking inventory for a particular SKU
-
getBulkCheckAvailabilityUri
public String getBulkCheckAvailabilityUri()
URI for checking inventory for a list of SKUs
-
getServiceClient
public String getServiceClient()
The service client to use when calling inventory services. Default is "cartopsclient".
-
setUrl
public void setUrl(String url)
The base url for an external inventory service.
-
setReserveUri
public void setReserveUri(String reserveUri)
URI for reserving inventory
-
setCheckAvailabilityUri
public void setCheckAvailabilityUri(String checkAvailabilityUri)
URI for checking inventory for a particular SKU
-
setBulkCheckAvailabilityUri
public void setBulkCheckAvailabilityUri(String bulkCheckAvailabilityUri)
URI for checking inventory for a list of SKUs
-
setServiceClient
public void setServiceClient(String serviceClient)
The service client to use when calling inventory services. Default is "cartopsclient".
-
-