Subversion Repositories SmartDukaan

Rev

Rev 33710 | 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
 
33577 tejus.loha 29
    List<LoiFormModel> pendingFormList(String loginAuthEmail) throws ProfitMandiBusinessException;
33507 tejus.loha 30
 
31
    List<GstAddressModel> createAddressModelList(List<GstDetails.Pradr> adadr);
32
 
33577 tejus.loha 33
    LoiFormModel getLoiFormModelbyId(int id) throws ProfitMandiBusinessException;
33507 tejus.loha 34
 
35
    void sendSignedLoiPdfToPartner(LoiForm pod1) throws Exception;
36
 
37
    void setDocs(LoiForm pod, List<LoiDocModel> partnerDocuments) throws Exception;
38
 
33845 tejus.loha 39
    void sentMailToPaymentApprover(BrandFeeCollection feeCollection, LoiForm loiForm) throws Exception;
33507 tejus.loha 40
 
33658 tejus.loha 41
    void sendDocRejectionMail(LoiDoc loiDoc) throws Exception;
33617 tejus.loha 42
 
43
    ResponseEntity<?> createLoiFormReport(LocalDate from, LocalDate to) throws Exception;
44
 
33845 tejus.loha 45
    boolean checkLoiDetailsCompletion(LoiForm loiForm) throws ProfitMandiBusinessException;
33525 tejus.loha 46
 
33845 tejus.loha 47
    void onLoiFormCoplete(LoiForm loiForm) throws ProfitMandiBusinessException;
48
 
49
    PartnerOnBoardingPanel createPartnerOnboardingPanel(LoiForm loiForm) throws ProfitMandiBusinessException;
50
 
33617 tejus.loha 51
    void sendPaymentStatusMailToLoiFormFilledBy(BrandFeeCollection feeCollection) throws Exception;
52
 
53
    LoiFormReportModel createLoiFormReportModel(LoiForm loiForm) throws ProfitMandiBusinessException;
33626 tejus.loha 54
 
55
    void SendLoiFormReportOnMail() throws Exception;
33507 tejus.loha 56
}