Interface PricingBackend

All Known Implementing Classes:
PricingBackendPPS

public interface PricingBackend
Top level interface offering the price calculation for products / carts
  • Method Details

    • readPricesForCart

      void readPricesForCart(AbstractOrderModel order)
      Price calculation for a cart
      Parameters:
      order -
      Throws:
      SapPPSPricingRuntimeException
    • readPriceInformationForProducts

      List<de.hybris.platform.jalo.order.price.PriceInformation> readPriceInformationForProducts(List<ProductModel> productModels, boolean isNet)
      Price calculation for a list of products
      Parameters:
      productModels -
      isNet -
      Returns:
      List
      Throws:
      SapPPSPricingRuntimeException
    • fetchProductPromotions

      List<String> fetchProductPromotions(ProductModel product, boolean isNet)
      Retrieves the list of promotions for a given product from the OPPS cache.
      Parameters:
      product - The product for which promotions are to be fetched.
      isNet -
      Returns:
      A list of promotions associated with the product. If no promotions are found, an empty list is returned.