Class Localization


  • public class Localization
    extends Object
    Localization
    • Constructor Detail

      • Localization

        public Localization()
    • Method Detail

      • getLanguage

        public String getLanguage()
        Language of the terminal.
        Returns:
        language
      • setLanguage

        public void setLanguage​(String language)
        Language of the terminal.
        Parameters:
        language -
      • getSecondaryLanguage

        public String getSecondaryLanguage()
        Secondary language of the terminal.
        Returns:
        secondaryLanguage
      • setSecondaryLanguage

        public void setSecondaryLanguage​(String secondaryLanguage)
        Secondary language of the terminal.
        Parameters:
        secondaryLanguage -
      • getTimezone

        public String getTimezone()
        The time zone of the terminal.
        Returns:
        timezone
      • setTimezone

        public void setTimezone​(String timezone)
        The time zone of the terminal.
        Parameters:
        timezone -
      • equals

        public boolean equals​(Object o)
        Return true if this Localization object is equal to o.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • fromJson

        public static Localization fromJson​(String jsonString)
                                     throws com.fasterxml.jackson.core.JsonProcessingException
        Create an instance of Localization given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of Localization
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException - if the JSON string is invalid with respect to Localization
      • toJson

        public String toJson()
                      throws com.fasterxml.jackson.core.JsonProcessingException
        Convert an instance of Localization to an JSON string
        Returns:
        JSON string
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException