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 Summary
Constructors Constructor Description PickupSourcingStrategyMapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.BooleanisMatch(AbstractOrderEntryModel entry)Check to see if the order entry provides a match.java.lang.BooleanisMatch(SourcingContext context)Determines if this mapper produces a match for the given sourcing context.-
Methods inherited from class de.hybris.platform.warehousing.sourcing.strategy.AbstractSourcingStrategyMapper
getStrategy, setStrategy
-
-
-
-
Method Detail
-
isMatch
public java.lang.Boolean isMatch(SourcingContext context)
Description copied from interface:SourcingStrategyMapperDetermines 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 java.lang.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
-
-