forked from binarywang/WxJava
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMiPayService.java
More file actions
46 lines (41 loc) · 1.55 KB
/
MiPayService.java
File metadata and controls
46 lines (41 loc) · 1.55 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
package com.github.binarywang.wxpay.service;
import com.github.binarywang.wxpay.bean.mipay.MedInsOrdersRequest;
import com.github.binarywang.wxpay.bean.mipay.MedInsOrdersResult;
import com.github.binarywang.wxpay.exception.WxPayException;
/**
* <a href="https://pay.weixin.qq.com/doc/v3/partner/4012503131">医保相关接口</a>
* 医保相关接口
* @author xgl
* @date 2025/12/20
*/
public interface MiPayService {
/**
* <pre>
* 医保自费混合收款下单
*
* 从业机构调用该接口向微信医保后台下单
*
* 文档地址:<a href="https://pay.weixin.qq.com/doc/v3/partner/4012503131">医保自费混合收款下单</a>
* </pre>
*
* @param request 下单参数
* @return ReservationTransferNotifyResult 下单结果
* @throws WxPayException the wx pay exception
*/
MedInsOrdersResult medInsOrders(MedInsOrdersRequest request) throws WxPayException;
/**
* <pre>
* 使用医保自费混合订单号查看下单结果
*
* 从业机构使用混合下单订单号,通过该接口主动查询订单状态,完成下一步的业务逻辑。
*
* 文档地址:<a href="https://pay.weixin.qq.com/doc/v3/partner/4012503155">使用医保自费混合订单号查看下单结果</a>
* </pre>
*
* @param mixTradeNo 医保自费混合订单号
* @param subMchId 医疗机构的商户号
* @return MedInsOrdersResult 下单结果
* @throws WxPayException the wx pay exception
*/
MedInsOrdersResult getMedInsOrderByMixTradeNo(String mixTradeNo, String subMchId) throws WxPayException;
}