Class SAPInvoiceToInvoiceDataPopulator
java.lang.Object
de.hybris.platform.commercefacades.order.converters.populator.SAPInvoiceToInvoiceDataPopulator
- All Implemented Interfaces:
Populator<SAPInvoiceModel,SAPInvoiceData>
public class SAPInvoiceToInvoiceDataPopulator
extends Object
implements Populator<SAPInvoiceModel,SAPInvoiceData>
Converter implementation for
SAPInvoiceModel as source and
SAPInvoiceData as target type.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected PriceDatacreatePrice(SAPInvoiceModel source, BigDecimal val) voidpopulate(SAPInvoiceModel source, SAPInvoiceData target) Populate the target instance with values from the source instance.voidsetPriceDataFactory(PriceDataFactory priceDataFactory)
-
Constructor Details
-
SAPInvoiceToInvoiceDataPopulator
public SAPInvoiceToInvoiceDataPopulator()
-
-
Method Details
-
populate
Description copied from interface:PopulatorPopulate the target instance with values from the source instance.- Specified by:
populatein interfacePopulator<SAPInvoiceModel,SAPInvoiceData> - Parameters:
source- the source objecttarget- the target to fill- Throws:
ConversionException- if an error occurs
-
createPrice
- Parameters:
source-netPrice-- Returns:
-
getPriceDataFactory
-
setPriceDataFactory
-