Class DefaultPPSConfigService

    • Constructor Detail

      • DefaultPPSConfigService

        public DefaultPPSConfigService()
    • Method Detail

      • getBaseStoreService

        public de.hybris.platform.store.services.BaseStoreService getBaseStoreService()
      • setBaseStoreService

        public void setBaseStoreService​(de.hybris.platform.store.services.BaseStoreService baseStoreService)
      • isPpsActive

        public boolean isPpsActive​(ProductModel prod)
        Description copied from interface: PPSConfigService
        Determines if price calculation via PPS functionality is active
        Specified by:
        isPpsActive in interface PPSConfigService
        Parameters:
        prod - Product
        Returns:
        true if price calculation via PPS is active for given product
      • isPpsActive

        public boolean isPpsActive​(AbstractOrderModel order)
        Description copied from interface: PPSConfigService
        Determines if price calculation via PPS functionality is active
        Specified by:
        isPpsActive in interface PPSConfigService
        Parameters:
        order - cart / order
        Returns:
        true if price calculation via PPS is active for given order
      • getBusinessUnitId

        public java.lang.String getBusinessUnitId​(ProductModel prod)
        Description copied from interface: PPSConfigService
        Find the business unit ID for which the price calculation shall take place for given product
        Specified by:
        getBusinessUnitId in interface PPSConfigService
        Parameters:
        prod - Product
        Returns:
        the business unit ID for which the price calculation shall take place for given product
      • getBusinessUnitId

        public java.lang.String getBusinessUnitId​(AbstractOrderModel order)
        Description copied from interface: PPSConfigService
        Find the business unit ID for which the price calculation shall take place for given order
        Specified by:
        getBusinessUnitId in interface PPSConfigService
        Parameters:
        order - order
        Returns:
        the business unit ID for which the price calculation shall take place for given order
      • getSourceSystemId

        public java.lang.String getSourceSystemId​(AbstractOrderModel order)
        Description copied from interface: PPSConfigService
        Find the source system ID for given order
        Specified by:
        getSourceSystemId in interface PPSConfigService
        Parameters:
        order - order
        Returns:
        the master system source id for the given order
      • getSourceSystemId

        public java.lang.String getSourceSystemId​(ProductModel prod)
        Description copied from interface: PPSConfigService
        Find the source system ID for given product
        Specified by:
        getSourceSystemId in interface PPSConfigService
        Parameters:
        prod - product id
        Returns:
        the master system source id for this product