美文网首页
微信支付实体类补发

微信支付实体类补发

作者: 何事西风悲画扇_4b46 | 来源:发表于2018-12-22 09:50 被阅读0次
package com.alpha.modules.wxpay.entity;

/**

* 微信小程序支付-再次签名返回结果

* 返回参数给前台发起支付

*/

public class WxPayEntity {

    /**小程序ID*/

    private String appid;

    /**时间戳*/

    private String timeStamp;

    /**随即串-32位以内*/

    private String nonceStr;

    /**数据包 统一下单接口返回:prepay_id=xxxx*/

    private String package_wx;

    /**签名算法 微信暂时支持MD5*/

    private String signType;

    /**签名*/

    private String sign;

    /** 以下字段在微信异步通知下返回. */

    private Double orderAmount;

    /**订单ID*/

    private String orderId;

    /**第三方支付的流水号*/

    private String outTradeNo;

    public String getAppid() {

        return appid;

    }

    public void setAppid(String appid) {

        this.appid = appid;

    }

    public String getTimeStamp() {

        return timeStamp;

    }

    public void setTimeStamp(String timeStamp) {

        this.timeStamp = timeStamp;

    }

    public String getNonceStr() {

        return nonceStr;

    }

    public void setNonceStr(String nonceStr) {

        this.nonceStr = nonceStr;

    }

    public String getPackage_wx() {

        return package_wx;

    }

    public void setPackage_wx(String package_wx) {

        this.package_wx = package_wx;

    }

    public String getSignType() {

        return signType;

    }

    public void setSignType(String signType) {

        this.signType = signType;

    }

    public String getSign() {

        return sign;

    }

    public void setSign(String sign) {

        this.sign = sign;

    }

    public Double getOrderAmount() {

        return orderAmount;

    }

    public void setOrderAmount(Double orderAmount) {

        this.orderAmount = orderAmount;

    }

    public String getOrderId() {

        return orderId;

    }

    public void setOrderId(String orderId) {

        this.orderId = orderId;

    }

    public String getOutTradeNo() {

        return outTradeNo;

    }

    public void setOutTradeNo(String outTradeNo) {

        this.outTradeNo = outTradeNo;

    }

}

WxPayEntity.java

package com.alpha.modules.wxpay.entity;

/**

* 微信小程序退款-回调信息

* 返回参数给前台

*/

public class WxRefundEntity {

    /**退款订单*/

    private String outRefundNo ;

    /**退款状态*/  //SUCCESS-退款成功、CHANGE-退款异常、REFUNDCLOSE—退款关闭

    private String refundStatus;

    /**第三方支付的流水号*/

    private String outTradeNo;

public String getOutRefundNo() {

return outRefundNo;

}

public void setOutRefundNo(String outRefundNo) {

this.outRefundNo = outRefundNo;

}

public String getRefundStatus() {

return refundStatus;

}

public void setRefundStatus(String refundStatus) {

this.refundStatus = refundStatus;

}

public String getOutTradeNo() {

return outTradeNo;

}

public void setOutTradeNo(String outTradeNo) {

this.outTradeNo = outTradeNo;

}



}

WxRefundEntity.java

package com.alpha.modules.wxpay.form;

import java.math.BigDecimal;

import io.swagger.annotations.ApiModel;

import io.swagger.annotations.ApiModelProperty;

/**

* 支付/退款参数-以下参数需外界传入

*/

@ApiModel(value = "支付参数")

public class PayParam {

    /**用户微信openid*/

@ApiModelProperty(value = "openid")

    private String openId;

    /**订单号*/

@ApiModelProperty(value = "订单号")

    private String tradeNo;

    /**商品描述*/

@ApiModelProperty(value = "商品描述")

    private String body;

    /**订单金额*/

@ApiModelProperty(value = "订单金额")

    private BigDecimal amount;

/**退款订单号*/

@ApiModelProperty(value = "退款订单号")

    private String outRefundNo;

/**退款金额*/

@ApiModelProperty(value = "退款金额")

    private BigDecimal refundAmount;

@ApiModelProperty(value = "tradeType")

    private String tradeType;

    public String getTradeType() {

        return tradeType;

    }

    public void setTradeType(String tradeType) {

        this.tradeType = tradeType;

    }

    public String getOpenId() {

        return openId;

    }

