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