Class UpdateShipmentAccountDelegate

java.lang.Object
com.skava.oms.flow.AbstractOrderSynchronousProcessFlowAdapter
com.skava.oms.flow.adapter.UpdateShipmentAccountDelegate
All Implemented Interfaces:
org.camunda.bpm.engine.delegate.JavaDelegate

@Component public class UpdateShipmentAccountDelegate extends AbstractOrderSynchronousProcessFlowAdapter
This class UpdateShipmentAccountDelegate defines the process flow for account B2B integration from Accounts.
Since:
20-Apr-2020
Author:
Infosys Equinox
  • Field Details

  • Constructor Details

    • UpdateShipmentAccountDelegate

      @Autowired public UpdateShipmentAccountDelegate(com.skava.core.properties.AuthorizationProperties authProps)
  • Method Details

    • process

      public void process(org.camunda.bpm.engine.delegate.DelegateExecution execution, OrderProcessData orderProcessData, Order order)
      Default shipment flow Process, calculate the order values for the orders and send the event will be executed automatically once this event finished. This process will create account payload to send account service for locking this account budget.
      Specified by:
      process in class AbstractOrderSynchronousProcessFlowAdapter
      Parameters:
      execution - Contains DelegateExecution object for shipment account budget adjustment flow.
      orderProcessData - contains OrderProcessData for shipment account budget adjustment flow.
      order - Contains Order object shipment account budget adjustment flow.