Package com.adyen.service
Class PosMobileApi
- java.lang.Object
-
- com.adyen.Service
-
- com.adyen.service.PosMobileApi
-
@Deprecated(since="v37.0.0", forRemoval=true) public class PosMobileApi extends Service
Deprecated, for removal: This API element is subject to removal in a future version.Use instead com.adyen.service.posmobile.PosMobileApiThe service has been moved to a different package 'com.adyen.service.posmobile'
-
-
Field Summary
Fields Modifier and Type Field Description static StringAPI_VERSIONDeprecated, for removal: This API element is subject to removal in a future version.protected StringbaseURLDeprecated, for removal: This API element is subject to removal in a future version.
-
Constructor Summary
Constructors Constructor Description PosMobileApi(Client client)Deprecated, for removal: This API element is subject to removal in a future version.PosMobileApi(Client client, String baseURL)Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description CreateSessionResponsecreateCommunicationSession(CreateSessionRequest createSessionRequest)Deprecated, for removal: This API element is subject to removal in a future version.CreateSessionResponsecreateCommunicationSession(CreateSessionRequest createSessionRequest, RequestOptions requestOptions)Deprecated, for removal: This API element is subject to removal in a future version.-
Methods inherited from class com.adyen.Service
createBaseURL, getClient, isApiKeyRequired, setApiKeyRequired, setClient
-
-
-
-
Field Detail
-
API_VERSION
public static final String API_VERSION
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
- Constant Field Values
-
baseURL
protected String baseURL
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Constructor Detail
-
PosMobileApi
@Deprecated(since="v37.0.0", forRemoval=true) public PosMobileApi(Client client)
Deprecated, for removal: This API element is subject to removal in a future version.Default constructor inpackage.- Parameters:
client-Client(required)
-
PosMobileApi
@Deprecated(since="v37.0.0", forRemoval=true) public PosMobileApi(Client client, String baseURL)
Deprecated, for removal: This API element is subject to removal in a future version.Alternative constructor inpackage. Please use this constructor only if you would like to pass along your own url for routing or testing purposes. The latest API version is defined in this class as a constant.
-
-
Method Detail
-
createCommunicationSession
@Deprecated(since="v37.0.0", forRemoval=true) public CreateSessionResponse createCommunicationSession(CreateSessionRequest createSessionRequest) throws ApiException, IOException
Deprecated, for removal: This API element is subject to removal in a future version.Create a communication session- Parameters:
createSessionRequest-CreateSessionRequest(required)- Returns:
CreateSessionResponse- Throws:
ApiException- if fails to make API callIOException
-
createCommunicationSession
@Deprecated(since="v37.0.0", forRemoval=true) public CreateSessionResponse createCommunicationSession(CreateSessionRequest createSessionRequest, RequestOptions requestOptions) throws ApiException, IOException
Deprecated, for removal: This API element is subject to removal in a future version.Create a communication session- Parameters:
createSessionRequest-CreateSessionRequest(required)requestOptions-RequestOptionsObject to store additional data such as idempotency-keys (optional)- Returns:
CreateSessionResponse- Throws:
ApiException- if fails to make API callIOException
-
-