All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.zopen.wechat.pay.dto.QueryResponse Maven / Gradle / Ivy

There is a newer version: 1.0.5
Show newest version
package com.zopen.wechat.pay.dto;

import javax.xml.bind.annotation.XmlRootElement;

/**
 * 查询订单的返回结果
 *
 * @author [email protected]
 * @since 2019/8/24
 */
@XmlRootElement(name = "xml")
public class QueryResponse extends BaseResponse {

    private static final long serialVersionUID = 1L;

    private String appid;

    private String mch_id;

    private String nonce_str;

    private String device_info;

    private String openid;

    private String is_subscribe;

    private String trade_type;

    /**
     * 交易状态
     * {@link com.zopen.wechat.pay.dto.constant.TradeStateEnum}
     */
    private String trade_state;

    private String bank_type;

    // 订单总金额,单位为分
    private Integer total_fee;

    private String fee_type;

    private Integer cash_fee;

    private String cash_fee_type;

    private Integer settlement_total_fee;

    private Integer coupon_fee;

    private Integer coupon_count;

    // 微信支付订单号
    private String transaction_id;

    // 商户订单号
    private String out_trade_no;

    private String attach;

    // 支付完成时间
    private String time_end;

    // 交易状态描述
    private String trade_state_desc;

    private String coupon_id_0;
    private Integer coupon_fee_0;
    private String coupon_type_0;

    private String coupon_id_1;
    private Integer coupon_fee_1;
    private String coupon_type_1;

    private String coupon_id_2;
    private Integer coupon_fee_2;
    private String coupon_type_2;

    private String coupon_id_3;
    private Integer coupon_fee_3;
    private String coupon_type_3;

    private String coupon_id_4;
    private Integer coupon_fee_4;
    private String coupon_type_4;

    @Override
    public String toString() {
        return "QueryResponse{" +
                "appid='" + appid + '\'' +
                ", mch_id='" + mch_id + '\'' +
                ", nonce_str='" + nonce_str + '\'' +
                ", device_info='" + device_info + '\'' +
                ", openid='" + openid + '\'' +
                ", is_subscribe='" + is_subscribe + '\'' +
                ", trade_type='" + trade_type + '\'' +
                ", trade_state='" + trade_state + '\'' +
                ", bank_type='" + bank_type + '\'' +
                ", total_fee=" + total_fee +
                ", fee_type='" + fee_type + '\'' +
                ", cash_fee=" + cash_fee +
                ", cash_fee_type='" + cash_fee_type + '\'' +
                ", settlement_total_fee=" + settlement_total_fee +
                ", coupon_fee=" + coupon_fee +
                ", coupon_count=" + coupon_count +
                ", transaction_id='" + transaction_id + '\'' +
                ", out_trade_no='" + out_trade_no + '\'' +
                ", attach='" + attach + '\'' +
                ", time_end='" + time_end + '\'' +
                ", trade_state_desc='" + trade_state_desc + '\'' +
                ", coupon_id_0='" + coupon_id_0 + '\'' +
                ", coupon_fee_0=" + coupon_fee_0 +
                ", coupon_type_0='" + coupon_type_0 + '\'' +
                ", coupon_id_1='" + coupon_id_1 + '\'' +
                ", coupon_fee_1=" + coupon_fee_1 +
                ", coupon_type_1='" + coupon_type_1 + '\'' +
                ", coupon_id_2='" + coupon_id_2 + '\'' +
                ", coupon_fee_2=" + coupon_fee_2 +
                ", coupon_type_2='" + coupon_type_2 + '\'' +
                ", coupon_id_3='" + coupon_id_3 + '\'' +
                ", coupon_fee_3=" + coupon_fee_3 +
                ", coupon_type_3='" + coupon_type_3 + '\'' +
                ", coupon_id_4='" + coupon_id_4 + '\'' +
                ", coupon_fee_4=" + coupon_fee_4 +
                ", coupon_type_4='" + coupon_type_4 + '\'' +
                "} " + super.toString();
    }

    public String getAppid() {
        return appid;
    }

    public void setAppid(String appid) {
        this.appid = appid;
    }

    public String getMch_id() {
        return mch_id;
    }

    public void setMch_id(String mch_id) {
        this.mch_id = mch_id;
    }

    public String getNonce_str() {
        return nonce_str;
    }

    public void setNonce_str(String nonce_str) {
        this.nonce_str = nonce_str;
    }

    public String getDevice_info() {
        return device_info;
    }

