package com.seer.teach.pay.app.client.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Schema(description = "支付订单的响应信息")
@Data
public class PayOrderRespDTO {

    private Integer channelId;

    @Schema(description = "支付渠道编码")
    private String channelCode;



    /******** jsAPI 预支付参数 *************/
    @Schema(description = "支付参数（对象格式）")
    private Object payParams;

    @Schema(description = "预支付交易ID")
    private String prepayId;



    /******** 回调参数 *************/

    @Schema(description = "支付状态(0-待支付，1-支付成功，2-支付失败，3-申请退款，4-取消支付)")
    private Integer status;

    /**
     * 渠道方的交易流水号
     */
    private String transactionId;

    @Schema(description = "支付订单号")
    private String payOrderSn;

    private Integer payOrderId;

    private LocalDateTime paySuccessTime;

    private String response;
}
