Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.banana.crypto.model;
- import com.google.gson.annotations.Expose;
- import com.google.gson.annotations.SerializedName;
- public class Transaction {
- @SerializedName("blockNumber")
- @Expose
- private String blockNumber;
- @SerializedName("timeStamp")
- @Expose
- private String timeStamp;
- @SerializedName("hash")
- @Expose
- private String hash;
- @SerializedName("nonce")
- @Expose
- private String nonce;
- @SerializedName("blockHash")
- @Expose
- private String blockHash;
- @SerializedName("transactionIndex")
- @Expose
- private String transactionIndex;
- @SerializedName("from")
- @Expose
- private String from;
- @SerializedName("to")
- @Expose
- private String to;
- @SerializedName("value")
- @Expose
- private String value;
- @SerializedName("gas")
- @Expose
- private String gas;
- @SerializedName("gasPrice")
- @Expose
- private String gasPrice;
- @SerializedName("isError")
- @Expose
- private String isError;
- @SerializedName("txreceipt_status")
- @Expose
- private String txreceiptStatus;
- @SerializedName("input")
- @Expose
- private String input;
- @SerializedName("contractAddress")
- @Expose
- private String contractAddress;
- @SerializedName("cumulativeGasUsed")
- @Expose
- private String cumulativeGasUsed;
- @SerializedName("gasUsed")
- @Expose
- private String gasUsed;
- @SerializedName("confirmations")
- @Expose
- private String confirmations;
- public String getBlockNumber() {
- return blockNumber;
- }
- public void setBlockNumber(String blockNumber) {
- this.blockNumber = blockNumber;
- }
- public String getTimeStamp() {
- return timeStamp;
- }
- public void setTimeStamp(String timeStamp) {
- this.timeStamp = timeStamp;
- }
- public String getHash() {
- return hash;
- }
- public void setHash(String hash) {
- this.hash = hash;
- }
- public String getNonce() {
- return nonce;
- }
- public void setNonce(String nonce) {
- this.nonce = nonce;
- }
- public String getBlockHash() {
- return blockHash;
- }
- public void setBlockHash(String blockHash) {
- this.blockHash = blockHash;
- }
- public String getTransactionIndex() {
- return transactionIndex;
- }
- public void setTransactionIndex(String transactionIndex) {
- this.transactionIndex = transactionIndex;
- }
- public String getFrom() {
- return from;
- }
- public void setFrom(String from) {
- this.from = from;
- }
- public String getTo() {
- return to;
- }
- public void setTo(String to) {
- this.to = to;
- }
- public String getValue() {
- return value;
- }
- public void setValue(String value) {
- this.value = value;
- }
- public String getGas() {
- return gas;
- }
- public void setGas(String gas) {
- this.gas = gas;
- }
- public String getGasPrice() {
- return gasPrice;
- }
- public void setGasPrice(String gasPrice) {
- this.gasPrice = gasPrice;
- }
- public String getIsError() {
- return isError;
- }
- public void setIsError(String isError) {
- this.isError = isError;
- }
- public String getTxreceiptStatus() {
- return txreceiptStatus;
- }
- public void setTxreceiptStatus(String txreceiptStatus) {
- this.txreceiptStatus = txreceiptStatus;
- }
- public String getInput() {
- return input;
- }
- public void setInput(String input) {
- this.input = input;
- }
- public String getContractAddress() {
- return contractAddress;
- }
- public void setContractAddress(String contractAddress) {
- this.contractAddress = contractAddress;
- }
- public String getCumulativeGasUsed() {
- return cumulativeGasUsed;
- }
- public void setCumulativeGasUsed(String cumulativeGasUsed) {
- this.cumulativeGasUsed = cumulativeGasUsed;
- }
- public String getGasUsed() {
- return gasUsed;
- }
- public void setGasUsed(String gasUsed) {
- this.gasUsed = gasUsed;
- }
- public String getConfirmations() {
- return confirmations;
- }
- public void setConfirmations(String confirmations) {
- this.confirmations = confirmations;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement