zhubaomin
2025-04-08 d9437e8c8b95377fde98f5ed9f66e54d9d59e4c6
pipIrr-platform/pipIrr-web/pipIrr-web-wechat/src/main/java/com/dy/pipIrrWechat/wechatpay/dto/OrderNotify.java
New file
@@ -0,0 +1,50 @@
package com.dy.pipIrrWechat.wechatpay.dto;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
/**
 * @author ZhuBaoMin
 * @date 2024-07-16 15:15
 * @LastEditTime 2024-07-16 15:15
 * @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;
}