public abstract class AbstractCheckAvailabilityActivity extends BaseActivity<ProcessContext<CartOperationRequest>>
| Modifier and Type | Field and Description |
|---|---|
protected ContextualInventoryService |
inventoryService |
automaticallyRegisterRollbackHandler, beanName, errorHandler, order, rollbackHandler, rollbackRegion, stateConfiguration| Constructor and Description |
|---|
AbstractCheckAvailabilityActivity() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkSkuAvailability(Order order,
Sku sku,
Integer requestedQuantity) |
getAutomaticallyRegisterRollbackHandler, getBeanName, getErrorHandler, getOrder, getRollbackHandler, getRollbackRegion, getStateConfiguration, setAutomaticallyRegisterRollbackHandler, setBeanName, setErrorHandler, setOrder, setRollbackHandler, setRollbackRegion, setStateConfiguration, shouldExecuteprotected ContextualInventoryService inventoryService
protected void checkSkuAvailability(Order order, Sku sku, Integer requestedQuantity) throws InventoryUnavailableException
InventoryUnavailableExceptionCopyright © 2017. All rights reserved.