Class SapSendRCConsignmentToExternalFulfillmentSystemStrategy

java.lang.Object
com.sap.hybris.ysapcpircomsfulfillment.strategy.SapSendRCConsignmentToExternalFulfillmentSystemStrategy
All Implemented Interfaces:
de.hybris.platform.warehousing.externalfulfillment.strategy.SendConsignmentToExternalFulfillmentSystemStrategy

public class SapSendRCConsignmentToExternalFulfillmentSystemStrategy extends Object implements de.hybris.platform.warehousing.externalfulfillment.strategy.SendConsignmentToExternalFulfillmentSystemStrategy
Strategy class to send order to subscription billing system
  • Field Details

  • Constructor Details

    • SapSendRCConsignmentToExternalFulfillmentSystemStrategy

      public SapSendRCConsignmentToExternalFulfillmentSystemStrategy()
  • Method Details

    • sendConsignment

      public void sendConsignment(ConsignmentModel consignment)
      Specified by:
      sendConsignment in interface de.hybris.platform.warehousing.externalfulfillment.strategy.SendConsignmentToExternalFulfillmentSystemStrategy
    • sendRCOrderToScpi

      protected rx.Single<org.springframework.http.ResponseEntity<Map>> sendRCOrderToScpi(ConsignmentModel consignment, OrderHistoryEntryModel orderHistoryEntry)
    • initializeOrderHistory

      protected OrderHistoryEntryModel initializeOrderHistory(OrderModel order)
      Initialize an entry in the order history for the SAP order before sending it to the external system
      Parameters:
      order - Order
      Returns:
      historyEntry
    • initializeSapOrder

      protected SAPOrderModel initializeSapOrder(OrderHistoryEntryModel orderHistoryEntry, ConsignmentModel consignment)
      Initialize an SAP order from the parent Hybris order
      Parameters:
      orderHistoryEntry - Order History
      consignment - Consignment
      Returns:
      SAPOrderModel
    • getOrderHistoryService

      public de.hybris.platform.orderhistory.OrderHistoryService getOrderHistoryService()
      Returns:
      the orderHistoryService
    • setOrderHistoryService

      public void setOrderHistoryService(de.hybris.platform.orderhistory.OrderHistoryService orderHistoryService)
      Parameters:
      orderHistoryService - the orderHistoryService to set
    • getModelService

      public de.hybris.platform.servicelayer.model.ModelService getModelService()
      Returns:
      the modelService
    • setModelService

      public void setModelService(de.hybris.platform.servicelayer.model.ModelService modelService)
      Parameters:
      modelService - the modelService to set
    • getOrderService

      public de.hybris.platform.order.OrderService getOrderService()
      Returns:
      the orderService
    • setOrderService

      public void setOrderService(de.hybris.platform.order.OrderService orderService)
      Parameters:
      orderService - the orderService to set
    • getSapRevenueCloudOrderOutboundService

      public SapRevenueCloudOrderOutboundService getSapRevenueCloudOrderOutboundService()
      Returns:
      the sapRevenueCloudOrderOutboundService
    • setSapRevenueCloudOrderOutboundService

      public void setSapRevenueCloudOrderOutboundService(SapRevenueCloudOrderOutboundService sapRevenueCloudOrderOutboundService)
      Parameters:
      sapRevenueCloudOrderOutboundService - the sapRevenueCloudOrderOutboundService to set
    • getTimeService

      public de.hybris.platform.servicelayer.time.TimeService getTimeService()
      Returns:
      the timeService
    • setTimeService

      public void setTimeService(de.hybris.platform.servicelayer.time.TimeService timeService)
      Parameters:
      timeService - the timeService to set
    • getBusinessProcessService

      public de.hybris.platform.processengine.BusinessProcessService getBusinessProcessService()
      Returns:
      the businessProcessService
    • setBusinessProcessService

      public void setBusinessProcessService(de.hybris.platform.processengine.BusinessProcessService businessProcessService)
      Parameters:
      businessProcessService - the businessProcessService to set