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 quote(BaseQuoteInfoVo quoteInfoVo, BaseQuoteVo> t) throws JsonProcessingException; /** * 影像上传 */ HttpResult upload(String companyId) throws Exception; /** * 投保单提交 */ HttpResult submit(String companyId) throws JsonProcessingException; /** * 获取支付链接 */ InsAreaCompany payment(InsAreaCompany insAreaCompany) throws JsonProcessingException; /** * 支付回调 */ HttpResult paymentCallback(String companyId) throws JsonProcessingException; /** * 获取驾意险 */ HttpResult> getNonVehicleProducts(YgNonVehicleProductsVo ygNonVehicleProductsVo) throws JsonProcessingException; /** * 投保单状态查询 */ HttpResult proposalStatusQuery(String companyId) throws JsonProcessingException; /** * 获取电子保单下载地址 */ HttpResult getEpolicyPDFURL(PolicyPrintVo policyPrintVo) throws JsonProcessingException; /** * 投保单撤销 */ HttpResult 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 elecApplicationSign(String companyId) throws Exception; }