Skip to content

Commit fcc5eff

Browse files
authored
Merge pull request binarywang#43 from aalx/develop
查询订单支付状态返回的结果WxMpPayResult增加新字段
2 parents 21c5855 + d92c379 commit fcc5eff

1 file changed

Lines changed: 84 additions & 47 deletions

File tree

‎weixin-java-mp/src/main/java/me/chanjar/weixin/mp/bean/result/WxMpPayResult.java‎

Lines changed: 84 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -41,93 +41,102 @@ public class WxMpPayResult implements Serializable {
4141
private String out_trade_no;
4242
private String attach;
4343
private String time_end;
44-
44+
/**
45+
* 现金支付金额 cash_fee 是 Int 100 现金支付金额订单现金支付金额,详见支付金额
46+
*/
47+
private String cash_fee;
48+
49+
/**
50+
* 现金支付货币类型 cash_fee_type 否
51+
*
52+
*/
53+
private String cash_fee_type;
4554
public String getReturn_code() {
46-
return this.return_code;
55+
return return_code;
4756
}
4857

4958
public String getReturn_msg() {
50-
return this.return_msg;
59+
return return_msg;
5160
}
5261

5362
public String getAppid() {
54-
return this.appid;
63+
return appid;
5564
}
5665

5766
public String getMch_id() {
58-
return this.mch_id;
67+
return mch_id;
5968
}
6069

6170
public String getNonce_str() {
62-
return this.nonce_str;
71+
return nonce_str;
6372
}
6473

6574
public String getSign() {
66-
return this.sign;
75+
return sign;
6776
}
6877

6978
public String getResult_code() {
70-
return this.result_code;
79+
return result_code;
7180
}
7281

7382
public String getErr_code() {
74-
return this.err_code;
83+
return err_code;
7584
}
7685

7786
public String getErr_code_des() {
78-
return this.err_code_des;
87+
return err_code_des;
7988
}
8089

8190
public String getTrade_state() {
82-
return this.trade_state;
91+
return trade_state;
8392
}
8493

8594
public String getDevice_info() {
86-
return this.device_info;
95+
return device_info;
8796
}
8897

8998
public String getOpenid() {
90-
return this.openid;
99+
return openid;
91100
}
92101

93102
public String getIs_subscribe() {
94-
return this.is_subscribe;
103+
return is_subscribe;
95104
}
96105

97106
public String getTrade_type() {
98-
return this.trade_type;
107+
return trade_type;
99108
}
100109

101110
public String getBank_type() {
102-
return this.bank_type;
111+
return bank_type;
103112
}
104113

105114
public String getTotal_fee() {
106-
return this.total_fee;
115+
return total_fee;
107116
}
108117

109118
public String getCoupon_fee() {
110-
return this.coupon_fee;
119+
return coupon_fee;
111120
}
112121

113122
public String getFee_type() {
114-
return this.fee_type;
123+
return fee_type;
115124
}
116125

117126
public String getTransaction_id() {
118-
return this.transaction_id;
127+
return transaction_id;
119128
}
120129

121130
public String getOut_trade_no() {
122-
return this.out_trade_no;
131+
return out_trade_no;
123132
}
124133

125134
public String getAttach() {
126-
return this.attach;
135+
return attach;
127136
}
128137

129138
public String getTime_end() {
130-
return this.time_end;
139+
return time_end;
131140
}
132141

133142
public void setReturn_code(String return_code) {
@@ -219,7 +228,7 @@ public void setTime_end(String time_end) {
219228
}
220229

221230
public String getTrade_state_desc() {
222-
return this.trade_state_desc;
231+
return trade_state_desc;
223232
}
224233

225234
public void setTrade_state_desc(String trade_state_desc) {
@@ -229,29 +238,57 @@ public void setTrade_state_desc(String trade_state_desc) {
229238
@Override
230239
public String toString() {
231240
return "WxMpPayResult{" +
232-
"return_code=" + this.return_code +
233-
", return_msg='" + this.return_msg + '\'' +
234-
", appid='" + this.appid + '\'' +
235-
", mch_id='" + this.mch_id + '\'' +
236-
", nonce_str='" + this.nonce_str + '\'' +
237-
", sign='" + this.sign + '\'' +
238-
", result_code='" + this.result_code + '\'' +
239-
", err_code='" + this.err_code + '\'' +
240-
", err_code_des='" + this.err_code_des + '\'' +
241-
", trade_state=" + this.trade_state +
242-
", trade_state_desc=" + this.trade_state_desc +
243-
", device_info='" + this.device_info + '\'' +
244-
", openid='" + this.openid + '\'' +
245-
", is_subscribe='" + this.is_subscribe + '\'' +
246-
", trade_type='" + this.trade_type + '\'' +
247-
", bank_type='" + this.bank_type + '\'' +
248-
", total_fee='" + this.total_fee + '\'' +
249-
", coupon_fee='" + this.coupon_fee + '\'' +
250-
", fee_type='" + this.fee_type + '\'' +
251-
", transaction_id='" + this.transaction_id + '\'' +
252-
", out_trade_no='" + this.out_trade_no + '\'' +
253-
", attach='" + this.attach + '\'' +
254-
", time_end='" + this.time_end + '\'' +
241+
"return_code=" + return_code +
242+
", return_msg='" + return_msg + '\'' +
243+
", appid='" + appid + '\'' +
244+
", mch_id='" + mch_id + '\'' +
245+
", nonce_str='" + nonce_str + '\'' +
246+
", sign='" + sign + '\'' +
247+
", result_code='" + result_code + '\'' +
248+
", err_code='" + err_code + '\'' +
249+
", err_code_des='" + err_code_des + '\'' +
250+
", trade_state=" + trade_state +
251+
", trade_state_desc=" + trade_state_desc +
252+
", device_info='" + device_info + '\'' +
253+
", openid='" + openid + '\'' +
254+
", is_subscribe='" + is_subscribe + '\'' +
255+
", trade_type='" + trade_type + '\'' +
256+
", bank_type='" + bank_type + '\'' +
257+
", total_fee='" + total_fee + '\'' +
258+
", coupon_fee='" + coupon_fee + '\'' +
259+
", fee_type='" + fee_type + '\'' +
260+
", transaction_id='" + transaction_id + '\'' +
261+
", out_trade_no='" + out_trade_no + '\'' +
262+
", attach='" + attach + '\'' +
263+
", time_end='" + time_end + '\'' +
255264
'}';
256265
}
266+
267+
/**
268+
* @return the cash_fee
269+
*/
270+
public String getCash_fee() {
271+
return cash_fee;
272+
}
273+
274+
/**
275+
* @param cash_fee the cash_fee to set
276+
*/
277+
public void setCash_fee(String cash_fee) {
278+
this.cash_fee = cash_fee;
279+
}
280+
281+
/**
282+
* @return the cash_fee_type
283+
*/
284+
public String getCash_fee_type() {
285+
return cash_fee_type;
286+
}
287+
288+
/**
289+
* @param cash_fee_type the cash_fee_type to set
290+
*/
291+
public void setCash_fee_type(String cash_fee_type) {
292+
this.cash_fee_type = cash_fee_type;
293+
}
257294
}

0 commit comments

Comments
 (0)