public class NextDayShippingDateStrategy extends java.lang.Object implements ShippingDateStrategy
ShippingDateStrategy.
It sets the next day as consignment's shipping date| Constructor and Description |
|---|
NextDayShippingDateStrategy() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Date |
getExpectedShippingDate(ConsignmentModel consignment)
Sets next day as the consignment's shipping date.
|
protected TimeService |
getTimeService() |
void |
setTimeService(TimeService timeService) |
public java.util.Date getExpectedShippingDate(ConsignmentModel consignment)
getExpectedShippingDate in interface ShippingDateStrategyconsignment - the ConsignmentModel for which expected shipping date is being calculatedConsignmentModel.SHIPPINGDATEprotected TimeService getTimeService()
public void setTimeService(TimeService timeService)
Copyright © 2018 SAP SE. All Rights Reserved.