🎨 #1747 微信支付分回调通知对象类增加缺失参数:回调摘要summary
This commit is contained in:
@@ -18,38 +18,66 @@ public class PayScoreNotifyData implements Serializable {
|
|||||||
private static final long serialVersionUID = -8538014389773390989L;
|
private static final long serialVersionUID = -8538014389773390989L;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* id : EV-2018022511223320873
|
* 通知ID
|
||||||
* create_time : 20180225112233
|
|
||||||
* resource_type : encrypt-resource
|
|
||||||
* event_type : PAYSCORE.USER_CONFIRM
|
|
||||||
* resource : {"algorithm":"AEAD_AES_256_GCM","ciphertext":"...","nonce":"...","associated_data":""}
|
|
||||||
*/
|
*/
|
||||||
@SerializedName("id")
|
@SerializedName("id")
|
||||||
private String id;
|
private String id;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 通知创建时间
|
||||||
|
*/
|
||||||
@SerializedName("create_time")
|
@SerializedName("create_time")
|
||||||
private String createTime;
|
private String createTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 通知数据类型
|
||||||
|
*/
|
||||||
@SerializedName("resource_type")
|
@SerializedName("resource_type")
|
||||||
private String resourceType;
|
private String resourceType;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 通知类型
|
||||||
|
*/
|
||||||
@SerializedName("event_type")
|
@SerializedName("event_type")
|
||||||
private String eventType;
|
private String eventType;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 通知数据
|
||||||
|
*/
|
||||||
@SerializedName("resource")
|
@SerializedName("resource")
|
||||||
private Resource resource;
|
private Resource resource;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 回调摘要
|
||||||
|
* summary
|
||||||
|
*/
|
||||||
|
@SerializedName("summary")
|
||||||
|
private String summary;
|
||||||
|
|
||||||
@Data
|
@Data
|
||||||
public static class Resource implements Serializable {
|
public static class Resource implements Serializable {
|
||||||
private static final long serialVersionUID = 8530711804335261449L;
|
private static final long serialVersionUID = 8530711804335261449L;
|
||||||
/**
|
/**
|
||||||
* algorithm : AEAD_AES_256_GCM
|
* 加密算法类型
|
||||||
* ciphertext : ...
|
|
||||||
* nonce : ...
|
|
||||||
* associated_data :
|
|
||||||
*/
|
*/
|
||||||
@SerializedName("algorithm")
|
@SerializedName("algorithm")
|
||||||
private String algorithm;
|
private String algorithm;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 数据密文
|
||||||
|
*/
|
||||||
@SerializedName("ciphertext")
|
@SerializedName("ciphertext")
|
||||||
private String cipherText;
|
private String cipherText;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 附加数据
|
||||||
|
*/
|
||||||
@SerializedName("nonce")
|
@SerializedName("nonce")
|
||||||
private String nonce;
|
private String nonce;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 随机串
|
||||||
|
*/
|
||||||
@SerializedName("associated_data")
|
@SerializedName("associated_data")
|
||||||
private String associatedData;
|
private String associatedData;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user