Class CisLineItemPopulator

  • All Implemented Interfaces:
    Populator<OrderEntryData,​com.hybris.cis.api.model.CisLineItem>

    public class CisLineItemPopulator
    extends java.lang.Object
    implements Populator<OrderEntryData,​com.hybris.cis.api.model.CisLineItem>
    Populate the CisLineItem with the OrderEntryData information
    • Constructor Detail

      • CisLineItemPopulator

        public CisLineItemPopulator()
    • Method Detail

      • populate

        public void populate​(OrderEntryData source,
                             com.hybris.cis.api.model.CisLineItem target)
                      throws ConversionException
        Description copied from interface: Populator
        Populate the target instance with values from the source instance.
        Specified by:
        populate in interface Populator<OrderEntryData,​com.hybris.cis.api.model.CisLineItem>
        Parameters:
        source - the source object
        target - the target to fill
        Throws:
        ConversionException - if an error occurs
      • getQuantity

        protected java.lang.Integer getQuantity​(OrderEntryData source)
      • getProductDescription

        protected java.lang.String getProductDescription​(OrderEntryData source)
      • getPayNowPrice

        protected java.math.BigDecimal getPayNowPrice​(OrderEntryData entry)