Skip to content

Commit f8d0f55

Browse files
authored
🆕 #4046 【微信支付】增加商户平台处置记录回调通知对象
1 parent 86b0292 commit f8d0f55

1 file changed

Lines changed: 74 additions & 0 deletions

File tree

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
package com.github.binarywang.wxpay.bean.notify;
2+
3+
import com.google.gson.annotations.SerializedName;
4+
import lombok.Data;
5+
import lombok.NoArgsConstructor;
6+
7+
import java.io.Serializable;
8+
9+
/**
10+
* 商户平台处置记录回调通知 <a href="https://pay.weixin.qq.com/doc/v3/partner/4012064844">产品介绍</a>
11+
*
12+
* @author zhangyl
13+
*/
14+
@Data
15+
@NoArgsConstructor
16+
public class MerchantViolationNotifyResult implements Serializable,
17+
WxPayBaseNotifyV3Result<MerchantViolationNotifyResult.DecryptNotifyResult> {
18+
private static final long serialVersionUID = 1L;
19+
/**
20+
* 源数据
21+
*/
22+
private OriginNotifyResponse rawData;
23+
/**
24+
* 解密后的数据
25+
*/
26+
private DecryptNotifyResult result;
27+
28+
@Data
29+
@NoArgsConstructor
30+
public static class DecryptNotifyResult implements Serializable {
31+
private static final long serialVersionUID = 1L;
32+
33+
/**
34+
* 处置记录对应的商户号
35+
*/
36+
@SerializedName("sub_mchid")
37+
private String subMchId;
38+
/**
39+
* 子商户公司名称
40+
*/
41+
@SerializedName("company_name")
42+
private String companyName;
43+
/**
44+
* 微信支付对违约商户处理通知的唯一标识,可用于去重
45+
*/
46+
@SerializedName("record_id")
47+
private String recordId;
48+
/**
49+
* 微信支付对违约商户的具体处罚方案,可根据具体的处罚方案指引商户登录商户平台/商家助手小程序进行申诉/相关操作,使用时请留意该值为处罚方法的文本内容,并非枚举值。
50+
*/
51+
@SerializedName("punish_plan")
52+
private String punishPlan;
53+
/**
54+
* 微信支付对违约商户的处置时间
55+
*/
56+
@SerializedName("punish_time")
57+
private String punishTime;
58+
/**
59+
* 微信支付对违约商户处罚方案的详细描述信息,补充处罚方案的相关影响。
60+
*/
61+
@SerializedName("punish_description")
62+
private String punishDescription;
63+
/**
64+
* 微信支付对违约商户定义的风险类型
65+
*/
66+
@SerializedName("risk_type")
67+
private String riskType;
68+
/**
69+
* 微信支付对违约商户定义的风险类型枚举值对应的中文描述
70+
*/
71+
@SerializedName("risk_description")
72+
private String riskDescription;
73+
}
74+
}

0 commit comments

Comments
 (0)