Subversion Repositories SmartDukaan

Rev

Rev 33741 | View as "text/plain" | Blame | Compare with Previous | Last modification | View Log | RSS feed

package com.spice.profitmandi.service;

import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
import com.spice.profitmandi.common.model.ProfitMandiConstants;
import com.spice.profitmandi.dao.entity.logistics.Provider;
import com.spice.profitmandi.dao.entity.logistics.ProviderTat;
import com.spice.profitmandi.dao.entity.transaction.Order;
import com.spice.profitmandi.dao.model.DispatchNotificationModel;
import com.spice.profitmandi.service.integrations.gstpro.api.model.E_InvoiceCommon;
import org.springframework.stereotype.Service;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;
import java.util.Map;

@Service
public interface LogisticsService {

        LocalDate calculateDeliveryTimeline(LocalDate date, ProviderTat providerTat, int delayDays);

        Map<String, DispatchNotificationModel> markedOrderShippedDetail(List<Order> order, Provider provider,
                                                                    Map<String, DispatchNotificationModel> dispatchNotication, String airwaybillNo, LocalDateTime shippingDate)
                        throws ProfitMandiBusinessException;


        E_InvoiceCommon.ReqPlGenIRN.EwbDetails getEwbDetails(Order order) throws ProfitMandiBusinessException;
}