    public void setOpenId(String openId) {

        this.openId = openId;

    }

    public String getTradeNo() {

        return tradeNo;

    }

    public void setTradeNo(String tradeNo) {

        this.tradeNo = tradeNo;

    }

    public String getBody() {

        return body;

    }

    public void setBody(String body) {

        this.body = body;

    }

    public BigDecimal getAmount() {

        return amount;

    }

    public void setAmount(BigDecimal amount) {

        this.amount = amount;

    }

public BigDecimal getRefundAmount() {

return refundAmount;

}

public void setRefundAmount(BigDecimal refundAmount) {

this.refundAmount = refundAmount;

}

public String getOutRefundNo() {

return outRefundNo;

}

public void setOutRefundNo(String outRefundNo) {

this.outRefundNo = outRefundNo;

}



}

PayParam.java

package com.alpha.modules.wxpay.xmlentity;

import org.simpleframework.xml.Element;

import org.simpleframework.xml.Root;

/**

* @Author: Temple

* @Description: 小程序支付异步通知参数

* @Date: 2018年12月16日 18:00:31

*/

@Root(name = "xml", strict = false)

public class WxPayNotifyResponse {

    /**返回状态码*/

    @Element(name = "return_code")

    private String returnCode;

    /**返回信息*/

    @Element(name = "return_msg", required = false)

    private String returnMsg;

    /**小程序ID*/

    @Element(name = "appid", required = false)

    private String appid;

    /**商户号*/

    @Element(name = "mch_id", required = false)

    private String mchId;

    /**随即字符串*/

    @Element(name = "nonce_str", required = false)

    private String nonceStr;

    /**签名*/

    private String sign;

    /**签名结果*/

    @Element(name = "result_code", required = false)

    private String resultCode;

    /**错误代码*/

    @Element(name = "err_code", required = false)

    private String errCode;

    /**错误代码描述*/

    @Element(name = "err_code_des", required = false)

    private String errCodeDes;

    /**用户标识*/

    @Element(name = "openid", required = false)

    private String openid;

    /**交易类型*/

    @Element(name = "trade_type", required = false)

    private String tradeType;

    /**付款银行*/

    @Element(name = "bank_type", required = false)

    private String bankType;

    /**订单金额*/

    @Element(name = "total_fee", required = false)

    private Integer totalFee;

    /**现金支付金额*/

    @Element(name = "cash_fee", required = false)

    private Integer cashFee;

    /**是否关注公共账号*/

    @Element(name = "is_subscribe", required = false)

    private String isSubscribe;

    /**货币种类*/

    @Element(name = "fee_type", required = false)

    private String feeType;

    /**微信支付订单号*/

    @Element(name = "transaction_id", required = false)

    private String transactionId;

    /**商户订单号*/

    @Element(name = "out_trade_no", required = false)

    private String outTradeNo;

    /**支付完成时间*/

    @Element(name = "time_end", required = false)

    private String timeEnd;

    public String getReturnCode() {

        return returnCode;

    }

    public void setReturnCode(String returnCode) {

        this.returnCode = returnCode;

    }

    public String getReturnMsg() {

        return returnMsg;

    }

    public void setReturnMsg(String returnMsg) {

        this.returnMsg = returnMsg;

    }

    public String getAppid() {

        return appid;

    }

    public void setAppid(String appid) {

        this.appid = appid;

    }

    public String getMchId() {

        return mchId;

    }

    public void setMchId(String mchId) {

        this.mchId = mchId;

    }

    public String getNonceStr() {

        return nonceStr;

    }

    public void setNonceStr(String nonceStr) {

        this.nonceStr = nonceStr;

    }

    public String getSign() {

        return sign;

    }

    public void setSign(String sign) {

        this.sign = sign;

    }

    public String getResultCode() {

        return resultCode;

    }

    public void setResultCode(String resultCode) {

        this.resultCode = resultCode;

    }

    public String getOpenid() {

        return openid;

    }

    public void setOpenid(String openid) {

        this.openid = openid;

    }

    public String getTradeType() {

        return tradeType;

    }

    public void setTradeType(String tradeType) {

        this.tradeType = tradeType;

    }

    public String getBankType() {

        return bankType;

    }

    public void setBankType(String bankType) {

        this.bankType = bankType;

    }

    public Integer getTotalFee() {

        return totalFee;

    }

