Subversion Repositories SmartDukaan

Rev

Rev 29578 | Rev 33741 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 29578 Rev 32609
Line 1... Line 1...
1
package com.spice.profitmandi.service;
1
package com.spice.profitmandi.service;
2
 
2
 
3
import java.time.LocalDate;
-
 
4
import java.util.List;
-
 
5
import java.util.Map;
-
 
6
 
-
 
7
import org.springframework.stereotype.Service;
-
 
8
 
-
 
9
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
3
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
10
import com.spice.profitmandi.dao.entity.logistics.Provider;
4
import com.spice.profitmandi.dao.entity.logistics.Provider;
11
import com.spice.profitmandi.dao.entity.logistics.ProviderTat;
5
import com.spice.profitmandi.dao.entity.logistics.ProviderTat;
12
import com.spice.profitmandi.dao.entity.transaction.Order;
6
import com.spice.profitmandi.dao.entity.transaction.Order;
13
import com.spice.profitmandi.dao.model.DispatchNotificationModel;
7
import com.spice.profitmandi.dao.model.DispatchNotificationModel;
-
 
8
import org.springframework.stereotype.Service;
-
 
9
 
-
 
10
import java.time.LocalDate;
-
 
11
import java.time.LocalDateTime;
-
 
12
import java.util.List;
-
 
13
import java.util.Map;
14
 
14
 
15
@Service
15
@Service
16
public interface LogisticsService {
16
public interface LogisticsService {
17
 
17
 
18
	public LocalDate calculateDeliveryTimeline(LocalDate date, ProviderTat providerTat, int delayDays);
18
	public LocalDate calculateDeliveryTimeline(LocalDate date, ProviderTat providerTat, int delayDays);
19
 
19
 
20
	public Map<String, DispatchNotificationModel> markedOrderShippedDetail(List<Order> order, Provider provider,
20
	public Map<String, DispatchNotificationModel> markedOrderShippedDetail(List<Order> order, Provider provider,
21
			Map<String, DispatchNotificationModel> dispatchNotication, String airwaybillNo)
21
																		   Map<String, DispatchNotificationModel> dispatchNotication, String airwaybillNo, LocalDateTime shippingDate)
22
			throws ProfitMandiBusinessException;
22
			throws ProfitMandiBusinessException;
23
}
23
}