WechatMicropayApiResult.java 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258
  1. package com.kmall.common.utils.wechat;
  2. public class WechatMicropayApiResult {
  3. private String return_code;//返回状态码
  4. private String return_msg;//返回信息
  5. private String appid;//公众账号ID
  6. private String mch_id;//商户号
  7. private String device_info;//设备号
  8. private String nonce_str;//随机字符串
  9. private String sign;//签名
  10. private String result_code;//业务结果
  11. private String err_code;//错误代码
  12. private String err_code_des;//错误代码描述
  13. private String openid;//用户标识
  14. private String is_subscribe;//是否关注公众账号
  15. private String trade_type;//交易类型(MICROPAY 付款码支付)
  16. private String bank_type;//付款银行
  17. private String fee_type;//货币类型
  18. private String total_fee;//订单金额
  19. private String settlement_total_fee;//应结订单金额
  20. private String coupon_fee;//代金券金额
  21. private String cash_fee_type;//现金支付货币类型
  22. private String cash_fee;//现金支付金额
  23. private String transaction_id;//微信支付订单号
  24. private String out_trade_no;//商户订单号
  25. private String attach;//商家数据包
  26. private String time_end;//支付完成时间
  27. /**
  28. * SUCCESS—支付成功
  29. REFUND—转入退款
  30. NOTPAY—未支付
  31. CLOSED—已关闭
  32. REVOKED—已撤销(刷卡支付)
  33. USERPAYING--用户支付中
  34. PAYERROR--支付失败(其他原因,如银行返回失败)
  35. */
  36. private String trade_state;//交易状态
  37. public String getReturn_code() {
  38. return return_code;
  39. }
  40. public void setReturn_code(String return_code) {
  41. this.return_code = return_code;
  42. }
  43. public String getReturn_msg() {
  44. return return_msg;
  45. }
  46. public void setReturn_msg(String return_msg) {
  47. this.return_msg = return_msg;
  48. }
  49. public String getAppid() {
  50. return appid;
  51. }
  52. public void setAppid(String appid) {
  53. this.appid = appid;
  54. }
  55. public String getMch_id() {
  56. return mch_id;
  57. }
  58. public void setMch_id(String mch_id) {
  59. this.mch_id = mch_id;
  60. }
  61. public String getDevice_info() {
  62. return device_info;
  63. }
  64. public void setDevice_info(String device_info) {
  65. this.device_info = device_info;
  66. }
  67. public String getNonce_str() {
  68. return nonce_str;
  69. }
  70. public void setNonce_str(String nonce_str) {
  71. this.nonce_str = nonce_str;
  72. }
  73. public String getSign() {
  74. return sign;
  75. }
  76. public void setSign(String sign) {
  77. this.sign = sign;
  78. }
  79. public String getResult_code() {
  80. return result_code;
  81. }
  82. public void setResult_code(String result_code) {
  83. this.result_code = result_code;
  84. }
  85. public String getErr_code() {
  86. return err_code;
  87. }
  88. public void setErr_code(String err_code) {
  89. this.err_code = err_code;
  90. }
  91. public String getErr_code_des() {
  92. return err_code_des;
  93. }
  94. public void setErr_code_des(String err_code_des) {
  95. this.err_code_des = err_code_des;
  96. }
  97. public String getOpenid() {
  98. return openid;
  99. }
  100. public void setOpenid(String openid) {
  101. this.openid = openid;
  102. }
  103. public String getIs_subscribe() {
  104. return is_subscribe;
  105. }
  106. public void setIs_subscribe(String is_subscribe) {
  107. this.is_subscribe = is_subscribe;
  108. }
  109. public String getTrade_type() {
  110. return trade_type;
  111. }
  112. public void setTrade_type(String trade_type) {
  113. this.trade_type = trade_type;
  114. }
  115. public String getBank_type() {
  116. return bank_type;
  117. }
  118. public void setBank_type(String bank_type) {
  119. this.bank_type = bank_type;
  120. }
  121. public String getFee_type() {
  122. return fee_type;
  123. }
  124. public void setFee_type(String fee_type) {
  125. this.fee_type = fee_type;
  126. }
  127. public String getTotal_fee() {
  128. return total_fee;
  129. }
  130. public void setTotal_fee(String total_fee) {
  131. this.total_fee = total_fee;
  132. }
  133. public String getSettlement_total_fee() {
  134. return settlement_total_fee;
  135. }
  136. public void setSettlement_total_fee(String settlement_total_fee) {
  137. this.settlement_total_fee = settlement_total_fee;
  138. }
  139. public String getCoupon_fee() {
  140. return coupon_fee;
  141. }
  142. public void setCoupon_fee(String coupon_fee) {
  143. this.coupon_fee = coupon_fee;
  144. }
  145. public String getCash_fee_type() {
  146. return cash_fee_type;
  147. }
  148. public void setCash_fee_type(String cash_fee_type) {
  149. this.cash_fee_type = cash_fee_type;
  150. }
  151. public String getCash_fee() {
  152. return cash_fee;
  153. }
  154. public void setCash_fee(String cash_fee) {
  155. this.cash_fee = cash_fee;
  156. }
  157. public String getTransaction_id() {
  158. return transaction_id;
  159. }
  160. public void setTransaction_id(String transaction_id) {
  161. this.transaction_id = transaction_id;
  162. }
  163. public String getOut_trade_no() {
  164. return out_trade_no;
  165. }
  166. public void setOut_trade_no(String out_trade_no) {
  167. this.out_trade_no = out_trade_no;
  168. }
  169. public String getAttach() {
  170. return attach;
  171. }
  172. public void setAttach(String attach) {
  173. this.attach = attach;
  174. }
  175. public String getTime_end() {
  176. return time_end;
  177. }
  178. public void setTime_end(String time_end) {
  179. this.time_end = time_end;
  180. }
  181. public String getTrade_state() {
  182. return trade_state;
  183. }
  184. public void setTrade_state(String trade_state) {
  185. this.trade_state = trade_state;
  186. }
  187. @Override
  188. public String toString() {
  189. return "WechatMicropayApiResult{" + "return_code='" + return_code + '\'' + ", return_msg='" + return_msg +
  190. '\'' + ", appid='" + appid + '\'' + ", mch_id='" + mch_id + '\'' + ", device_info='" + device_info +
  191. '\'' + ", nonce_str='" + nonce_str + '\'' + ", sign='" + sign + '\'' + ", result_code='" + result_code +
  192. '\'' + ", err_code='" + err_code + '\'' + ", err_code_des='" + err_code_des + '\'' + ", openid='" +
  193. openid + '\'' + ", is_subscribe='" + is_subscribe + '\'' + ", trade_type='" + trade_type + '\'' +
  194. ", bank_type='" + bank_type + '\'' + ", fee_type='" + fee_type + '\'' + ", total_fee='" + total_fee +
  195. '\'' + ", settlement_total_fee='" + settlement_total_fee + '\'' + ", coupon_fee='" + coupon_fee + '\'' +
  196. ", cash_fee_type='" + cash_fee_type + '\'' + ", cash_fee='" + cash_fee + '\'' + ", transaction_id='" +
  197. transaction_id + '\'' + ", out_trade_no='" + out_trade_no + '\'' + ", attach='" + attach + '\'' +
  198. ", time_end='" + time_end + '\'' + ", trade_state='" + trade_state + '\'' + '}';
  199. }
  200. }