Class DefaultOrderHistoryPopulator

    • Constructor Detail

      • DefaultOrderHistoryPopulator

        public DefaultOrderHistoryPopulator()
    • Method Detail

      • getShippingstatus

        protected DeliveryStatus getShippingstatus​(SearchResult source)
        Determines the shipping status from the BOL representation of an order search result.
        Parameters:
        source - BOL search result
        Returns:
        Delivery status in hybris representation (which is shipping status in SAP terminology)
      • populateCondensedstatus

        protected void populateCondensedstatus​(SearchResult source,
                                               OrderHistoryData target)
        Compiles a condensed status from overall and delivery status, see OrderHistoryData.setCondensedStatus(String).
        In case the overall status is completed, condensed status will also be set to completed, otherwise condensed status will be equal to delivery status.
        Parameters:
        source - BOL search result
        target - Order history data