Class Country

    • Method Detail

      • fromJson

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

        public static Country fromJson​(InputStream json,
                                       com.fasterxml.jackson.databind.ObjectMapper objectMapper)
        Converts a JSON InputStream into a Country object using the provided ObjectMapper.
        Parameters:
        json - Raw JSON InputStream
        objectMapper - Jackson ObjectMapper
        Returns:
        Country object represented by the provided JSON
      • 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