package cn.common.interaction.req.wx.wxpay;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

import java.io.*;

/**
 * @author Singer create by Singer email:singer-coder@qq.com
 * @packageName cn.common.interaction.req.wx.wxpay
 * @Description: 微信支付V3回调接口参数
 * @date 2021-02-05
 */
@Data
public class WxV3PayCallPackReq implements Serializable {


    private static final long serialVersionUID = -7643332814026563343L;


    /**
      * 通知的唯一ID
      */
    private String id;


    /**
     * 通知创建的时间
     */
    @JSONField(name = "create_time")
    private String createTime;

    /**
     * 通知的类型，支付成功通知的类型为TRANSACTION.SUCCESS
     */
    @JSONField(name = "event_type")
    private String eventType;


    /**
     * 通知的资源数据类型，支付成功通知为encrypt-resource
     */
    @JSONField(name = "resource_type")
    private String resourceType;


    /**
     * 通知资源数据
     */
    private WxV3PayCallPackResource resource;

    /**
     * 回调摘要 如:支付成功
     */
    private String summary;


}
