Class NextDayShippingDateStrategy
- java.lang.Object
-
- de.hybris.platform.warehousing.allocation.strategy.impl.NextDayShippingDateStrategy
-
- All Implemented Interfaces:
ShippingDateStrategy
public class NextDayShippingDateStrategy extends java.lang.Object implements ShippingDateStrategy
Default implementation ofShippingDateStrategy. It sets the next day as consignment's shipping date
-
-
Constructor Summary
Constructors Constructor Description NextDayShippingDateStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.DategetExpectedShippingDate(ConsignmentModel consignment)Sets next day as the consignment's shipping date.protected TimeServicegetTimeService()voidsetTimeService(TimeService timeService)
-
-
-
Method Detail
-
getExpectedShippingDate
public java.util.Date getExpectedShippingDate(ConsignmentModel consignment)
Sets next day as the consignment's shipping date. Used as an estimated shipping date- Specified by:
getExpectedShippingDatein interfaceShippingDateStrategy- Parameters:
consignment- theConsignmentModelfor which expected shipping date is being calculated- Returns:
- the expected
ConsignmentModel.SHIPPINGDATE
-
getTimeService
protected TimeService getTimeService()
-
setTimeService
public void setTimeService(TimeService timeService)
-
-