Merge pull request #43 from aalx/develop

查询订单支付状态返回的结果WxMpPayResult增加新字段
This commit is contained in:
Binary Wang 2016-09-21 12:13:53 +08:00 committed by GitHub
commit fcc5effc3f

View File

@ -41,93 +41,102 @@ public class WxMpPayResult implements Serializable {
private String out_trade_no;
private String attach;
private String time_end;
/**
* 现金支付金额 cash_fee Int 100 现金支付金额订单现金支付金额详见支付金额
*/
private String cash_fee;
/**
* 现金支付货币类型 cash_fee_type
*
*/
private String cash_fee_type;
public String getReturn_code() {
return this.return_code;
return return_code;
}
public String getReturn_msg() {
return this.return_msg;
return return_msg;
}
public String getAppid() {
return this.appid;
return appid;
}
public String getMch_id() {
return this.mch_id;
return mch_id;
}
public String getNonce_str() {
return this.nonce_str;
return nonce_str;
}
public String getSign() {
return this.sign;
return sign;
}
public String getResult_code() {
return this.result_code;
return result_code;
}
public String getErr_code() {
return this.err_code;
return err_code;
}
public String getErr_code_des() {
return this.err_code_des;
return err_code_des;
}
public String getTrade_state() {
return this.trade_state;
return trade_state;
}
public String getDevice_info() {
return this.device_info;
return device_info;
}
public String getOpenid() {
return this.openid;
return openid;
}
public String getIs_subscribe() {
return this.is_subscribe;
return is_subscribe;
}
public String getTrade_type() {
return this.trade_type;
return trade_type;
}
public String getBank_type() {
return this.bank_type;
return bank_type;
}
public String getTotal_fee() {
return this.total_fee;
return total_fee;
}
public String getCoupon_fee() {
return this.coupon_fee;
return coupon_fee;
}
public String getFee_type() {
return this.fee_type;
return fee_type;
}
public String getTransaction_id() {
return this.transaction_id;
return transaction_id;
}
public String getOut_trade_no() {
return this.out_trade_no;
return out_trade_no;
}
public String getAttach() {
return this.attach;
return attach;
}
public String getTime_end() {
return this.time_end;
return time_end;
}
public void setReturn_code(String return_code) {
@ -219,7 +228,7 @@ public class WxMpPayResult implements Serializable {
}
public String getTrade_state_desc() {
return this.trade_state_desc;
return trade_state_desc;
}
public void setTrade_state_desc(String trade_state_desc) {
@ -229,29 +238,57 @@ public class WxMpPayResult implements Serializable {
@Override
public String toString() {
return "WxMpPayResult{" +
"return_code=" + this.return_code +
", return_msg='" + this.return_msg + '\'' +
", appid='" + this.appid + '\'' +
", mch_id='" + this.mch_id + '\'' +
", nonce_str='" + this.nonce_str + '\'' +
", sign='" + this.sign + '\'' +
", result_code='" + this.result_code + '\'' +
", err_code='" + this.err_code + '\'' +
", err_code_des='" + this.err_code_des + '\'' +
", trade_state=" + this.trade_state +
", trade_state_desc=" + this.trade_state_desc +
", device_info='" + this.device_info + '\'' +
", openid='" + this.openid + '\'' +
", is_subscribe='" + this.is_subscribe + '\'' +
", trade_type='" + this.trade_type + '\'' +
", bank_type='" + this.bank_type + '\'' +
", total_fee='" + this.total_fee + '\'' +
", coupon_fee='" + this.coupon_fee + '\'' +
", fee_type='" + this.fee_type + '\'' +
", transaction_id='" + this.transaction_id + '\'' +
", out_trade_no='" + this.out_trade_no + '\'' +
", attach='" + this.attach + '\'' +
", time_end='" + this.time_end + '\'' +
"return_code=" + return_code +
", return_msg='" + return_msg + '\'' +
", appid='" + appid + '\'' +
", mch_id='" + mch_id + '\'' +
", nonce_str='" + nonce_str + '\'' +
", sign='" + sign + '\'' +
", result_code='" + result_code + '\'' +
", err_code='" + err_code + '\'' +
", err_code_des='" + err_code_des + '\'' +
", trade_state=" + trade_state +
", trade_state_desc=" + trade_state_desc +
", device_info='" + device_info + '\'' +
", openid='" + openid + '\'' +
", is_subscribe='" + is_subscribe + '\'' +
", trade_type='" + trade_type + '\'' +
", bank_type='" + bank_type + '\'' +
", total_fee='" + total_fee + '\'' +
", coupon_fee='" + coupon_fee + '\'' +
", fee_type='" + fee_type + '\'' +
", transaction_id='" + transaction_id + '\'' +
", out_trade_no='" + out_trade_no + '\'' +
", attach='" + attach + '\'' +
", time_end='" + time_end + '\'' +
'}';
}
/**
* @return the cash_fee
*/
public String getCash_fee() {
return cash_fee;
}
/**
* @param cash_fee the cash_fee to set
*/
public void setCash_fee(String cash_fee) {
this.cash_fee = cash_fee;
}
/**
* @return the cash_fee_type
*/
public String getCash_fee_type() {
return cash_fee_type;
}
/**
* @param cash_fee_type the cash_fee_type to set
*/
public void setCash_fee_type(String cash_fee_type) {
this.cash_fee_type = cash_fee_type;
}
}