Package com.adyen.service
Class PosTerminalManagementApi
- java.lang.Object
-
- com.adyen.Service
-
- com.adyen.service.PosTerminalManagementApi
-
public class PosTerminalManagementApi extends Service
-
-
Field Summary
Fields Modifier and Type Field Description static StringAPI_VERSIONprotected StringbaseURL
-
Constructor Summary
Constructors Constructor Description PosTerminalManagementApi(Client client)Default constructor inpackage.PosTerminalManagementApi(Client client, String baseURL)Alternative constructor inpackage.
-
Method Summary
-
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
-
PosTerminalManagementApi
public PosTerminalManagementApi(Client client)
Default constructor inpackage.- Parameters:
client-Client(required)
-
-
Method Detail
-
assignTerminals
public AssignTerminalsResponse assignTerminals(AssignTerminalsRequest assignTerminalsRequest) throws ApiException, IOException
Assign terminals- Parameters:
assignTerminalsRequest-AssignTerminalsRequest(required)- Returns:
AssignTerminalsResponse- Throws:
ApiException- if fails to make API callIOException
-
assignTerminals
public AssignTerminalsResponse assignTerminals(AssignTerminalsRequest assignTerminalsRequest, RequestOptions requestOptions) throws ApiException, IOException
Assign terminals- Parameters:
assignTerminalsRequest-AssignTerminalsRequest(required)requestOptions-RequestOptionsObject to store additional data such as idempotency-keys (optional)- Returns:
AssignTerminalsResponse- Throws:
ApiException- if fails to make API callIOException
-
findTerminal
public FindTerminalResponse findTerminal(FindTerminalRequest findTerminalRequest) throws ApiException, IOException
Get the account or store of a terminal- Parameters:
findTerminalRequest-FindTerminalRequest(required)- Returns:
FindTerminalResponse- Throws:
ApiException- if fails to make API callIOException
-
findTerminal
public FindTerminalResponse findTerminal(FindTerminalRequest findTerminalRequest, RequestOptions requestOptions) throws ApiException, IOException
Get the account or store of a terminal- Parameters:
findTerminalRequest-FindTerminalRequest(required)requestOptions-RequestOptionsObject to store additional data such as idempotency-keys (optional)- Returns:
FindTerminalResponse- Throws:
ApiException- if fails to make API callIOException
-
getStoresUnderAccount
public GetStoresUnderAccountResponse getStoresUnderAccount(GetStoresUnderAccountRequest getStoresUnderAccountRequest) throws ApiException, IOException
Get the stores of an account- Parameters:
getStoresUnderAccountRequest-GetStoresUnderAccountRequest(required)- Returns:
GetStoresUnderAccountResponse- Throws:
ApiException- if fails to make API callIOException
-
getStoresUnderAccount
public GetStoresUnderAccountResponse getStoresUnderAccount(GetStoresUnderAccountRequest getStoresUnderAccountRequest, RequestOptions requestOptions) throws ApiException, IOException
Get the stores of an account- Parameters:
getStoresUnderAccountRequest-GetStoresUnderAccountRequest(required)requestOptions-RequestOptionsObject to store additional data such as idempotency-keys (optional)- Returns:
GetStoresUnderAccountResponse- Throws:
ApiException- if fails to make API callIOException
-
getTerminalDetails
public GetTerminalDetailsResponse getTerminalDetails(GetTerminalDetailsRequest getTerminalDetailsRequest) throws ApiException, IOException
Get the details of a terminal- Parameters:
getTerminalDetailsRequest-GetTerminalDetailsRequest(required)- Returns:
GetTerminalDetailsResponse- Throws:
ApiException- if fails to make API callIOException
-
getTerminalDetails
public GetTerminalDetailsResponse getTerminalDetails(GetTerminalDetailsRequest getTerminalDetailsRequest, RequestOptions requestOptions) throws ApiException, IOException
Get the details of a terminal- Parameters:
getTerminalDetailsRequest-GetTerminalDetailsRequest(required)requestOptions-RequestOptionsObject to store additional data such as idempotency-keys (optional)- Returns:
GetTerminalDetailsResponse- Throws:
ApiException- if fails to make API callIOException
-
getTerminalsUnderAccount
public GetTerminalsUnderAccountResponse getTerminalsUnderAccount(GetTerminalsUnderAccountRequest getTerminalsUnderAccountRequest) throws ApiException, IOException
Get the list of terminals- Parameters:
getTerminalsUnderAccountRequest-GetTerminalsUnderAccountRequest(required)- Returns:
GetTerminalsUnderAccountResponse- Throws:
ApiException- if fails to make API callIOException
-
getTerminalsUnderAccount
public GetTerminalsUnderAccountResponse getTerminalsUnderAccount(GetTerminalsUnderAccountRequest getTerminalsUnderAccountRequest, RequestOptions requestOptions) throws ApiException, IOException
Get the list of terminals- Parameters:
getTerminalsUnderAccountRequest-GetTerminalsUnderAccountRequest(required)requestOptions-RequestOptionsObject to store additional data such as idempotency-keys (optional)- Returns:
GetTerminalsUnderAccountResponse- Throws:
ApiException- if fails to make API callIOException
-
-