YongchengOrderApiService.java 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  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.esm.model.EsmInsAttachInsure;
  5. import com.ydtech.modules.ins.model.yc.pay.response.AccidentResponse;
  6. import com.ydtech.modules.order.entity.InsAreaCompany;
  7. import com.ydtech.modules.order.entity.vo.AccidentalDrivingQueryVo;
  8. import com.ydtech.modules.order.entity.vo.AccidentalDrivingVo;
  9. import com.ydtech.modules.order.entity.vo.BaseQuoteVo;
  10. import com.ydtech.modules.order.entity.vo.PolicyPrintVo;
  11. import java.util.List;
  12. public interface YongchengOrderApiService {
  13. /**
  14. * 2 报价
  15. */
  16. HttpResult quoteApi(BaseQuoteVo<AccidentalDrivingVo> quoteVo) throws JsonProcessingException;
  17. /**
  18. * 3 核保
  19. */
  20. HttpResult auditApi(String orderno);
  21. /**
  22. * 4 影像上传
  23. *
  24. * @param
  25. * @return
  26. */
  27. HttpResult uploadImageApi(String quoteOrderNo);
  28. /**
  29. * 包含发送短信
  30. * 5 获取支付url(提交短信验证码)
  31. */
  32. InsAreaCompany getPayUrlApi(InsAreaCompany iac);
  33. /**
  34. * 补传回调
  35. */
  36. HttpResult callbackAnOrder(String quoteOrderNo);
  37. /**
  38. * 驾意险查询接口
  39. */
  40. HttpResult<List<EsmInsAttachInsure>> accidentQuery(AccidentalDrivingQueryVo accidentalDrivingVo);
  41. /**
  42. * 驾意险查询详情接口
  43. */
  44. HttpResult accidentSchemeList(AccidentalDrivingQueryVo accidentalDrivingVo);
  45. /**
  46. * (驾意险)同步驾意险
  47. */
  48. HttpResult syncAccidentInsure(AccidentalDrivingQueryVo accidentalDrivingVo);
  49. /**
  50. * (驾意险)意健险方案及险种查询接口
  51. *
  52. * @param schemeNo 方案号
  53. */
  54. AccidentResponse gainAccidentInsure(AccidentalDrivingQueryVo accidentalDrivingVo, String schemeNo);
  55. /**
  56. * 7 电子投保单获取
  57. */
  58. HttpResult getPolicyPrintApi(PolicyPrintVo policyPrintVo);
  59. /**
  60. * @version
  61. * @author: hxl
  62. * @Date: 2024/3/28 17:01
  63. * @Description: 更新承保状态和支付时间
  64. */
  65. public void callbackAnOrderNew(String insAreaCompanyId);
  66. }