| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980 |
- package com.ydtech.modules.order.service;
- import com.fasterxml.jackson.core.JsonProcessingException;
- import com.ydtech.core.page.HttpResult;
- import com.ydtech.modules.ins.model.vo.QuoteRespVo;
- import com.ydtech.modules.order.entity.InsAreaCompany;
- import com.ydtech.modules.order.entity.InsOrders;
- import com.ydtech.modules.order.entity.api.yangguang.response.YangGuangGetNonVehicleProductsResponse;
- import com.ydtech.modules.order.entity.dto.ReadPdfUrlListDto;
- import com.ydtech.modules.order.entity.vo.BaseQuoteInfoVo;
- import com.ydtech.modules.order.entity.vo.BaseQuoteVo;
- import com.ydtech.modules.order.entity.vo.PolicyPrintVo;
- import com.ydtech.modules.order.entity.vo.yangguang.YgNonVehicleProductsVo;
- import com.ydtech.modules.order.entity.vo.yangguang.YgQuoteAccidentVo;
- import java.util.List;
- public interface YangGuangOrderApiService {
- /**
- * 报价接口
- */
- HttpResult<QuoteRespVo> quote(BaseQuoteInfoVo quoteInfoVo, BaseQuoteVo<List<YgQuoteAccidentVo>> t) throws JsonProcessingException;
- /**
- * 影像上传
- */
- HttpResult<Object> upload(String companyId) throws Exception;
- /**
- * 投保单提交
- */
- HttpResult<Object> submit(String companyId) throws JsonProcessingException;
- /**
- * 获取支付链接
- */
- InsAreaCompany payment(InsAreaCompany insAreaCompany) throws JsonProcessingException;
- /**
- * 支付回调
- */
- HttpResult<Object> paymentCallback(String companyId) throws JsonProcessingException;
- /**
- * 获取驾意险
- */
- HttpResult<List<YangGuangGetNonVehicleProductsResponse.nonVehicleProducts>> getNonVehicleProducts(YgNonVehicleProductsVo ygNonVehicleProductsVo) throws JsonProcessingException;
- /**
- * 投保单状态查询
- */
- HttpResult<Object> proposalStatusQuery(String companyId) throws JsonProcessingException;
- /**
- * 获取电子保单下载地址
- */
- HttpResult getEpolicyPDFURL(PolicyPrintVo policyPrintVo) throws JsonProcessingException;
- /**
- * 投保单撤销
- */
- HttpResult<Object> autoWriteOff(String companyId) throws Exception;
- boolean autoWriteOffOrder(String companyId) throws Exception;
- /**
- * 获取保单信息
- * @param subOrder
- * @param insOrders
- * @param flag
- * @return
- */
- ReadPdfUrlListDto getPolicyByCompanyIdPdfList(InsAreaCompany subOrder, InsOrders insOrders, boolean flag);
- /**
- * 电子投保单签名
- */
- HttpResult<Object> elecApplicationSign(String companyId) throws Exception;
- }
|