Class TmaPriceOrganizationService

java.lang.Object
de.hybris.platform.b2ctelcoaddon.clientservice.TmaPriceOrganizationService

public class TmaPriceOrganizationService extends Object
Addon service manipulating the price data by obtaining flat prices from a hierarchical structure or reorganizing it in different ways.
Since:
2007
  • Constructor Details

    • TmaPriceOrganizationService

      public TmaPriceOrganizationService(TmaPriceFacade tmaPriceFacade)
  • Method Details

    • obtainPopDataWithFlatPrices

      public TmaProductOfferingPriceData obtainPopDataWithFlatPrices(TmaProductOfferingPriceData complexPopData)
      Reorganizes the product offering price so that from a composite POP structure a composite POP with flat prices is obtained (component prices).
      Parameters:
      complexPopData - the POP data from which components are obtained
      Returns:
      the composite POP containing a list of component POPs
    • organizePopsForProduct

      public void organizePopsForProduct(ProductData productData)
      It organizes the POP information for the product data object so that the price, the main spo price in bpo and the additional prices are organized as a composite POP with all component price POPs in it.
      Parameters:
      productData - the product data
    • getTmaPriceFacade

      protected TmaPriceFacade getTmaPriceFacade()