コード例 #1
0
 /*
  * (non-Javadoc)
  *
  * @see
  * de.hybris.platform.commerceservices.converter.Populator#populate(java
  * .lang.Object, java.lang.Object)
  */
 @Override
 public void populate(final BasePackage source, final PackageViewData target)
     throws ConversionException {
   final List<HighLights> listOfHighlight = source.getListOfHighlights();
   if (CollectionUtils.isNotEmpty(listOfHighlight)
       && listOfHighlight.contains(HighLights.LAPLAND_DAYTRIP)) {
     target.setLaplandDayTrip(true);
   }
 }
コード例 #2
0
 /*
  * (non-Javadoc)
  *
  * @see de.hybris.platform.commerceservices.converter.Populator#populate(java .lang.Object,
  * java.lang.Object)
  */
 @Override
 public void populate(final BasePackage source, final PackageViewData target)
     throws ConversionException {
   populate(source, target.getPriceBreakdownViewData());
 }