Class PhoneNumber

    • Method Detail

      • fromJson

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

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

        public final String getCountryCode()
      • getPhoneNumber

        public final PhoneNumber getPhoneNumber()
      • getNationalFormat

        public final String getNationalFormat()
      • getUrl

        public final URI getUrl()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object