From f8d0f5521b2150ba6e6a9bd8bffeda13d10d211a Mon Sep 17 00:00:00 2001 From: buaazyl Date: Wed, 3 Jun 2026 18:00:51 +0800 Subject: [PATCH] =?UTF-8?q?:new:=20#4046=20=E3=80=90=E5=BE=AE=E4=BF=A1?= =?UTF-8?q?=E6=94=AF=E4=BB=98=E3=80=91=E5=A2=9E=E5=8A=A0=E5=95=86=E6=88=B7?= =?UTF-8?q?=E5=B9=B3=E5=8F=B0=E5=A4=84=E7=BD=AE=E8=AE=B0=E5=BD=95=E5=9B=9E?= =?UTF-8?q?=E8=B0=83=E9=80=9A=E7=9F=A5=E5=AF=B9=E8=B1=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../notify/MerchantViolationNotifyResult.java | 74 +++++++++++++++++++ 1 file changed, 74 insertions(+) create mode 100644 weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/notify/MerchantViolationNotifyResult.java diff --git a/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/notify/MerchantViolationNotifyResult.java b/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/notify/MerchantViolationNotifyResult.java new file mode 100644 index 000000000..6d153a4e3 --- /dev/null +++ b/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/notify/MerchantViolationNotifyResult.java @@ -0,0 +1,74 @@ +package com.github.binarywang.wxpay.bean.notify; + +import com.google.gson.annotations.SerializedName; +import lombok.Data; +import lombok.NoArgsConstructor; + +import java.io.Serializable; + +/** + * 商户平台处置记录回调通知 产品介绍 + * + * @author zhangyl + */ +@Data +@NoArgsConstructor +public class MerchantViolationNotifyResult implements Serializable, + WxPayBaseNotifyV3Result { + private static final long serialVersionUID = 1L; + /** + * 源数据 + */ + private OriginNotifyResponse rawData; + /** + * 解密后的数据 + */ + private DecryptNotifyResult result; + + @Data + @NoArgsConstructor + public static class DecryptNotifyResult implements Serializable { + private static final long serialVersionUID = 1L; + + /** + * 处置记录对应的商户号 + */ + @SerializedName("sub_mchid") + private String subMchId; + /** + * 子商户公司名称 + */ + @SerializedName("company_name") + private String companyName; + /** + * 微信支付对违约商户处理通知的唯一标识,可用于去重 + */ + @SerializedName("record_id") + private String recordId; + /** + * 微信支付对违约商户的具体处罚方案,可根据具体的处罚方案指引商户登录商户平台/商家助手小程序进行申诉/相关操作,使用时请留意该值为处罚方法的文本内容,并非枚举值。 + */ + @SerializedName("punish_plan") + private String punishPlan; + /** + * 微信支付对违约商户的处置时间 + */ + @SerializedName("punish_time") + private String punishTime; + /** + * 微信支付对违约商户处罚方案的详细描述信息,补充处罚方案的相关影响。 + */ + @SerializedName("punish_description") + private String punishDescription; + /** + * 微信支付对违约商户定义的风险类型 + */ + @SerializedName("risk_type") + private String riskType; + /** + * 微信支付对违约商户定义的风险类型枚举值对应的中文描述 + */ + @SerializedName("risk_description") + private String riskDescription; + } +}