Class CisOrderPopulator
- java.lang.Object
-
- de.hybris.platform.integration.cis.tax.populators.CisOrderPopulator
-
- All Implemented Interfaces:
Populator<AbstractOrderModel,CisOrder>
public class CisOrderPopulator extends java.lang.Object implements Populator<AbstractOrderModel,CisOrder>
Populator fromAbstractOrderModeltoCisOrder
-
-
Constructor Summary
Constructors Constructor Description CisOrderPopulator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Converter<OndemandDiscountedOrderEntry,CisLineItem>getCisLineItemConverter()protected CisShippingAddressStrategygetCisShippingAddressStrategy()protected Converter<AbstractOrderModel,CisLineItem>getDeliveryCisLineItemConverter()protected OndemandPromotionServicegetOndemandPromotionService()voidpopulate(AbstractOrderModel source, CisOrder target)Populate the target instance with values from the source instance.voidsetCisLineItemConverter(Converter<OndemandDiscountedOrderEntry,CisLineItem> cisLineItemConverter)voidsetCisShippingAddressStrategy(CisShippingAddressStrategy cisShippingAddressStrategy)voidsetDeliveryCisLineItemConverter(Converter<AbstractOrderModel,CisLineItem> deliveryCisLineItemConverter)voidsetOndemandPromotionService(OndemandPromotionService ondemandPromotionService)
-
-
-
Method Detail
-
populate
public void populate(AbstractOrderModel source, CisOrder target) throws ConversionException
Description copied from interface:PopulatorPopulate the target instance with values from the source instance.- Specified by:
populatein interfacePopulator<AbstractOrderModel,CisOrder>- Parameters:
source- the source objecttarget- the target to fill- Throws:
ConversionException- if an error occurs
-
getCisShippingAddressStrategy
protected CisShippingAddressStrategy getCisShippingAddressStrategy()
-
setCisShippingAddressStrategy
public void setCisShippingAddressStrategy(CisShippingAddressStrategy cisShippingAddressStrategy)
-
getCisLineItemConverter
protected Converter<OndemandDiscountedOrderEntry,CisLineItem> getCisLineItemConverter()
-
setCisLineItemConverter
public void setCisLineItemConverter(Converter<OndemandDiscountedOrderEntry,CisLineItem> cisLineItemConverter)
-
getDeliveryCisLineItemConverter
protected Converter<AbstractOrderModel,CisLineItem> getDeliveryCisLineItemConverter()
-
setDeliveryCisLineItemConverter
public void setDeliveryCisLineItemConverter(Converter<AbstractOrderModel,CisLineItem> deliveryCisLineItemConverter)
-
getOndemandPromotionService
protected OndemandPromotionService getOndemandPromotionService()
-
setOndemandPromotionService
public void setOndemandPromotionService(OndemandPromotionService ondemandPromotionService)
-
-