public class NextDayShippingDateStrategy extends Object implements ShippingDateStrategy
ShippingDateStrategy.
It sets the next day as consignment's shipping date| Constructor and Description |
|---|
NextDayShippingDateStrategy() |
| Modifier and Type | Method and Description |
|---|---|
Date |
getExpectedShippingDate(ConsignmentModel consignment)
Sets next day as the consignment's shipping date.
|
protected TimeService |
getTimeService() |
void |
setTimeService(TimeService timeService) |
public 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 © 2017 SAP SE. All Rights Reserved.