Class ExternalTaxDocumentPopulator
- java.lang.Object
-
- de.hybris.platform.integration.cis.tax.populators.ExternalTaxDocumentPopulator
-
- All Implemented Interfaces:
Populator<CisTaxDocOrder,ExternalTaxDocument>
public class ExternalTaxDocumentPopulator extends java.lang.Object implements Populator<CisTaxDocOrder,ExternalTaxDocument>
-
-
Constructor Summary
Constructors Constructor Description ExternalTaxDocumentPopulator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ShippingIncludedStrategygetShippingIncludedStrategy()protected TaxValueConversionServicegetTaxValueConversionService()voidpopulate(CisTaxDocOrder source, ExternalTaxDocument target)Populate the target instance with values from the source instance.voidsetShippingIncludedStrategy(ShippingIncludedStrategy shippingIncludedStrategy)voidsetTaxValueConversionService(TaxValueConversionService taxValueConversionService)protected booleanshouldConvertLine(CisTaxDoc cisTaxDoc, int index, boolean shippingIncluded)
-
-
-
Method Detail
-
populate
public void populate(CisTaxDocOrder source, ExternalTaxDocument target) throws ConversionException
Description copied from interface:PopulatorPopulate the target instance with values from the source instance.- Specified by:
populatein interfacePopulator<CisTaxDocOrder,ExternalTaxDocument>- Parameters:
source- the source objecttarget- the target to fill- Throws:
ConversionException- if an error occurs
-
shouldConvertLine
protected boolean shouldConvertLine(CisTaxDoc cisTaxDoc, int index, boolean shippingIncluded)
-
getTaxValueConversionService
protected TaxValueConversionService getTaxValueConversionService()
-
setTaxValueConversionService
public void setTaxValueConversionService(TaxValueConversionService taxValueConversionService)
-
getShippingIncludedStrategy
protected ShippingIncludedStrategy getShippingIncludedStrategy()
-
setShippingIncludedStrategy
public void setShippingIncludedStrategy(ShippingIncludedStrategy shippingIncludedStrategy)
-
-