    public void setTotalFee(Integer totalFee) {

        this.totalFee = totalFee;

    }

    public Integer getCashFee() {

        return cashFee;

    }

    public void setCashFee(Integer cashFee) {

        this.cashFee = cashFee;

    }

    public String getTransactionId() {

        return transactionId;

    }

    public void setTransactionId(String transactionId) {

        this.transactionId = transactionId;

    }

    public String getOutTradeNo() {

        return outTradeNo;

    }

    public void setOutTradeNo(String outTradeNo) {

        this.outTradeNo = outTradeNo;

    }

    public String getTimeEnd() {

        return timeEnd;

    }

    public void setTimeEnd(String timeEnd) {

        this.timeEnd = timeEnd;

    }

    public String getErrCode() {

        return errCode;

    }

    public void setErrCode(String errCode) {

        this.errCode = errCode;

    }

    public String getErrCodeDes() {

        return errCodeDes;

    }

    public void setErrCodeDes(String errCodeDes) {

        this.errCodeDes = errCodeDes;

    }

    public String getIsSubscribe() {

        return isSubscribe;

    }

    public void setIsSubscribe(String isSubscribe) {

        this.isSubscribe = isSubscribe;

    }

    public String getFeeType() {

        return feeType;

    }

    public void setFeeType(String feeType) {

        this.feeType = feeType;

    }

}

WxPayNotifyResponse.java

package com.alpha.modules.wxpay.xmlentity;

import com.thoughtworks.xstream.annotations.XStreamAlias;

/**

* 微信小程序-统一下单接口-请求参数

* 该对象字段参数格式及顺序必须严格按照下列方式编写。

*/

@XStreamAlias("xml")

public class WxPayUnifiedorderRequest {

    /**小程序ID*/

    private String appid;

    /**商品描述*/

    private String body;

    /**商户号*/

    @XStreamAlias("mch_id")

    private String mchId;

    /**随机字符串*/

    @XStreamAlias("nonce_str")

    private String nonceStr;

    /**通知地址*/

    @XStreamAlias("notify_url")

    private String notifyUrl;

    /**用户标识*/

    private String openid;

    /**商户订单号*/

    @XStreamAlias("out_trade_no")

    private String outTradeNo;

    /**终端IP*/

    @XStreamAlias("spbill_create_ip")

    private String spbillCreateIp;

    /**总金额(单位:分)*/

    @XStreamAlias("total_fee")

    private Integer totalFee;

    /**交易类型*/

    @XStreamAlias("trade_type")

    private String tradeType;

    /**签名*/

    private String sign;

    public String getAppid() {

        return appid;

    }

    public void setAppid(String appid) {

        this.appid = appid;

    }

    public String getMchId() {

        return mchId;

    }

    public void setMchId(String mchId) {

        this.mchId = mchId;

    }

    public String getNonceStr() {

        return nonceStr;

    }

    public void setNonceStr(String nonceStr) {

        this.nonceStr = nonceStr;

    }

    public String getSign() {

        return sign;

    }

    public void setSign(String sign) {

        this.sign = sign;

    }

    public String getBody() {

        return body;

    }

    public void setBody(String body) {

        this.body = body;

    }

    public String getOutTradeNo() {

        return outTradeNo;

    }

    public void setOutTradeNo(String outTradeNo) {

        this.outTradeNo = outTradeNo;

    }

    public Integer getTotalFee() {

        return totalFee;

    }

    public void setTotalFee(Integer totalFee) {

        this.totalFee = totalFee;

    }

    public String getSpbillCreateIp() {

        return spbillCreateIp;

    }

    public void setSpbillCreateIp(String spbillCreateIp) {

        this.spbillCreateIp = spbillCreateIp;

    }

    public String getTradeType() {

        return tradeType;

    }

    public void setTradeType(String tradeType) {

        this.tradeType = tradeType;

    }

    public String getNotifyUrl() {

        return notifyUrl;

    }

    public void setNotifyUrl(String notifyUrl) {

        this.notifyUrl = notifyUrl;

    }

    public String getOpenid() {

        return openid;

    }

    public void setOpenid(String openid) {

        this.openid = openid;

    }

    @Override

