From b15142a06cb9ca4dafd8698bb0e220e4224cbe5e Mon Sep 17 00:00:00 2001 From: Binary Wang Date: Sat, 12 Sep 2020 10:15:08 +0800 Subject: [PATCH] =?UTF-8?q?:art:=20#1747=20=E5=BE=AE=E4=BF=A1=E6=94=AF?= =?UTF-8?q?=E4=BB=98=E5=88=86=E5=9B=9E=E8=B0=83=E9=80=9A=E7=9F=A5=E5=AF=B9?= =?UTF-8?q?=E8=B1=A1=E7=B1=BB=E5=A2=9E=E5=8A=A0=E7=BC=BA=E5=A4=B1=E5=8F=82?= =?UTF-8?q?=E6=95=B0=EF=BC=9A=E5=9B=9E=E8=B0=83=E6=91=98=E8=A6=81summary?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../bean/payscore/PayScoreNotifyData.java | 46 +++++++++++++++---- 1 file changed, 37 insertions(+), 9 deletions(-) diff --git a/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/payscore/PayScoreNotifyData.java b/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/payscore/PayScoreNotifyData.java index 81d5568bcd..82afdb4ce6 100644 --- a/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/payscore/PayScoreNotifyData.java +++ b/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/payscore/PayScoreNotifyData.java @@ -18,38 +18,66 @@ public class PayScoreNotifyData implements Serializable { private static final long serialVersionUID = -8538014389773390989L; /** - * id : EV-2018022511223320873 - * create_time : 20180225112233 - * resource_type : encrypt-resource - * event_type : PAYSCORE.USER_CONFIRM - * resource : {"algorithm":"AEAD_AES_256_GCM","ciphertext":"...","nonce":"...","associated_data":""} + * 通知ID */ @SerializedName("id") private String id; + + /** + * 通知创建时间 + */ @SerializedName("create_time") private String createTime; + + /** + * 通知数据类型 + */ @SerializedName("resource_type") private String resourceType; + + /** + * 通知类型 + */ @SerializedName("event_type") private String eventType; + + /** + * 通知数据 + */ @SerializedName("resource") private Resource resource; + /** + * 回调摘要 + * summary + */ + @SerializedName("summary") + private String summary; + @Data public static class Resource implements Serializable { private static final long serialVersionUID = 8530711804335261449L; /** - * algorithm : AEAD_AES_256_GCM - * ciphertext : ... - * nonce : ... - * associated_data : + * 加密算法类型 */ @SerializedName("algorithm") private String algorithm; + + /** + * 数据密文 + */ @SerializedName("ciphertext") private String cipherText; + + /** + * 附加数据 + */ @SerializedName("nonce") private String nonce; + + /** + * 随机串 + */ @SerializedName("associated_data") private String associatedData; }