Class Number

    • Method Detail

      • fromJson

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

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

        public final PhoneNumber getDestinationNumber()
      • getOriginationNumber

        public final PhoneNumber getOriginationNumber()
      • getCountry

        public final String getCountry()
      • getIsoCountry

        public final String getIsoCountry()
      • getPriceUnit

        public final Currency getPriceUnit()
      • getUrl

        public final URI getUrl()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object