Subversion Repositories SmartDukaan

Rev

Rev 33617 | Rev 33658 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
33507 tejus.loha 1
package com.spice.profitmandi.dao.service.loiForm;
2
 
3
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
4
import com.spice.profitmandi.dao.entity.auth.AuthUser;
5
import com.spice.profitmandi.dao.entity.brandFee.BrandFeeCollection;
6
import com.spice.profitmandi.dao.entity.fofo.PartnerOnBoardingPanel;
33617 tejus.loha 7
import com.spice.profitmandi.dao.entity.onBoarding.LoiDoc;
33507 tejus.loha 8
import com.spice.profitmandi.dao.entity.onBoarding.LoiForm;
9
import com.spice.profitmandi.dao.entity.onBoarding.LoiFormData;
33617 tejus.loha 10
import com.spice.profitmandi.dao.entity.onBoarding.LoiFormReportModel;
33507 tejus.loha 11
import com.spice.profitmandi.dao.model.GstAddressModel;
12
import com.spice.profitmandi.dao.model.LoiFormModel;
13
import com.spice.profitmandi.dao.service.LoiDocModel;
14
import com.spice.profitmandi.service.integrations.gstpro.entity.GstDetails;
33617 tejus.loha 15
import org.springframework.http.ResponseEntity;
33507 tejus.loha 16
import org.springframework.stereotype.Service;
17
 
33617 tejus.loha 18
import java.time.LocalDate;
33507 tejus.loha 19
import java.util.List;
20
 
21
@Service
22
public interface LoiFormService {
23
    LoiForm updateLoiForm(LoiFormData pofd, int formId) throws ProfitMandiBusinessException;
24
 
33577 tejus.loha 25
    boolean createLoiForm(LoiFormData LoiFormFormData, String filledBy) throws Exception;
33507 tejus.loha 26
 
33579 tejus.loha 27
    List<AuthUser> getReferalAuthList();
33507 tejus.loha 28
 
29
    List<AuthUser> techAuthUsers();
30
 
33577 tejus.loha 31
    List<LoiFormModel> pendingFormList(String loginAuthEmail) throws ProfitMandiBusinessException;
33507 tejus.loha 32
 
33
    List<GstAddressModel> createAddressModelList(List<GstDetails.Pradr> adadr);
34
 
33577 tejus.loha 35
    LoiFormModel getLoiFormModelbyId(int id) throws ProfitMandiBusinessException;
33507 tejus.loha 36
 
37
    void sendSignedLoiPdfToPartner(LoiForm pod1) throws Exception;
38
 
39
    void setDocs(LoiForm pod, List<LoiDocModel> partnerDocuments) throws Exception;
40
 
41
    void sentMailToPaymentApprover(BrandFeeCollection feeCollection) throws Exception;
42
 
33617 tejus.loha 43
    void sendDocApprovalMail(LoiDoc loiDoc) throws Exception;
44
 
45
    ResponseEntity<?> createLoiFormReport(LocalDate from, LocalDate to) throws Exception;
46
 
33507 tejus.loha 47
    PartnerOnBoardingPanel createPartnerOnboardingPanel(int loiId, int authId) throws ProfitMandiBusinessException;
33525 tejus.loha 48
 
33617 tejus.loha 49
    void sendPaymentStatusMailToLoiFormFilledBy(BrandFeeCollection feeCollection) throws Exception;
50
 
51
    LoiFormReportModel createLoiFormReportModel(LoiForm loiForm) throws ProfitMandiBusinessException;
33626 tejus.loha 52
 
53
    void SendLoiFormReportOnMail() throws Exception;
33507 tejus.loha 54
}