Class TmaPriceOrganizationService
- java.lang.Object
-
- de.hybris.platform.b2ctelcoaddon.clientservice.TmaPriceOrganizationService
-
public class TmaPriceOrganizationService extends java.lang.ObjectAddon service manipulating the price data by obtaining flat prices from a hierarchical structure or reorganizing it in different ways.- Since:
- 2007
-
-
Constructor Summary
Constructors Constructor Description TmaPriceOrganizationService(TmaPriceFacade tmaPriceFacade)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected TmaPriceFacadegetTmaPriceFacade()TmaProductOfferingPriceDataobtainPopDataWithFlatPrices(TmaProductOfferingPriceData complexPopData)Reorganizes the product offering price so that from a composite POP structure a composite POP with flat prices is obtained (component prices).voidorganizePopsForProduct(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.
-
-
-
Constructor Detail
-
TmaPriceOrganizationService
public TmaPriceOrganizationService(TmaPriceFacade tmaPriceFacade)
-
-
Method Detail
-
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()
-
-