Class TmaProductOfferCpFacade
java.lang.Object
de.hybris.platform.b2ctelcofacades.product.impl.DefaultTmaProductOfferFacade
de.hybris.platform.b2ctelcofacades.product.impl.TmaProductOfferCpFacade
- All Implemented Interfaces:
TmaProductOfferFacade
Implementation of
TmaProductOfferFacade using the approaches of composite pricing.- Since:
- 2007
-
Constructor Summary
ConstructorsConstructorDescriptionTmaProductOfferCpFacade(Map<String, de.hybris.platform.servicelayer.dto.converter.Converter<ProductData, TmaProductOfferingModel>> tmaProductOfferingTypeReverseConvertersMapping, Map<String, Class<? extends TmaProductOfferingModel>> tmaProductOfferingTypeReverseMapping, TmaGenericItemService tmaGenericItemService, de.hybris.platform.servicelayer.dto.converter.Converter<PriceRowModel, PriceData> tmaPriceDataConverter) -
Method Summary
Modifier and TypeMethodDescriptionprotected de.hybris.platform.servicelayer.dto.converter.Converter<PriceRowModel,PriceData> protected voidsetPoPriceOverrideOnBpo(TmaProductOfferingModel po, TmaBundledProductOfferingModel bpoModel, ProductData bpoData) Sets the price override of theTmaProductOfferingModelon the BPO provided, price representing the best applicable price of the if bought as part of the .protected voidsetProductDataPrices(String poCode, TmaPriceContextData priceContext, TmaProductOfferingModel productOffering, ProductData productData) Sets the prices on the product data object as SPP data objects.Methods inherited from class de.hybris.platform.b2ctelcofacades.product.impl.DefaultTmaProductOfferFacade
createProductOffering, getOffers, getOffers, getParentsForCodeAndOptions, getPoForCode, getPoForCode, getPriceContextDataReverseConverter, getPriceDataFactory, getPriceFacade, getPriceRowModels, getProductConfiguredPopulator, getProductConverter, getStrategyMapping, getTmaCommercePriceService, getTmaGenericItemService, getTmaPoService, getTmaProductOfferingTypeReverseConvertersMapping, getTmaProductOfferingTypeReverseMapping, getTmaSubscriptionPricePlanConverter, isBpo, isServiceRequestAction, isValidParent, removeProductOffering, setPriceContextDataReverseConverter, setPriceDataFactory, setPriceFacade, setProductConfiguredPopulator, setProductConverter, setStrategyMapping, setTmaCommercePriceService, setTmaPoService, setTmaSubscriptionPricePlanConverter, updateProductOffering
-
Constructor Details
-
TmaProductOfferCpFacade
public TmaProductOfferCpFacade(Map<String, de.hybris.platform.servicelayer.dto.converter.Converter<ProductData, TmaProductOfferingModel>> tmaProductOfferingTypeReverseConvertersMapping, Map<String, Class<? extends TmaProductOfferingModel>> tmaProductOfferingTypeReverseMapping, TmaGenericItemService tmaGenericItemService, de.hybris.platform.servicelayer.dto.converter.Converter<PriceRowModel, PriceData> tmaPriceDataConverter)
-
-
Method Details
-
setProductDataPrices
protected void setProductDataPrices(String poCode, TmaPriceContextData priceContext, TmaProductOfferingModel productOffering, ProductData productData) Description copied from class:DefaultTmaProductOfferFacadeSets the prices on the product data object as SPP data objects.- Overrides:
setProductDataPricesin classDefaultTmaProductOfferFacade- Parameters:
poCode- the product offering codepriceContext- the price contextproductOffering- the PO modelproductData- the product data ot be populated with prices
-
setPoPriceOverrideOnBpo
protected void setPoPriceOverrideOnBpo(TmaProductOfferingModel po, TmaBundledProductOfferingModel bpoModel, ProductData bpoData) Sets the price override of theTmaProductOfferingModelon the BPO provided, price representing the best applicable price of the if bought as part of the .- Overrides:
setPoPriceOverrideOnBpoin classDefaultTmaProductOfferFacade- Parameters:
po- product offering which is the affected product of the price overridebpoModel- bpo as part of which the product will be bought, to retrieve information frombpoData- bpo to be populated with the price of the if bought as part of the
-
getTmaPriceDataConverter
protected de.hybris.platform.servicelayer.dto.converter.Converter<PriceRowModel,PriceData> getTmaPriceDataConverter()
-