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

com.webank.wecross.stub.Response Maven / Gradle / Ivy

There is a newer version: 1.4.0
Show newest version
package com.webank.wecross.stub;

import java.util.Arrays;

public class Response {
    private int errorCode;
    private String errorMessage;
    private byte[] data;

    public int getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(int errorCode) {
        this.errorCode = errorCode;
    }

    public String getErrorMessage() {
        return errorMessage;
    }

    public void setErrorMessage(String errorMessage) {
        this.errorMessage = errorMessage;
    }

    public byte[] getData() {
        return data;
    }

    public void setData(byte[] data) {
        this.data = data;
    }

    @Override
    public String toString() {
        return "Response{"
                + "errorCode="
                + errorCode
                + ", errorMessage='"
                + errorMessage
                + '\''
                + ", data="
                + Arrays.toString(data)
                + '}';
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy