Class PickupSourcingStrategyMapper

java.lang.Object
de.hybris.platform.warehousing.sourcing.strategy.AbstractSourcingStrategyMapper
de.hybris.platform.warehousing.sourcing.strategy.mapper.impl.PickupSourcingStrategyMapper
All Implemented Interfaces:
SourcingStrategyMapper

public class PickupSourcingStrategyMapper extends AbstractSourcingStrategyMapper

Mapper to map a sourcing strategy to handle pickup in store.

This mapper will return a match if and only if every order entry in the context has a delivery point of service set.

  • Constructor Details

    • PickupSourcingStrategyMapper

      public PickupSourcingStrategyMapper()
  • Method Details

    • isMatch

      public Boolean isMatch(SourcingContext context)
      Description copied from interface: SourcingStrategyMapper
      Determines if this mapper produces a match for the given sourcing context.
      Parameters:
      context - - the sourcing context
      Returns:
      true if it is a match; false otherwise
    • isMatch

      protected Boolean isMatch(AbstractOrderEntryModel entry)
      Check to see if the order entry provides a match.
      Parameters:
      entry - - the abstract order entry model
      Returns:
      true if the delivery point of service is set on the order entry; false otherwise