package com.heyu.api.jsapi.dto.pay;

import com.google.gson.annotations.SerializedName;
import lombok.Data;

import java.util.List;

@Data
public class DirectAPIv3QueryResponse {
    @SerializedName("appid")
    public String appid;

    @SerializedName("mchid")
    public String mchid;

    @SerializedName("out_trade_no")
    public String outTradeNo;

    @SerializedName("transaction_id")
    public String transactionId;

    @SerializedName("trade_type")
    public String tradeType;

    @SerializedName("trade_state")
    public String tradeState;

    @SerializedName("trade_state_desc")
    public String tradeStateDesc;

    @SerializedName("bank_type")
    public String bankType;

    @SerializedName("attach")
    public String attach;

    @SerializedName("success_time")
    public String successTime;

    @SerializedName("payer")
    public CommRespPayerInfo payer;

    @SerializedName("amount")
    public CommRespAmountInfo amount;

    @SerializedName("scene_info")
    public CommRespSceneInfo sceneInfo;

    @SerializedName("promotion_detail")
    public List<PromotionDetail> promotionDetail;
}