Class UpcUsageTypeAttributeMapper
java.lang.Object
de.hybris.platform.b2ctelcofacades.mappers.TmaAttributeMapper<UsageChargeData,UsagePriceCharge>
de.hybris.platform.b2ctelcotmfwebservices.mappers.usagepricecharge.UpcUsageTypeAttributeMapper
public class UpcUsageTypeAttributeMapper
extends TmaAttributeMapper<UsageChargeData,UsagePriceCharge>
This attribute Mapper class maps data for usage type attribute between
UsageChargeData and UsagePriceCharge.
Usage type is set only in case the source is instance of PerUnitUsageChargeData- Since:
- 1903
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidpopulateTargetAttributeFromSource(UsageChargeData source, UsagePriceCharge 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, populateSourceAttributeFromTarget, setSourceAttributeName, setTargetAttributeName
-
Constructor Details
-
UpcUsageTypeAttributeMapper
public UpcUsageTypeAttributeMapper()
-
-
Method Details
-
populateTargetAttributeFromSource
public void populateTargetAttributeFromSource(UsageChargeData source, UsagePriceCharge 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<UsageChargeData,UsagePriceCharge> - Parameters:
source- source objecttarget- target object
-