Class SessionsClient
java.lang.Object
com.onlinepayments.ApiResource
com.onlinepayments.merchant.sessions.SessionsClient
- All Implemented Interfaces:
SessionsClientInterface
Sessions client. Thread-safe.
-
Field Summary
Fields inherited from class com.onlinepayments.ApiResource
clientMetaInfo, communicator -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateSession(SessionRequest body) Resource /v2/{merchantId}/sessions - Create sessioncreateSession(SessionRequest body, CallContext context) Resource /v2/{merchantId}/sessions - Create sessionMethods inherited from class com.onlinepayments.ApiResource
getClientHeaders, instantiateUri
-
Constructor Details
-
SessionsClient
-
-
Method Details
-
createSession
Resource /v2/{merchantId}/sessions - Create session- Specified by:
createSessionin interfaceSessionsClientInterface- Parameters:
body- SessionRequest- Returns:
- SessionResponse
-
createSession
Resource /v2/{merchantId}/sessions - Create session- Specified by:
createSessionin interfaceSessionsClientInterface- Parameters:
body- SessionRequestcontext- CallContext- Returns:
- SessionResponse
-