Administrator
2024-07-16 8bcb47b7ea268061f4629e0953de4e3597fca690
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
package com.dy.pipIrrSell.wechatpay.dto;
 
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
 
/**
 * @author ZhuBaoMin
 * @date 2024-03-06 13:54
 * @LastEditTime 2024-03-06 13:54
 * @Description 支付和退款通知接收对象
 */
 
@Data
@Schema(name = "支付和退款回调对象")
public class OrderNotify {
    public static final long serialVersionUID = 202402291431001L;
 
    /**
     * 通知ID
     */
    private String id;
 
    /**
     * 通知创建时间
     */
    private String create_time;
 
    /**
     * 通知类型
     * 支付成功通知的类型为:TRANSACTION.SUCCESS
     */
    private String event_type;
 
    /**
     * 通知数据类型
     * 支付成功通知为:encrypt-resource
     */
    private String resource_type;
 
    /**
     * 通知数据
     */
    private NotifyResource resource;
 
    /**
     * 回调摘要,退款通知无此属性
     */
    private String summary;
 
 
    //@Data
    //public class NotifyResource {
    //
    //    /**
    //     * 加密算法类型
    //     * 仅支持AEAD_AES_256_GCM
    //     */
    //    private String algorithm;
    //
    //    /**
    //     * 数据密文
    //     */
    //    private String ciphertext;
    //
    //    /**
    //     * 附加数据
    //     */
    //    public String associated_data;
    //
    //    /**
    //     * 原始类型
    //     * 原始回调类型为:transaction
    //     */
    //    private String original_type;
    //
    //    /**
    //     * 随机串
    //     */
    //    private String nonce;
    //}
}