Subversion Repositories SmartDukaan

Rev

Rev 33710 | Blame | Compare with Previous | Last modification | View Log | RSS feed

package com.spice.profitmandi.dao.service.loiForm;

import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
import com.spice.profitmandi.dao.entity.auth.AuthUser;
import com.spice.profitmandi.dao.entity.brandFee.BrandFeeCollection;
import com.spice.profitmandi.dao.entity.fofo.PartnerOnBoardingPanel;
import com.spice.profitmandi.dao.entity.onBoarding.LoiDoc;
import com.spice.profitmandi.dao.entity.onBoarding.LoiForm;
import com.spice.profitmandi.dao.entity.onBoarding.LoiFormData;
import com.spice.profitmandi.dao.entity.onBoarding.LoiFormReportModel;
import com.spice.profitmandi.dao.model.GstAddressModel;
import com.spice.profitmandi.dao.model.LoiFormModel;
import com.spice.profitmandi.dao.service.LoiDocModel;
import com.spice.profitmandi.service.integrations.gstpro.entity.GstDetails;
import org.springframework.http.ResponseEntity;
import org.springframework.stereotype.Service;

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

@Service
public interface LoiFormService {
    LoiForm updateLoiForm(LoiFormData pofd, int formId) throws ProfitMandiBusinessException;

    boolean createLoiForm(LoiFormData LoiFormFormData, String filledBy) throws Exception;

    List<AuthUser> getReferalAuthList();

    List<LoiFormModel> pendingFormList(String loginAuthEmail) throws ProfitMandiBusinessException;

    List<GstAddressModel> createAddressModelList(List<GstDetails.Pradr> adadr);

    LoiFormModel getLoiFormModelbyId(int id) throws ProfitMandiBusinessException;

    void sendSignedLoiPdfToPartner(LoiForm pod1) throws Exception;

    void setDocs(LoiForm pod, List<LoiDocModel> partnerDocuments) throws Exception;

    void sentMailToPaymentApprover(BrandFeeCollection feeCollection, LoiForm loiForm) throws Exception;

    void sendDocRejectionMail(LoiDoc loiDoc) throws Exception;

    ResponseEntity<?> createLoiFormReport(LocalDate from, LocalDate to) throws Exception;

    boolean checkLoiDetailsCompletion(LoiForm loiForm) throws ProfitMandiBusinessException;

    void onLoiFormCoplete(LoiForm loiForm) throws ProfitMandiBusinessException;

    PartnerOnBoardingPanel createPartnerOnboardingPanel(LoiForm loiForm) throws ProfitMandiBusinessException;

    void sendPaymentStatusMailToLoiFormFilledBy(BrandFeeCollection feeCollection) throws Exception;

    LoiFormReportModel createLoiFormReportModel(LoiForm loiForm) throws ProfitMandiBusinessException;

    void SendLoiFormReportOnMail() throws Exception;
}