Skip navigation links

Package travel.izi.api.model.enumeration

All IZITravel-defined enumerations which are used both in request responses as well as building remote requests.

See: Description

Package travel.izi.api.model.enumeration Description

All IZITravel-defined enumerations which are used both in request responses as well as building remote requests.

Serialization of these enumerations is handled by overriding the toString() method. Additionally, all enumerations must implement the IZITravelEnumeration interface in order to be properly serialized.

Deserialization of an enumerable value requires registration with the GSON builder in the GsonHelper.getGsonBuilder() method. An appropriate method of deserialization should be handled by a static method defined within the type, by convention, fromString(String).

Skip navigation links