Class Balance

    • Method Detail

      • fromJson

        public static Balance fromJson​(String json,
                                       com.fasterxml.jackson.databind.ObjectMapper objectMapper)
        Converts a JSON String into a Balance object using the provided ObjectMapper.
        Parameters:
        json - Raw JSON String
        objectMapper - Jackson ObjectMapper
        Returns:
        Balance object represented by the provided JSON
      • fromJson

        public static Balance fromJson​(InputStream json,
                                       com.fasterxml.jackson.databind.ObjectMapper objectMapper)
        Converts a JSON InputStream into a Balance object using the provided ObjectMapper.
        Parameters:
        json - Raw JSON InputStream
        objectMapper - Jackson ObjectMapper
        Returns:
        Balance object represented by the provided JSON
      • getAccountSid

        public final String getAccountSid()
      • getBalance

        public final String getBalance()
      • getCurrency

        public final String getCurrency()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object