Package com.adyen.checkout.sessions.core
Class SessionModel
-
- All Implemented Interfaces:
-
android.os.Parcelable
public final class SessionModel extends ModelObjectObject that parses and holds the response data from the /sessions endpoint. Use PaymentMethodsApiResponse.SERIALIZER to deserialize this class from your JSON response.
-
-
Field Summary
Fields Modifier and Type Field Description public final static ModelObject.Serializer<SessionModel>SERIALIZERprivate final Stringidprivate final StringsessionData
-
Constructor Summary
Constructors Constructor Description SessionModel(String id, String sessionData)
-
Method Summary
Modifier and Type Method Description final StringgetId()final StringgetSessionData()-
Methods inherited from class com.adyen.checkout.core.internal.data.model.ModelObject
describeContents -
Methods inherited from class android.os.Parcelable
writeToParcel -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-