public class InStoreProductAvailabilityPopulator extends Object
ProductData.getAvailableInCurrentStore().| Constructor and Description |
|---|
InStoreProductAvailabilityPopulator() |
| Modifier and Type | Method and Description |
|---|---|
protected CommerceStockService |
getCommerceStockService() |
protected InStoreService |
getInStoreService() |
protected Boolean |
isAvailable(ProductModel product)
Checks if the products is available in the current store
|
void |
populate(ProductModel source,
ProductData target) |
void |
setCommerceStockService(CommerceStockService commerceStockService) |
void |
setInStoreService(InStoreService inStoreService) |
public void populate(ProductModel source, ProductData target) throws ConversionException
ConversionExceptionprotected Boolean isAvailable(ProductModel product)
product - - Product to checkprotected CommerceStockService getCommerceStockService()
protected InStoreService getInStoreService()
public void setInStoreService(InStoreService inStoreService)
inStoreService - the inStoreService to setpublic void setCommerceStockService(CommerceStockService commerceStockService)
commerceStockService - the commerceStockService to setCopyright © 2017 SAP SE. All Rights Reserved.