    public void setDevice_info(String device_info) {
        this.device_info = device_info;
    }

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }

    public String getIs_subscribe() {
        return is_subscribe;
    }

    public void setIs_subscribe(String is_subscribe) {
        this.is_subscribe = is_subscribe;
    }

    public String getTrade_type() {
        return trade_type;
    }

    public void setTrade_type(String trade_type) {
        this.trade_type = trade_type;
    }

    public String getTrade_state() {
        return trade_state;
    }

    public void setTrade_state(String trade_state) {
        this.trade_state = trade_state;
    }

    public String getBank_type() {
        return bank_type;
    }

    public void setBank_type(String bank_type) {
        this.bank_type = bank_type;
    }

    public Integer getTotal_fee() {
        return total_fee;
    }

    public void setTotal_fee(Integer total_fee) {
        this.total_fee = total_fee;
    }

    public String getFee_type() {
        return fee_type;
    }

    public void setFee_type(String fee_type) {
        this.fee_type = fee_type;
    }

    public Integer getCash_fee() {
        return cash_fee;
    }

    public void setCash_fee(Integer cash_fee) {
        this.cash_fee = cash_fee;
    }

    public String getCash_fee_type() {
        return cash_fee_type;
    }

    public void setCash_fee_type(String cash_fee_type) {
        this.cash_fee_type = cash_fee_type;
    }

    public Integer getSettlement_total_fee() {
        return settlement_total_fee;
    }

    public void setSettlement_total_fee(Integer settlement_total_fee) {
        this.settlement_total_fee = settlement_total_fee;
    }

    public Integer getCoupon_fee() {
        return coupon_fee;
    }

    public void setCoupon_fee(Integer coupon_fee) {
        this.coupon_fee = coupon_fee;
    }

    public Integer getCoupon_count() {
        return coupon_count;
    }

    public void setCoupon_count(Integer coupon_count) {
        this.coupon_count = coupon_count;
    }

    public String getTransaction_id() {
        return transaction_id;
    }

    public void setTransaction_id(String transaction_id) {
        this.transaction_id = transaction_id;
    }

    public String getOut_trade_no() {
        return out_trade_no;
    }

    public void setOut_trade_no(String out_trade_no) {
        this.out_trade_no = out_trade_no;
    }

    public String getAttach() {
        return attach;
    }

    public void setAttach(String attach) {
        this.attach = attach;
    }

    public String getTime_end() {
        return time_end;
    }

    public void setTime_end(String time_end) {
        this.time_end = time_end;
    }

    public String getTrade_state_desc() {
        return trade_state_desc;
    }

    public void setTrade_state_desc(String trade_state_desc) {
        this.trade_state_desc = trade_state_desc;
    }

    public String getCoupon_id_0() {
        return coupon_id_0;
    }

    public void setCoupon_id_0(String coupon_id_0) {
        this.coupon_id_0 = coupon_id_0;
    }

    public Integer getCoupon_fee_0() {
        return coupon_fee_0;
    }

    public void setCoupon_fee_0(Integer coupon_fee_0) {
        this.coupon_fee_0 = coupon_fee_0;
    }

    public String getCoupon_type_0() {
        return coupon_type_0;
    }

    public void setCoupon_type_0(String coupon_type_0) {
        this.coupon_type_0 = coupon_type_0;
    }

    public String getCoupon_id_1() {
        return coupon_id_1;
    }

    public void setCoupon_id_1(String coupon_id_1) {
        this.coupon_id_1 = coupon_id_1;
    }

    public Integer getCoupon_fee_1() {
        return coupon_fee_1;
    }

    public void setCoupon_fee_1(Integer coupon_fee_1) {
        this.coupon_fee_1 = coupon_fee_1;
    }

    public String getCoupon_type_1() {
        return coupon_type_1;
    }

    public void setCoupon_type_1(String coupon_type_1) {
        this.coupon_type_1 = coupon_type_1;
    }

    public String getCoupon_id_2() {
        return coupon_id_2;
    }

    public void setCoupon_id_2(String coupon_id_2) {
        this.coupon_id_2 = coupon_id_2;
    }

    public Integer getCoupon_fee_2() {
        return coupon_fee_2;
    }

    public void setCoupon_fee_2(Integer coupon_fee_2) {
        this.coupon_fee_2 = coupon_fee_2;
    }

    public String getCoupon_type_2() {
        return coupon_type_2;
    }

    public void setCoupon_type_2(String coupon_type_2) {
        this.coupon_type_2 = coupon_type_2;
    }

    public String getCoupon_id_3() {
        return coupon_id_3;
    }

    public void setCoupon_id_3(String coupon_id_3) {
        this.coupon_id_3 = coupon_id_3;
    }

    public Integer getCoupon_fee_3() {
        return coupon_fee_3;
    }

    public void setCoupon_fee_3(Integer coupon_fee_3) {
        this.coupon_fee_3 = coupon_fee_3;
    }

    public String getCoupon_type_3() {
        return coupon_type_3;
    }

    public void setCoupon_type_3(String coupon_type_3) {
        this.coupon_type_3 = coupon_type_3;
    }

    public String getCoupon_id_4() {
        return coupon_id_4;
    }

    public void setCoupon_id_4(String coupon_id_4) {
        this.coupon_id_4 = coupon_id_4;
    }

    public Integer getCoupon_fee_4() {
        return coupon_fee_4;
    }

    public void setCoupon_fee_4(Integer coupon_fee_4) {
        this.coupon_fee_4 = coupon_fee_4;
    }

    public String getCoupon_type_4() {
        return coupon_type_4;
    }

    public void setCoupon_type_4(String coupon_type_4) {
        this.coupon_type_4 = coupon_type_4;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy