public class ConsolidateFulfillmentFeesActivity extends BaseActivity<PricingContext>
| Modifier and Type | Field and Description |
|---|---|
protected static java.util.Map |
EXPRESSION_CACHE |
protected FulfillmentGroupService |
fulfillmentGroupService |
automaticallyRegisterRollbackHandler, beanName, errorHandler, order, rollbackHandler, rollbackRegion, stateConfiguration| Constructor and Description |
|---|
ConsolidateFulfillmentFeesActivity() |
| Modifier and Type | Method and Description |
|---|---|
PricingContext |
execute(PricingContext 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 java.util.Map EXPRESSION_CACHE
protected FulfillmentGroupService fulfillmentGroupService
public PricingContext execute(PricingContext context) throws java.lang.Exception
Activitycontext - - process context for this workflowjava.lang.Exceptionprotected boolean shouldApplyFeeToFulfillmentGroup(SkuFee fee, FulfillmentGroup fulfillmentGroup)
fee - fulfillmentGroup - Copyright © 2018. All Rights Reserved.