Class PaginatedBalanceAccountsResponse


  • public class PaginatedBalanceAccountsResponse
    extends Object
    PaginatedBalanceAccountsResponse
    • Constructor Detail

      • PaginatedBalanceAccountsResponse

        public PaginatedBalanceAccountsResponse()
    • Method Detail

      • getBalanceAccounts

        public List<BalanceAccount> getBalanceAccounts()
        List of balance accounts.
        Returns:
        balanceAccounts
      • setBalanceAccounts

        public void setBalanceAccounts​(List<BalanceAccount> balanceAccounts)
      • getHasNext

        public Boolean getHasNext()
        Indicates whether there are more items on the next page.
        Returns:
        hasNext
      • setHasNext

        public void setHasNext​(Boolean hasNext)
      • getHasPrevious

        public Boolean getHasPrevious()
        Indicates whether there are more items on the previous page.
        Returns:
        hasPrevious
      • setHasPrevious

        public void setHasPrevious​(Boolean hasPrevious)
      • 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 PaginatedBalanceAccountsResponse
      • fromJson

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

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