Class SourcingRequestMapperBase

    • Field Detail

      • ABAP_TRUE

        protected static final java.lang.String ABAP_TRUE
        ABAP true flag
        See Also:
        Constant Field Values
      • CONFIG_PROPERTY_SAP_DELIVERY_MODES

        protected static final java.lang.String CONFIG_PROPERTY_SAP_DELIVERY_MODES
        SAP delivery modes configuration property
        See Also:
        Constant Field Values
      • CONFIG_PROPERTY_ACCESS_DELIVERY_MODE

        protected static final java.lang.String CONFIG_PROPERTY_ACCESS_DELIVERY_MODE
        SAP access delivery mode configuration property
        See Also:
        Constant Field Values
    • Constructor Detail

      • SourcingRequestMapperBase

        public SourcingRequestMapperBase()
    • Method Detail

      • setSapCoreConfigurationService

        public void setSapCoreConfigurationService​(SAPConfigurationService sapCoreConfigurationService)
        Parameters:
        sapCoreConfigurationService - the sapCoreConfigurationService to set
      • getSapCoreConfigurationService

        protected SAPConfigurationService getSapCoreConfigurationService()
        Returns:
        the sapCoreConfigurationService
      • convertHybrisDelModeToSapShippingMethod

        protected java.lang.String convertHybrisDelModeToSapShippingMethod​(DeliveryModeModel deliveryMode)
        Converts an hybris delivery mode into a SAP shipping condition
        Parameters:
        deliveryMode -
        Returns:
        the code for the sap shipping condition
      • setServiceUtils

        public void setServiceUtils​(ServiceUtils serviceUtils)
        Parameters:
        serviceUtils - the serviceUtils to set
      • getServiceUtils

        protected ServiceUtils getServiceUtils()
        Returns:
        the serviceUtils
      • setAllCartItems

        protected CartItems setAllCartItems​(AbstractOrderModel cartModel)
        Maps CartModel to CartItems.
        Parameters:
        cartModel -
        Returns:
        CartItems
      • setCart

        protected void setCart​(AbstractOrderModel abstractOrderModel,
                               CartRequest cart,
                               java.lang.String reservationStatus)
        Parameters:
        abstractOrderModel -
        cart -
        reservationStatus -