    public String toString() {

        final StringBuffer sb = new StringBuffer("WxUnifiedorderRequest{");

        sb.append("appid='").append(appid).append('\'');

        sb.append(", mchId='").append(mchId).append('\'');

        sb.append(", nonceStr='").append(nonceStr).append('\'');

        sb.append(", sign='").append(sign).append('\'');

        sb.append(", body='").append(body).append('\'');

        sb.append(", outTradeNo='").append(outTradeNo).append('\'');

        sb.append(", totalFee=").append(totalFee);

        sb.append(", spbillCreateIp='").append(spbillCreateIp).append('\'');

        sb.append(", notifyUrl='").append(notifyUrl).append('\'');

        sb.append(", tradeType='").append(tradeType).append('\'');

        sb.append(", openid='").append(openid).append('\'');

        sb.append('}');

        return sb.toString();

    }

}

WxPayUnifiedorderRequest.java

package com.alpha.modules.wxpay.xmlentity;

import org.simpleframework.xml.Element;

import org.simpleframework.xml.Root;

/**

* 微信小程序支付-统一下单接口异步返回结果

*/

@Root(name = "xml", strict = false)

public class WxPayUnifiedorderResponse {

    /**返回状态码*/

    @Element(name = "return_code")

    private String returnCode;

    /**返回信息*/

    @Element(name = "return_msg", required = false)

    private String returnMsg;

    @Element(name = "appid", required = false)

    /**小程序ID*/

    private String appid;

    /**商户号*/

    @Element(name = "mch_id",required = false)

    private String mchId;

    /**设备号*/

    @Element(name = "device_info", required = false)

    private String deviceInfo;

    /**随即字符串*/

    @Element(name = "nonce_str", required = false)

    private String nonceStr;

    @Element(name = "sign", required = false)

    /**签名*/

    private String sign;

    /**业务结果*/

    @Element(name = "result_code", required = false)

    private String resultCode;

    /**错误代码*/

    @Element(name = "err_code", required = false)

    private String errCode;

    /**错误代码描述*/

    @Element(name = "err_code_des", required = false)

    private String errCodeDes;

    /**交易类型*/

    @Element(name = "trade_type", required = false)

    private String tradeType;

    /**预支付交易会话标识*/

    @Element(name = "prepay_id", required = false)

    private String prepayId;

    public String getReturnCode() {

        return returnCode;

    }

    public void setReturnCode(String returnCode) {

        this.returnCode = returnCode;

    }

    public String getReturnMsg() {

        return returnMsg;

    }

    public void setReturnMsg(String returnMsg) {

        this.returnMsg = returnMsg;

    }

    public String getAppid() {

        return appid;

    }

    public void setAppid(String appid) {

        this.appid = appid;

    }

    public String getMchId() {

        return mchId;

    }

    public void setMchId(String mchId) {

        this.mchId = mchId;

    }

    public String getDeviceInfo() {

        return deviceInfo;

    }

    public void setDeviceInfo(String deviceInfo) {

        this.deviceInfo = deviceInfo;

    }

    public String getNonceStr() {

        return nonceStr;

    }

    public void setNonceStr(String nonceStr) {

        this.nonceStr = nonceStr;

    }

    public String getSign() {

        return sign;

    }

    public void setSign(String sign) {

        this.sign = sign;

    }

    public String getResultCode() {

        return resultCode;

    }

    public void setResultCode(String resultCode) {

        this.resultCode = resultCode;

    }

    public String getErrCode() {

        return errCode;

    }

    public void setErrCode(String errCode) {

        this.errCode = errCode;

    }

    public String getErrCodeDes() {

        return errCodeDes;

    }

    public void setErrCodeDes(String errCodeDes) {

        this.errCodeDes = errCodeDes;

    }

    public String getTradeType() {

        return tradeType;

    }

    public void setTradeType(String tradeType) {

        this.tradeType = tradeType;

    }

    public String getPrepayId() {

        return prepayId;

    }

    public void setPrepayId(String prepayId) {

        this.prepayId = prepayId;

    }

}

WxPayUnifiedorderResponse.java

package com.alpha.modules.wxpay.xmlentity;

import org.simpleframework.xml.Element;

import org.simpleframework.xml.Root;

/**

* 微信小程序退款-接口异步返回结果

*/

@Root(name = "root", strict = false)

public class WxRefundNotifyReqinfo {

    /**商户退款单号*/

    @Element(name = "out_refund_no")

