Advertisement
Guest User

Untitled

a guest
Feb 18th, 2019
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.43 KB | None | 0 0
  1. package com.banana.crypto.model;
  2.  
  3. import com.google.gson.annotations.Expose;
  4. import com.google.gson.annotations.SerializedName;
  5.  
  6. public class Transaction {
  7.  
  8. @SerializedName("blockNumber")
  9. @Expose
  10. private String blockNumber;
  11. @SerializedName("timeStamp")
  12. @Expose
  13. private String timeStamp;
  14. @SerializedName("hash")
  15. @Expose
  16. private String hash;
  17. @SerializedName("nonce")
  18. @Expose
  19. private String nonce;
  20. @SerializedName("blockHash")
  21. @Expose
  22. private String blockHash;
  23. @SerializedName("transactionIndex")
  24. @Expose
  25. private String transactionIndex;
  26. @SerializedName("from")
  27. @Expose
  28. private String from;
  29. @SerializedName("to")
  30. @Expose
  31. private String to;
  32. @SerializedName("value")
  33. @Expose
  34. private String value;
  35. @SerializedName("gas")
  36. @Expose
  37. private String gas;
  38. @SerializedName("gasPrice")
  39. @Expose
  40. private String gasPrice;
  41. @SerializedName("isError")
  42. @Expose
  43. private String isError;
  44. @SerializedName("txreceipt_status")
  45. @Expose
  46. private String txreceiptStatus;
  47. @SerializedName("input")
  48. @Expose
  49. private String input;
  50. @SerializedName("contractAddress")
  51. @Expose
  52. private String contractAddress;
  53. @SerializedName("cumulativeGasUsed")
  54. @Expose
  55. private String cumulativeGasUsed;
  56. @SerializedName("gasUsed")
  57. @Expose
  58. private String gasUsed;
  59. @SerializedName("confirmations")
  60. @Expose
  61. private String confirmations;
  62.  
  63. public String getBlockNumber() {
  64. return blockNumber;
  65. }
  66.  
  67. public void setBlockNumber(String blockNumber) {
  68. this.blockNumber = blockNumber;
  69. }
  70.  
  71. public String getTimeStamp() {
  72. return timeStamp;
  73. }
  74.  
  75. public void setTimeStamp(String timeStamp) {
  76. this.timeStamp = timeStamp;
  77. }
  78.  
  79. public String getHash() {
  80. return hash;
  81. }
  82.  
  83. public void setHash(String hash) {
  84. this.hash = hash;
  85. }
  86.  
  87. public String getNonce() {
  88. return nonce;
  89. }
  90.  
  91. public void setNonce(String nonce) {
  92. this.nonce = nonce;
  93. }
  94.  
  95. public String getBlockHash() {
  96. return blockHash;
  97. }
  98.  
  99. public void setBlockHash(String blockHash) {
  100. this.blockHash = blockHash;
  101. }
  102.  
  103. public String getTransactionIndex() {
  104. return transactionIndex;
  105. }
  106.  
  107. public void setTransactionIndex(String transactionIndex) {
  108. this.transactionIndex = transactionIndex;
  109. }
  110.  
  111. public String getFrom() {
  112. return from;
  113. }
  114.  
  115. public void setFrom(String from) {
  116. this.from = from;
  117. }
  118.  
  119. public String getTo() {
  120. return to;
  121. }
  122.  
  123. public void setTo(String to) {
  124. this.to = to;
  125. }
  126.  
  127. public String getValue() {
  128. return value;
  129. }
  130.  
  131. public void setValue(String value) {
  132. this.value = value;
  133. }
  134.  
  135. public String getGas() {
  136. return gas;
  137. }
  138.  
  139. public void setGas(String gas) {
  140. this.gas = gas;
  141. }
  142.  
  143. public String getGasPrice() {
  144. return gasPrice;
  145. }
  146.  
  147. public void setGasPrice(String gasPrice) {
  148. this.gasPrice = gasPrice;
  149. }
  150.  
  151. public String getIsError() {
  152. return isError;
  153. }
  154.  
  155. public void setIsError(String isError) {
  156. this.isError = isError;
  157. }
  158.  
  159. public String getTxreceiptStatus() {
  160. return txreceiptStatus;
  161. }
  162.  
  163. public void setTxreceiptStatus(String txreceiptStatus) {
  164. this.txreceiptStatus = txreceiptStatus;
  165. }
  166.  
  167. public String getInput() {
  168. return input;
  169. }
  170.  
  171. public void setInput(String input) {
  172. this.input = input;
  173. }
  174.  
  175. public String getContractAddress() {
  176. return contractAddress;
  177. }
  178.  
  179. public void setContractAddress(String contractAddress) {
  180. this.contractAddress = contractAddress;
  181. }
  182.  
  183. public String getCumulativeGasUsed() {
  184. return cumulativeGasUsed;
  185. }
  186.  
  187. public void setCumulativeGasUsed(String cumulativeGasUsed) {
  188. this.cumulativeGasUsed = cumulativeGasUsed;
  189. }
  190.  
  191. public String getGasUsed() {
  192. return gasUsed;
  193. }
  194.  
  195. public void setGasUsed(String gasUsed) {
  196. this.gasUsed = gasUsed;
  197. }
  198.  
  199. public String getConfirmations() {
  200. return confirmations;
  201. }
  202.  
  203. public void setConfirmations(String confirmations) {
  204. this.confirmations = confirmations;
  205. }
  206.  
  207. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement