You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

113 lines
2.8 KiB

  1. using System;
  2. /// <summary>
  3. /// ReturnBean 的摘要说明
  4. /// </summary>
  5. public class ReturnBean
  6. {
  7. private String return_code = null;
  8. private String return_msg = null;
  9. private String appid = null;
  10. private String mch_id = null;
  11. private String nonce_str = null;
  12. private String sign = null;
  13. private String result_code = null;
  14. private String prepay_id = null;
  15. private String trade_type = null;
  16. private String mweb_url = null;
  17. private string str;
  18. public ReturnBean(string str)
  19. {
  20. this.return_code = WX_Util.extract(str, "return_code");
  21. this.return_msg = WX_Util.extract(str, "return_msg");
  22. this.appid = WX_Util.extract(str, "appid");
  23. this.mch_id = WX_Util.extract(str, "mch_id");
  24. this.nonce_str = WX_Util.extract(str, "nonce_str");
  25. this.sign = WX_Util.extract(str, "sign");
  26. this.result_code = WX_Util.extract(str, "result_code");
  27. this.prepay_id = WX_Util.extract(str, "prepay_id");
  28. this.trade_type = WX_Util.extract(str, "trade_type");
  29. this.mweb_url = WX_Util.extract(str, "mweb_url");
  30. }
  31. public String getReturn_code()
  32. {
  33. return return_code;
  34. }
  35. public void setReturn_code(String return_code)
  36. {
  37. this.return_code = return_code;
  38. }
  39. public String getReturn_msg()
  40. {
  41. return return_msg;
  42. }
  43. public void setReturn_msg(String return_msg)
  44. {
  45. this.return_msg = return_msg;
  46. }
  47. public String getAppid()
  48. {
  49. return appid;
  50. }
  51. public void setAppid(String appid)
  52. {
  53. this.appid = appid;
  54. }
  55. public String getMch_id()
  56. {
  57. return mch_id;
  58. }
  59. public void setMch_id(String mch_id)
  60. {
  61. this.mch_id = mch_id;
  62. }
  63. public String getNonce_str()
  64. {
  65. return nonce_str;
  66. }
  67. public void setNonce_str(String nonce_str)
  68. {
  69. this.nonce_str = nonce_str;
  70. }
  71. public String getSign()
  72. {
  73. return sign;
  74. }
  75. public void setSign(String sign)
  76. {
  77. this.sign = sign;
  78. }
  79. public String getResult_code()
  80. {
  81. return result_code;
  82. }
  83. public void setResult_code(String result_code)
  84. {
  85. this.result_code = result_code;
  86. }
  87. public String getPrepay_id()
  88. {
  89. return prepay_id;
  90. }
  91. public void setPrepay_id(String prepay_id)
  92. {
  93. this.prepay_id = prepay_id;
  94. }
  95. public String getTrade_type()
  96. {
  97. return trade_type;
  98. }
  99. public void setTrade_type(String trade_type)
  100. {
  101. this.trade_type = trade_type;
  102. }
  103. public String getMweb_url()
  104. {
  105. return mweb_url;
  106. }
  107. public void setMweb_url(String mweb_url)
  108. {
  109. this.mweb_url = mweb_url;
  110. }
  111. }