Class ConsolidateFulfillmentFeesActivity

java.lang.Object
org.broadleafcommerce.core.workflow.BaseActivity<ProcessContext<Order>>
org.broadleafcommerce.core.pricing.service.workflow.ConsolidateFulfillmentFeesActivity
All Implemented Interfaces:
Activity<ProcessContext<Order>>, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanNameAware, org.springframework.core.Ordered

@Component("blConsolidateFulfillmentFeesActivity") public class ConsolidateFulfillmentFeesActivity extends BaseActivity<ProcessContext<Order>>
Author:
Phillip Verheyden
  • Field Details

  • Constructor Details

    • ConsolidateFulfillmentFeesActivity

      public ConsolidateFulfillmentFeesActivity()
  • Method Details

    • execute

      public ProcessContext<Order> execute(ProcessContext<Order> context) throws Exception
      Description copied from interface: Activity
      Called by the encompassing processor to activate the execution of the Activity
      Parameters:
      context - - process context for this workflow
      Returns:
      resulting process context
      Throws:
      Exception
    • shouldApplyFeeToFulfillmentGroup

      protected boolean shouldApplyFeeToFulfillmentGroup(SkuFee fee, FulfillmentGroup fulfillmentGroup)
      If the SkuFee expression is null or empty, this method will always return true
      Parameters:
      fee -
      fulfillmentGroup -
      Returns: