Class TransactionSearchResponse


  • public class TransactionSearchResponse
    extends Object
    TransactionSearchResponse
    • Constructor Detail

      • TransactionSearchResponse

        public TransactionSearchResponse()
    • Method Detail

      • getLinks

        public Links getLinks()
        Get links
        Returns:
        links
      • setLinks

        public void setLinks​(Links links)
      • getData

        public List<Transaction> getData()
        Contains the transactions that match the query parameters.
        Returns:
        data
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • validateJsonObject

        public static void validateJsonObject​(com.google.gson.JsonObject jsonObj)
                                       throws IOException
        Validates the JSON Object and throws an exception if issues found
        Parameters:
        jsonObj - JSON Object
        Throws:
        IOException - if the JSON Object is invalid with respect to TransactionSearchResponse
      • fromJson

        public static TransactionSearchResponse fromJson​(String jsonString)
                                                  throws IOException
        Create an instance of TransactionSearchResponse given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of TransactionSearchResponse
        Throws:
        IOException - if the JSON string is invalid with respect to TransactionSearchResponse
      • toJson

        public String toJson()
        Convert an instance of TransactionSearchResponse to an JSON string
        Returns:
        JSON string