    private String outRefundNo;

    /**商户订单号*/

    @Element(name = "out_trade_no", required = false)

    private String outTradeNo;

    /***/

    @Element(name = "refund_account", required = false)

    private String refundAccount;

    /**申请退款金额*/

    @Element(name = "refund_fee",required = false)

    private String refundFee;

    /**微信退款单号*/

    @Element(name = "refund_id", required = false)

    private String refundId;

    /***/

    @Element(name = "refund_recv_accout", required = false)

    private String refundRecvAccout;

    /***/

    @Element(name = "refund_request_source", required = false)

    private String refundRequestSource;

    /**退款状态*/ //SUCCESS-退款成功 CHANGE-退款异常 REFUNDCLOSE—退款关闭

    @Element(name = "refund_status", required = false)

    private String refundStatus;

    /**退款金额*/

    @Element(name = "settlement_refund_fee", required = false)

    private String settlementRefundFee;

    /**应结订单金额*/

    @Element(name = "settlement_total_fee", required = false)

    private String settlementTotalFee;

    /**退款成功时间*/

    @Element(name = "success_time", required = false)

    private String successTime;

    /**订单金额*/

    @Element(name = "total_fee", required = false)

    private String totalFee;

    /**微信订单号*/

    @Element(name = "transaction_id", required = false)

    private String transactionId;

public String getOutRefundNo() {

return outRefundNo;

}

public void setOutRefundNo(String outRefundNo) {

this.outRefundNo = outRefundNo;

}

public String getOutTradeNo() {

return outTradeNo;

}

public void setOutTradeNo(String outTradeNo) {

this.outTradeNo = outTradeNo;

}

public String getRefundAccount() {

return refundAccount;

}

public void setRefundAccount(String refundAccount) {

this.refundAccount = refundAccount;

}

public String getRefundFee() {

return refundFee;

}

public void setRefundFee(String refundFee) {

this.refundFee = refundFee;

}

public String getRefundId() {

return refundId;

}

public void setRefundId(String refundId) {

this.refundId = refundId;

}

public String getRefundRecvAccout() {

return refundRecvAccout;

}

public void setRefundRecvAccout(String refundRecvAccout) {

this.refundRecvAccout = refundRecvAccout;

}

public String getRefundRequestSource() {

return refundRequestSource;

}

public void setRefundRequestSource(String refundRequestSource) {

this.refundRequestSource = refundRequestSource;

}

public String getRefundStatus() {

return refundStatus;

}

public void setRefundStatus(String refundStatus) {

this.refundStatus = refundStatus;

}

public String getSettlementRefundFee() {

return settlementRefundFee;

}

public void setSettlementRefundFee(String settlementRefundFee) {

this.settlementRefundFee = settlementRefundFee;

}

public String getSettlementTotalFee() {

return settlementTotalFee;

}

public void setSettlementTotalFee(String settlementTotalFee) {

this.settlementTotalFee = settlementTotalFee;

}

public String getSuccessTime() {

return successTime;

}

public void setSuccessTime(String successTime) {

this.successTime = successTime;

}

public String getTotalFee() {

return totalFee;

}

public void setTotalFee(String totalFee) {

this.totalFee = totalFee;

}

public String getTransactionId() {

return transactionId;

}

public void setTransactionId(String transactionId) {

this.transactionId = transactionId;

}





}

WxRefundNotifyReqinfo.java

package com.alpha.modules.wxpay.xmlentity;

import org.simpleframework.xml.Element;

import org.simpleframework.xml.Root;

/**

* 微信小程序退款-接口异步返回结果

*/

@Root(name = "xml", strict = false)

public class WxRefundNotifyResponse {

    /**返回状态码*/

    @Element(name = "return_code")

    private String returnCode;

    /**返回信息*/

    @Element(name = "return_msg", required = false)

    private String returnMsg;

    @Element(name = "appid", required = false)

    /**小程序ID*/

    private String appid;

    /**商户号*/

    @Element(name = "mch_id",required = false)

    private String mchId;

    /**加密信息*/

    @Element(name = "req_info", required = false)

    private String reqInfo;

    public String getReturnCode() {

        return returnCode;

    }

    public void setReturnCode(String returnCode) {

        this.returnCode = returnCode;

    }

    public String getReturnMsg() {

        return returnMsg;

    }

