Class FulfillmentGroupPricingActivity

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

@Component("blFulfillmentGroupPricingActivity") public class FulfillmentGroupPricingActivity extends BaseActivity<ProcessContext<Order>>
Called during the pricing workflow to compute all of the fulfillment costs for all of the FulfillmentGroups on an Order and updates Order with the total price of all of the FufillmentGroups
Author:
Phillip Verheyden
  • Field Details

  • Constructor Details

    • FulfillmentGroupPricingActivity

      public FulfillmentGroupPricingActivity()
  • Method Details

    • setFulfillmentPricingService

      public void setFulfillmentPricingService(FulfillmentPricingService fulfillmentPricingService)
    • 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