Class CommonResponse

java.lang.Object
org.fisco.bcos.sdk.transaction.model.dto.CommonResponse
Direct Known Subclasses:
CallResponse, TransactionResponse

public class CommonResponse
extends java.lang.Object
CommonResponse @Description: CommonResponse
  • Constructor Summary

    Constructors 
    Constructor Description
    CommonResponse()  
    CommonResponse​(int returnCode, java.lang.String returnMessage)  
  • Method Summary

    Modifier and Type Method Description
    int getReturnCode()  
    java.lang.String getReturnMessage()  
    void setReturnCode​(int returnCode)  
    void setReturnMessage​(java.lang.String returnMessage)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CommonResponse

      public CommonResponse()
    • CommonResponse

      public CommonResponse​(int returnCode, java.lang.String returnMessage)
      Parameters:
      returnCode - the return code of the response
      returnMessage - the return message of the response
  • Method Details

    • getReturnCode

      public int getReturnCode()
      Returns:
      the returnCode
    • setReturnCode

      public void setReturnCode​(int returnCode)
      Parameters:
      returnCode - the returnCode to set
    • getReturnMessage

      public java.lang.String getReturnMessage()
      Returns:
      the returnMessage
    • setReturnMessage

      public void setReturnMessage​(java.lang.String returnMessage)
      Parameters:
      returnMessage - the returnMessage to set