    public void setReturnMsg(String returnMsg) {

        this.returnMsg = returnMsg;

    }

    public String getAppid() {

        return appid;

    }

    public void setAppid(String appid) {

        this.appid = appid;

    }

    public String getMchId() {

        return mchId;

    }

    public void setMchId(String mchId) {

        this.mchId = mchId;

    }

public String getReqInfo() {

return reqInfo;

}

public void setReqInfo(String reqInfo) {

this.reqInfo = reqInfo;

}



}

WxRefundNotifyResponse.java

package com.alpha.modules.wxpay.xmlentity;

import com.thoughtworks.xstream.annotations.XStreamAlias;

/**

* 微信小程序-申请退款-请求参数

* 该对象字段参数格式及顺序必须严格按照下列方式编写。

*/

@XStreamAlias("xml")

public class WxRefundRequest {

    /**小程序ID*/

    private String appid;

    /**商户号*/

    @XStreamAlias("mch_id")

    private String mchId;

    /**随机字符串*/

    @XStreamAlias("nonce_str")

    private String nonceStr;

    /**通知地址*/

    @XStreamAlias("notify_url")

    private String notifyUrl;

    /**商户订单号*/

    @XStreamAlias("out_trade_no")

    private String outTradeNo;

    /**退款订单号*/

    @XStreamAlias("out_refund_no")

    private String outRefundNo;



    /**操作员id*/

    @XStreamAlias("op_user_id")

    private String opUserId;

    /**总金额(单位:分)*/

    @XStreamAlias("total_fee")

    private Integer totalFee;

    /**退款金额*/

    @XStreamAlias("refund_fee")

    private Integer refundFee;

    /**签名*/

    private String sign;



    /**签名类型*/

    @XStreamAlias("sign_type")

    private String signType;



    public String getSignType() {

return signType;

}

public void setSignType(String signType) {

this.signType = signType;

}

public String getAppid() {

return appid;

}

public void setAppid(String appid) {

this.appid = appid;

}

public String getMchId() {

return mchId;

}

public void setMchId(String mchId) {

this.mchId = mchId;

}

public String getNonceStr() {

return nonceStr;

}

public void setNonceStr(String nonceStr) {

this.nonceStr = nonceStr;

}

public String getNotifyUrl() {

return notifyUrl;

}

public void setNotifyUrl(String notifyUrl) {

this.notifyUrl = notifyUrl;

}

public String getOutTradeNo() {

return outTradeNo;

}

public void setOutTradeNo(String outTradeNo) {

this.outTradeNo = outTradeNo;

}

public String getSign() {

return sign;

}

public void setSign(String sign) {

this.sign = sign;

}

public String getOutRefundNo() {

return outRefundNo;

}

public void setOutRefundNo(String outRefundNo) {

this.outRefundNo = outRefundNo;

}

public String getOpUserId() {

return opUserId;

}

public void setOpUserId(String opUserId) {

this.opUserId = opUserId;

}

public Integer getTotalFee() {

return totalFee;

}

public void setTotalFee(Integer totalFee) {

this.totalFee = totalFee;

}

public Integer getRefundFee() {

return refundFee;

}

public void setRefundFee(Integer refundFee) {

this.refundFee = refundFee;

}

}

WxRefundRequest.java

package com.alpha.modules.wxpay.xmlentity;

import org.simpleframework.xml.Element;

import org.simpleframework.xml.Root;

/**

* @Author: Temple

* @Description: 小程序退款异步通知参数

* @Date: 2018年12月16日 18:00:55

*/

@Root(name = "xml", strict = false)

public class WxRefundResponse {

    /**返回状态码*/

    @Element(name = "return_code")

    private String returnCode;

    /**返回信息*/

    @Element(name = "return_msg", required = false)

    private String returnMsg;

    /**小程序ID*/

    @Element(name = "appid", required = false)

    private String appid;

    /**商户号*/

    @Element(name = "mch_id", required = false)

    private String mchId;

    /**随即字符串*/

    @Element(name = "nonce_str", required = false)

    private String nonceStr;

    /**签名*/

    @Element(name = "sign", required = false)

    private String sign;

    /**签名结果*/

    @Element(name = "result_code", required = false)

    private String resultCode;





    /**错误代码*/

    @Element(name = "err_code", required = false)

