Package com.adyen.service.management
Class TerminalActionsCompanyLevel
- java.lang.Object
-
- com.adyen.Service
-
- com.adyen.ApiKeyAuthenticatedService
-
- com.adyen.service.management.TerminalActionsCompanyLevel
-
public class TerminalActionsCompanyLevel extends ApiKeyAuthenticatedService
-
-
Constructor Summary
Constructors Constructor Description TerminalActionsCompanyLevel(Client client)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExternalTerminalActiongetTerminalAction(String companyId, String actionId)Get terminal actionAndroidAppsResponselistAndroidApps(String companyId, Map<String,String> queryParams)Get a list of Android appsAndroidCertificatesResponselistAndroidCertificates(String companyId, Map<String,String> queryParams)Get a list of Android certificatesListExternalTerminalActionsResponselistTerminalActions(String companyId, Map<String,String> queryParams)Get a list of terminal actions-
Methods inherited from class com.adyen.Service
getClient, isApiKeyRequired, setApiKeyRequired, setClient
-
-
-
-
Constructor Detail
-
TerminalActionsCompanyLevel
public TerminalActionsCompanyLevel(Client client)
-
-
Method Detail
-
listAndroidApps
public AndroidAppsResponse listAndroidApps(String companyId, Map<String,String> queryParams) throws ApiException, IOException
Get a list of Android apps- Parameters:
companyId- The unique identifier of the company account. (required)queryParams- (optional) pageNumber: The number of the page to fetch. (optional) pageSize: The number of items to have on a page, maximum 100. The default is 20 items on a page. (optional)- Returns:
- AndroidAppsResponse
- Throws:
ApiException- if fails to make API callIOException
-
listAndroidCertificates
public AndroidCertificatesResponse listAndroidCertificates(String companyId, Map<String,String> queryParams) throws ApiException, IOException
Get a list of Android certificates- Parameters:
companyId- The unique identifier of the company account. (required)queryParams- (optional) pageNumber: The number of the page to fetch. (optional) pageSize: The number of items to have on a page, maximum 100. The default is 20 items on a page. (optional)- Returns:
- AndroidCertificatesResponse
- Throws:
ApiException- if fails to make API callIOException
-
listTerminalActions
public ListExternalTerminalActionsResponse listTerminalActions(String companyId, Map<String,String> queryParams) throws ApiException, IOException
Get a list of terminal actions- Parameters:
companyId- The unique identifier of the company account. (required)queryParams- (optional) pageNumber: The number of the page to fetch. (optional) pageSize: The number of items to have on a page, maximum 100. The default is 20 items on a page. (optional) status: Returns terminal actions with the specified status. Allowed values: **pending**, **successful**, **failed**, **cancelled**, **tryLater**. (optional) type: Returns terminal actions of the specified type. Allowed values: **InstallAndroidApp**, **UninstallAndroidApp**, **InstallAndroidCertificate**, **UninstallAndroidCertificate**. (optional)- Returns:
- ListExternalTerminalActionsResponse
- Throws:
ApiException- if fails to make API callIOException
-
getTerminalAction
public ExternalTerminalAction getTerminalAction(String companyId, String actionId) throws ApiException, IOException
Get terminal action- Parameters:
companyId- The unique identifier of the company account. (required)actionId- The unique identifier of the terminal action. (required)- Returns:
- ExternalTerminalAction
- Throws:
ApiException- if fails to make API callIOException
-
-