package com.ghy.common.adapay.model;

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

/**
 * 撤销支付后Adapay回调接口传过来的数据
 *
 * @author HH 2022/5/31
 */
@Data
public class PayReverseCallback {

    private String id;
    private String status;
    @JSONField(name = "error_code")
    private String errorCode;
    @JSONField(name = "error_msg")
    private String errorMsg;
    @JSONField(name = "error_type")
    private String errorType;
    @JSONField(name = "prod_mode")
    private String prodMode;
    @JSONField(name = "order_no")
    private String orderNo;
    @JSONField(name = "payment_id")
    private String paymentId;
    @JSONField(name = "reverse_amt")
    private String reverseAmt;
    @JSONField(name = "reversed_amt")
    private String reversedAmt;
    @JSONField(name = "confirmed_amt")
    private String confirmedAmt;
    @JSONField(name = "refunded_amt")
    private String refundedAmt;
    @JSONField(name = "created_time")
    private String created_time;
    @JSONField(name = "succeed_time")
    private String succeedTime;
    @JSONField(name = "channel_no")
    private String channelNo;
    private String reason;
}
