Class PopDiscountPercentageAttributeMapper
java.lang.Object
de.hybris.platform.b2ctelcofacades.mappers.TmaAttributeMapper<TmaProdOfferPriceAlterationData,ProductOfferingPrice>
de.hybris.platform.b2ctelcotmfwebservices.v3.mappers.productofferingprice.PopDiscountPercentageAttributeMapper
public class PopDiscountPercentageAttributeMapper
extends TmaAttributeMapper<TmaProdOfferPriceAlterationData,ProductOfferingPrice>
This attribute Mapper class maps data for percentage attribute between
TmaProdOfferPriceAlterationData and
ProductOfferingPrice- Since:
- 2007
-
Constructor Summary
ConstructorsConstructorDescriptionPopDiscountPercentageAttributeMapper(de.hybris.platform.commercefacades.storesession.StoreSessionFacade storeSessionFacade) -
Method Summary
Modifier and TypeMethodDescriptionprotected de.hybris.platform.commercefacades.storesession.StoreSessionFacadevoidpopulateSourceAttributeFromTarget(ProductOfferingPrice source, TmaProdOfferPriceAlterationData target, ma.glasnost.orika.MappingContext context) Populates the source attribute value by obtained by processing the target object.voidpopulateTargetAttributeFromSource(TmaProdOfferPriceAlterationData source, ProductOfferingPrice target, ma.glasnost.orika.MappingContext context) Populates the target attribute value by obtained by processing the source object.Methods inherited from class de.hybris.platform.b2ctelcofacades.mappers.TmaAttributeMapper
getSourceAttributeName, getTargetAttributeName, setSourceAttributeName, setTargetAttributeName
-
Constructor Details
-
PopDiscountPercentageAttributeMapper
public PopDiscountPercentageAttributeMapper(de.hybris.platform.commercefacades.storesession.StoreSessionFacade storeSessionFacade)
-
-
Method Details
-
populateTargetAttributeFromSource
public void populateTargetAttributeFromSource(TmaProdOfferPriceAlterationData source, ProductOfferingPrice target, ma.glasnost.orika.MappingContext context) Description copied from class:TmaAttributeMapperPopulates the target attribute value by obtained by processing the source object.- Specified by:
populateTargetAttributeFromSourcein classTmaAttributeMapper<TmaProdOfferPriceAlterationData,ProductOfferingPrice> - Parameters:
source- source objecttarget- target object
-
populateSourceAttributeFromTarget
public void populateSourceAttributeFromTarget(ProductOfferingPrice source, TmaProdOfferPriceAlterationData target, ma.glasnost.orika.MappingContext context) Description copied from class:TmaAttributeMapperPopulates the source attribute value by obtained by processing the target object.- Overrides:
populateSourceAttributeFromTargetin classTmaAttributeMapper<TmaProdOfferPriceAlterationData,ProductOfferingPrice> - Parameters:
source- target objecttarget- source object
-
getStoreSessionFacade
protected de.hybris.platform.commercefacades.storesession.StoreSessionFacade getStoreSessionFacade()
-