YangGuangOrderApiService.java 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. package com.ydtech.modules.order.service;
  2. import com.fasterxml.jackson.core.JsonProcessingException;
  3. import com.ydtech.core.page.HttpResult;
  4. import com.ydtech.modules.ins.model.vo.QuoteRespVo;
  5. import com.ydtech.modules.order.entity.InsAreaCompany;
  6. import com.ydtech.modules.order.entity.InsOrders;
  7. import com.ydtech.modules.order.entity.api.yangguang.response.YangGuangGetNonVehicleProductsResponse;
  8. import com.ydtech.modules.order.entity.dto.ReadPdfUrlListDto;
  9. import com.ydtech.modules.order.entity.vo.BaseQuoteInfoVo;
  10. import com.ydtech.modules.order.entity.vo.BaseQuoteVo;
  11. import com.ydtech.modules.order.entity.vo.PolicyPrintVo;
  12. import com.ydtech.modules.order.entity.vo.yangguang.YgNonVehicleProductsVo;
  13. import com.ydtech.modules.order.entity.vo.yangguang.YgQuoteAccidentVo;
  14. import java.util.List;
  15. public interface YangGuangOrderApiService {
  16. /**
  17. * 报价接口
  18. */
  19. HttpResult<QuoteRespVo> quote(BaseQuoteInfoVo quoteInfoVo, BaseQuoteVo<List<YgQuoteAccidentVo>> t) throws JsonProcessingException;
  20. /**
  21. * 影像上传
  22. */
  23. HttpResult<Object> upload(String companyId) throws Exception;
  24. /**
  25. * 投保单提交
  26. */
  27. HttpResult<Object> submit(String companyId) throws JsonProcessingException;
  28. /**
  29. * 获取支付链接
  30. */
  31. InsAreaCompany payment(InsAreaCompany insAreaCompany) throws JsonProcessingException;
  32. /**
  33. * 支付回调
  34. */
  35. HttpResult<Object> paymentCallback(String companyId) throws JsonProcessingException;
  36. /**
  37. * 获取驾意险
  38. */
  39. HttpResult<List<YangGuangGetNonVehicleProductsResponse.nonVehicleProducts>> getNonVehicleProducts(YgNonVehicleProductsVo ygNonVehicleProductsVo) throws JsonProcessingException;
  40. /**
  41. * 投保单状态查询
  42. */
  43. HttpResult<Object> proposalStatusQuery(String companyId) throws JsonProcessingException;
  44. /**
  45. * 获取电子保单下载地址
  46. */
  47. HttpResult getEpolicyPDFURL(PolicyPrintVo policyPrintVo) throws JsonProcessingException;
  48. /**
  49. * 投保单撤销
  50. */
  51. HttpResult<Object> autoWriteOff(String companyId) throws Exception;
  52. /**
  53. * 获取保单信息
  54. * @param subOrder
  55. * @param insOrders
  56. * @param flag
  57. * @return
  58. */
  59. ReadPdfUrlListDto getPolicyByCompanyIdPdfList(InsAreaCompany subOrder, InsOrders insOrders, boolean flag);
  60. /**
  61. * 电子投保单签名
  62. */
  63. HttpResult<Object> elecApplicationSign(String companyId) throws Exception;
  64. }