package com.yn.bftl.thirdparty.modules.chinaums.dto.chinaums;

import com.alibaba.fastjson.JSONObject;
import io.swagger.annotations.ApiModel;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 银联消费担保支付确认DTO
 *
 * @author huabiao
 * @create 2022/12/15  15:52
 **/
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "ChinaumsGuaranteePayConfirmsDTO", description = "银联消费担保支付确认DTO")
@Builder
public class ChinaumsGuaranteePayConfirmsDTO {

    /**
     * 平台订单号(在系统中是支付单号)
     */
    private String outOrderNo;

    /**
     * 合并消费担保下单子订单系统订单号
     */
    private String guaranteePaymentId;

    /**
     * 发送时间
     */
    private String sentAt;

    /**
     * 确认金额
     */
    private Integer amount;

    /**
     * 交易授权码
     * 配置为不传密码
     */
    private String password;

    /**
     * 备注
     */
    private String remark;

    /**
     * 扩展字段
     */
    private ChinaumsGuaranteePayExtraDTO extra;

    /**
     * 自定义参数
     */
    private JSONObject metadata;
}
