package com.crm.pay.entity.callback;

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

/**
 * Paymentasia提币通知参数
 * @author gao
 */
@Data
public class PaymentasiaPayoutCallbackEntity {

    /**
     * 批量订单号
     */
    @JSONField(name = "batch_reference")
    private String batchReference;
    /**
     * 请求标识符
     */
    @JSONField(name = "request_reference")
    private String requestReference;
    /**
     * 系统订单编号
     */
    private String token;
    /**
     * 收款人姓名
     */
    @JSONField(name = "beneficiary_name")
    private String beneficiaryName;
    /**
     * 银行名称
     */
    @JSONField(name = "bank_name")
    private String bankName;
    /**
     * 收款人账号
     */
    @JSONField(name = "account_number")
    private String accountNumber;
    /**
     * 订单货币代码
     */
    @JSONField(name = "order_currency")
    private String orderCurrency;
    /**
     * 订单金额
     */
    @JSONField(name = "order_amount")
    private String orderAmount;
    /**
     * 状态
     * 0-待处理
     * 1-成功
     * 2-失败
     * 3-获得授权
     * 4-处理中
     * 8-取消
     */
    private String status;
    /**
     * 失败原因
     */
    @JSONField(name = "fail_reason")
    private String failReason;
    /**
     * 创建时间
     */
    @JSONField(name = "created_time")
    private Integer createdTime;
    /**
     * 完成时间
     */
    @JSONField(name = "completed_time")
    private Integer completedTime;
    /**
     * 签名
     */
    private String sign;
}

