ModelObject
abstract class ModelObject @RestrictTo(value = [RestrictTo.Scope.LIBRARY_GROUP] ) constructor : Parcelable
Base class for a Model object. A model object is a representation of a JSON response or input from the Checkout API. All model objects can be serialized and deserialized to and from a JSONObject using the Serializer interface. All model object also implement Parcelable to be sent as part of Extras in an Intent Bundle.
The classes extending ModelObject are data classes designed to work standalone or in association with JSON libraries like GSON and Moshi.