Package com.adyen.service.posmobile
Class PosMobileApi
- java.lang.Object
-
- com.adyen.Service
-
- com.adyen.service.posmobile.PosMobileApi
-
public class PosMobileApi extends Service
-
-
Field Summary
Fields Modifier and Type Field Description static StringAPI_VERSIONprotected StringbaseURL
-
Constructor Summary
Constructors Constructor Description PosMobileApi(Client client)PosMobile constructor inpackage.PosMobileApi(Client client, String baseURL)PosMobile constructor inpackage.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description CreateSessionResponsecreateCommunicationSession(CreateSessionRequest createSessionRequest)Deprecated.since POS Mobile API v68 Use POST [/auth/certificate](https://docs.adyen.com/api-explorer/softpos-configuration-api/latest/post/auth/certificate) to establish secure communications.CreateSessionResponsecreateCommunicationSession(CreateSessionRequest createSessionRequest, RequestOptions requestOptions)Deprecated.since POS Mobile API v68 Use POST [/auth/certificate](https://docs.adyen.com/api-explorer/softpos-configuration-api/latest/post/auth/certificate) to establish secure communications.-
Methods inherited from class com.adyen.Service
createBaseURL, getClient, isApiKeyRequired, setApiKeyRequired, setClient
-
-
-
-
Field Detail
-
API_VERSION
public static final String API_VERSION
- See Also:
- Constant Field Values
-
baseURL
protected String baseURL
-
-
Constructor Detail
-
PosMobileApi
public PosMobileApi(Client client)
PosMobile constructor inpackage.- Parameters:
client-Client(required)
-
-
Method Detail
-
createCommunicationSession
@Deprecated public CreateSessionResponse createCommunicationSession(CreateSessionRequest createSessionRequest) throws ApiException, IOException
Deprecated.since POS Mobile API v68 Use POST [/auth/certificate](https://docs.adyen.com/api-explorer/softpos-configuration-api/latest/post/auth/certificate) to establish secure communications.Create a communication session- Parameters:
createSessionRequest-CreateSessionRequest(required)- Returns:
CreateSessionResponse- Throws:
ApiException- if fails to make API callIOException
-
createCommunicationSession
@Deprecated public CreateSessionResponse createCommunicationSession(CreateSessionRequest createSessionRequest, RequestOptions requestOptions) throws ApiException, IOException
Deprecated.since POS Mobile API v68 Use POST [/auth/certificate](https://docs.adyen.com/api-explorer/softpos-configuration-api/latest/post/auth/certificate) to establish secure communications.Create a communication session- Parameters:
createSessionRequest-CreateSessionRequest(required)requestOptions-RequestOptionsObject to store additional HTTP headers such as idempotency-keys (optional)- Returns:
CreateSessionResponse- Throws:
ApiException- if fails to make API callIOException
-
-