All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.webank.wecrosssdk.rpc.methods.request.TransactionRequest Maven / Gradle / Ivy

There is a newer version: 1.4.0
Show newest version
package com.webank.wecrosssdk.rpc.methods.request;

import java.util.Arrays;

public class TransactionRequest {
    private String sig;
    private String retTypes[];
    private String method;
    private Object args[];

    public TransactionRequest(String sig, String method, Object[] args) {
        this.sig = sig;
        this.method = method;
        this.args = args;
    }

    public TransactionRequest(String sig, String[] retTypes, String method, Object[] args) {
        this.sig = sig;
        this.retTypes = retTypes;
        this.method = method;
        this.args = args;
    }

    public String getSig() {
        return sig;
    }

    public void setSig(String sig) {
        this.sig = sig;
    }

    public String[] getRetTypes() {
        return retTypes;
    }

    public void setRetTypes(String[] retTypes) {
        this.retTypes = retTypes;
    }

    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    public Object[] getArgs() {
        return args;
    }

    public void setArgs(Object args[]) {
        this.args = args;
    }

    @Override
    public String toString() {
        return "TransactionRequest{"
                + "sig='"
                + sig
                + '\''
                + ", retTypes="
                + Arrays.toString(retTypes)
                + ", method='"
                + method
                + '\''
                + ", args="
                + Arrays.toString(args)
                + '}';
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy