Package com.adyen.model.management
Class Localization
- java.lang.Object
-
- com.adyen.model.management.Localization
-
public class Localization extends Object
Localization
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_LANGUAGE
-
Constructor Summary
Constructors Constructor Description Localization()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Return true if this Localization object is equal to o.static LocalizationfromJson(String jsonString)Create an instance of Localization given an JSON stringStringgetLanguage()Language of the terminal.inthashCode()Localizationlanguage(String language)voidsetLanguage(String language)StringtoJson()Convert an instance of Localization to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_LANGUAGE
public static final String JSON_PROPERTY_LANGUAGE
- See Also:
- Constant Field Values
-
-
Method Detail
-
language
public Localization language(String language)
-
getLanguage
public String getLanguage()
Language of the terminal.- Returns:
- language
-
setLanguage
public void setLanguage(String language)
-
equals
public boolean equals(Object o)
Return true if this Localization object is equal to o.
-
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
-
-