Package com.adyen.checkout.sessions.core
Class CheckoutSession
-
- All Implemented Interfaces:
public final class CheckoutSessionA class holding the data required to launch Drop-in or a component with the sessions flow. Use CheckoutSessionProvider.createSession to create this class.
-
-
Field Summary
Fields Modifier and Type Field Description private final SessionSetupResponsesessionSetupResponseprivate final OrderRequestorderprivate final Environmentenvironmentprivate final StringclientKey
-
Constructor Summary
Constructors Constructor Description CheckoutSession(SessionSetupResponse sessionSetupResponse, OrderRequest order, Environment environment, String clientKey)
-
Method Summary
Modifier and Type Method Description final SessionSetupResponsegetSessionSetupResponse()final OrderRequestgetOrder()final EnvironmentgetEnvironment()final StringgetClientKey()final PaymentMethodgetPaymentMethod(String paymentMethodType)final CheckoutConfigurationgetConfiguration()-
-
Constructor Detail
-
CheckoutSession
CheckoutSession(SessionSetupResponse sessionSetupResponse, OrderRequest order, Environment environment, String clientKey)
-
-
Method Detail
-
getSessionSetupResponse
final SessionSetupResponse getSessionSetupResponse()
-
getOrder
final OrderRequest getOrder()
-
getEnvironment
final Environment getEnvironment()
-
getClientKey
final String getClientKey()
-
getPaymentMethod
final PaymentMethod getPaymentMethod(String paymentMethodType)
-
getConfiguration
@RestrictTo(value = {RestrictTo.Scope.LIBRARY_GROUP}) final CheckoutConfiguration getConfiguration()
-
-
-
-