    private String errCode;

    /**错误代码描述*/

    @Element(name = "err_code_des", required = false)

    private String errCodeDes;

    /**用户标识*/

    @Element(name = "openid", required = false)

    private String openid;

    /**交易类型*/

    @Element(name = "trade_type", required = false)

    private String tradeType;

    /**付款银行*/

    @Element(name = "bank_type", required = false)

    private String bankType;

    /**订单金额*/

    @Element(name = "total_fee", required = false)

    private Integer totalFee;

    /**现金支付金额*/

    @Element(name = "cash_fee", required = false)

    private Integer cashFee;

    /**是否关注公共账号*/

    @Element(name = "is_subscribe", required = false)

    private String isSubscribe;

    /**货币种类*/

    @Element(name = "fee_type", required = false)

    private String feeType;

    /**微信支付订单号*/

    @Element(name = "transaction_id", required = false)

    private String transactionId;

    /**商户订单号*/

    @Element(name = "out_trade_no", required = false)

    private String outTradeNo;

    /**商户退款单号*/

    @Element(name = "out_refund_no", required = false)

    private String outRefundNo;

    /**退款金额*/

    @Element(name = "refund_fee", required = false)

    private String refundFee;

    public String getReturnCode() {

        return returnCode;

    }

    public void setReturnCode(String returnCode) {

        this.returnCode = returnCode;

    }

    public String getReturnMsg() {

        return returnMsg;

    }

    public void setReturnMsg(String returnMsg) {

        this.returnMsg = returnMsg;

    }

    public String getAppid() {

        return appid;

    }

    public void setAppid(String appid) {

        this.appid = appid;

    }

    public String getMchId() {

        return mchId;

    }

    public void setMchId(String mchId) {

        this.mchId = mchId;

    }

    public String getNonceStr() {

        return nonceStr;

    }

    public void setNonceStr(String nonceStr) {

        this.nonceStr = nonceStr;

    }

    public String getSign() {

        return sign;

    }

    public void setSign(String sign) {

        this.sign = sign;

    }

    public String getResultCode() {

        return resultCode;

    }

    public void setResultCode(String resultCode) {

        this.resultCode = resultCode;

    }

    public String getOpenid() {

        return openid;

    }

    public void setOpenid(String openid) {

        this.openid = openid;

    }

    public String getTradeType() {

        return tradeType;

    }

    public void setTradeType(String tradeType) {

        this.tradeType = tradeType;

    }

    public String getBankType() {

        return bankType;

    }

    public void setBankType(String bankType) {

        this.bankType = bankType;

    }

    public Integer getTotalFee() {

        return totalFee;

    }

    public void setTotalFee(Integer totalFee) {

        this.totalFee = totalFee;

    }

    public Integer getCashFee() {

        return cashFee;

    }

    public void setCashFee(Integer cashFee) {

        this.cashFee = cashFee;

    }

    public String getTransactionId() {

        return transactionId;

    }

    public void setTransactionId(String transactionId) {

        this.transactionId = transactionId;

    }

    public String getOutTradeNo() {

        return outTradeNo;

    }

    public void setOutTradeNo(String outTradeNo) {

        this.outTradeNo = outTradeNo;

    }

    public String getOutRefundNo() {

return outRefundNo;

}

public void setOutRefundNo(String outRefundNo) {

this.outRefundNo = outRefundNo;

}

public String getRefundFee() {

return refundFee;

}

public void setRefundFee(String refundFee) {

this.refundFee = refundFee;

}

public String getErrCode() {

        return errCode;

    }

    public void setErrCode(String errCode) {

        this.errCode = errCode;

    }

    public String getErrCodeDes() {

        return errCodeDes;

    }

    public void setErrCodeDes(String errCodeDes) {

        this.errCodeDes = errCodeDes;

    }

    public String getIsSubscribe() {

        return isSubscribe;

    }

    public void setIsSubscribe(String isSubscribe) {

        this.isSubscribe = isSubscribe;

    }

    public String getFeeType() {

        return feeType;

    }

    public void setFeeType(String feeType) {

        this.feeType = feeType;

    }

}

WxRefundResponse.java

---END 完结 实在是急。

相关文章

网友评论

      本文标题:微信支付实体类补发

      本文链接:https://www.haomeiwen.com/subject/dzxikqtx.html