Package com.adyen.checkout.sessions.core
Class SessionPaymentResult
-
- All Implemented Interfaces:
-
android.os.Parcelable
public final class SessionPaymentResult implements Parcelable
The result of a payment using the sessions flow.
-
-
Field Summary
Fields Modifier and Type Field Description private final StringsessionIdprivate final StringsessionResultprivate final StringsessionDataprivate final StringresultCodeprivate final OrderResponseorder
-
Constructor Summary
Constructors Constructor Description SessionPaymentResult(String sessionId, String sessionResult, String sessionData, String resultCode, OrderResponse order)
-
Method Summary
Modifier and Type Method Description final StringgetSessionId()final StringgetSessionResult()final StringgetSessionData()final StringgetResultCode()final OrderResponsegetOrder()-
-
Constructor Detail
-
SessionPaymentResult
SessionPaymentResult(String sessionId, String sessionResult, String sessionData, String resultCode, OrderResponse order)
- Parameters:
sessionId- A unique identifier of the session.sessionResult- You can forward this alongside sessionId to your server to fetch the result of the payment.sessionData- The payment session data.resultCode- The result code of the payment.order- An order, only applicable in case of an ongoing partial payment flow.
-
-
Method Detail
-
getSessionId
final String getSessionId()
-
getSessionResult
final String getSessionResult()
-
getSessionData
final String getSessionData()
-
getResultCode
final String getResultCode()
-
getOrder
final OrderResponse getOrder()
-
-
-
-