public class ConsolidateFulfillmentFeesActivity extends BaseActivity<ProcessContext<Order>>
| Modifier and Type | Field and Description |
|---|---|
protected static Map |
EXPRESSION_CACHE |
protected FulfillmentGroupService |
fulfillmentGroupService |
automaticallyRegisterRollbackHandler, beanName, errorHandler, order, rollbackHandler, rollbackRegion, stateConfiguration| Constructor and Description |
|---|
ConsolidateFulfillmentFeesActivity() |
| Modifier and Type | Method and Description |
|---|---|
ProcessContext<Order> |
execute(ProcessContext<Order> context)
Called by the encompassing processor to activate
the execution of the Activity
|
protected boolean |
shouldApplyFeeToFulfillmentGroup(SkuFee fee,
FulfillmentGroup fulfillmentGroup)
If the SkuFee expression is null or empty, this method will always return true
|
getAutomaticallyRegisterRollbackHandler, getBeanName, getErrorHandler, getOrder, getRollbackHandler, getRollbackRegion, getStateConfiguration, setAutomaticallyRegisterRollbackHandler, setBeanName, setErrorHandler, setOrder, setRollbackHandler, setRollbackRegion, setStateConfiguration, shouldExecuteprotected static final Map EXPRESSION_CACHE
protected FulfillmentGroupService fulfillmentGroupService
public ProcessContext<Order> execute(ProcessContext<Order> context) throws Exception
Activitycontext - - process context for this workflowExceptionprotected boolean shouldApplyFeeToFulfillmentGroup(SkuFee fee, FulfillmentGroup fulfillmentGroup)
fee - fulfillmentGroup - Copyright © 2014. All Rights Reserved.