Package com.adyen.service.management
Class TerminalActionsCompanyLevelApi
- java.lang.Object
-
- com.adyen.Service
-
- com.adyen.service.management.TerminalActionsCompanyLevelApi
-
public class TerminalActionsCompanyLevelApi extends Service
-
-
Constructor Summary
Constructors Constructor Description TerminalActionsCompanyLevelApi(Client client)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExternalTerminalActiongetTerminalAction(String companyId, String actionId)Get terminal actionExternalTerminalActiongetTerminalAction(String companyId, String actionId, RequestOptions requestOptions)Get terminal actionAndroidAppsResponselistAndroidApps(String companyId)Get a list of Android appsAndroidAppsResponselistAndroidApps(String companyId, Integer pageNumber, Integer pageSize, String packageName, Integer versionCode, RequestOptions requestOptions)Get a list of Android appsAndroidCertificatesResponselistAndroidCertificates(String companyId)Get a list of Android certificatesAndroidCertificatesResponselistAndroidCertificates(String companyId, Integer pageNumber, Integer pageSize, String certificateName, RequestOptions requestOptions)Get a list of Android certificatesListExternalTerminalActionsResponselistTerminalActions(String companyId)Get a list of terminal actionsListExternalTerminalActionsResponselistTerminalActions(String companyId, Integer pageNumber, Integer pageSize, String status, String type, RequestOptions requestOptions)Get a list of terminal actions-
Methods inherited from class com.adyen.Service
createBaseURL, getClient, isApiKeyRequired, setApiKeyRequired, setClient
-
-
-
-
Field Detail
-
baseURL
protected String baseURL
-
-
Constructor Detail
-
TerminalActionsCompanyLevelApi
public TerminalActionsCompanyLevelApi(Client client)
-
-
Method Detail
-
listAndroidApps
public AndroidAppsResponse listAndroidApps(String companyId) throws ApiException, IOException
Get a list of Android apps- Parameters:
companyId-StringThe unique identifier of the company account. (required)- Returns:
AndroidAppsResponse- Throws:
ApiException- if fails to make API callIOException
-
listAndroidApps
public AndroidAppsResponse listAndroidApps(String companyId, Integer pageNumber, Integer pageSize, String packageName, Integer versionCode, RequestOptions requestOptions) throws ApiException, IOException
Get a list of Android apps- Parameters:
companyId-StringThe unique identifier of the company account. (required)pageNumber-IntegerQuery: The number of the page to fetch. (optional)pageSize-IntegerQuery: The number of items to have on a page, maximum 100. The default is 20 items on a page. (optional)packageName-StringQuery: The package name that uniquely identifies the Android app. (optional)versionCode-IntegerQuery: The version number of the app. (optional)requestOptions-RequestOptionsObject to store additional data such as idempotency-keys (optional)- Returns:
AndroidAppsResponse- Throws:
ApiException- if fails to make API callIOException
-
listAndroidCertificates
public AndroidCertificatesResponse listAndroidCertificates(String companyId) throws ApiException, IOException
Get a list of Android certificates- Parameters:
companyId-StringThe unique identifier of the company account. (required)- Returns:
AndroidCertificatesResponse- Throws:
ApiException- if fails to make API callIOException
-
listAndroidCertificates
public AndroidCertificatesResponse listAndroidCertificates(String companyId, Integer pageNumber, Integer pageSize, String certificateName, RequestOptions requestOptions) throws ApiException, IOException
Get a list of Android certificates- Parameters:
companyId-StringThe unique identifier of the company account. (required)pageNumber-IntegerQuery: The number of the page to fetch. (optional)pageSize-IntegerQuery: The number of items to have on a page, maximum 100. The default is 20 items on a page. (optional)certificateName-StringQuery: The name of the certificate. (optional)requestOptions-RequestOptionsObject to store additional data such as idempotency-keys (optional)- Returns:
AndroidCertificatesResponse- Throws:
ApiException- if fails to make API callIOException
-
listTerminalActions
public ListExternalTerminalActionsResponse listTerminalActions(String companyId) throws ApiException, IOException
Get a list of terminal actions- Parameters:
companyId-StringThe unique identifier of the company account. (required)- Returns:
ListExternalTerminalActionsResponse- Throws:
ApiException- if fails to make API callIOException
-
listTerminalActions
public ListExternalTerminalActionsResponse listTerminalActions(String companyId, Integer pageNumber, Integer pageSize, String status, String type, RequestOptions requestOptions) throws ApiException, IOException
Get a list of terminal actions- Parameters:
companyId-StringThe unique identifier of the company account. (required)pageNumber-IntegerQuery: The number of the page to fetch. (optional)pageSize-IntegerQuery: The number of items to have on a page, maximum 100. The default is 20 items on a page. (optional)status-StringQuery: Returns terminal actions with the specified status. Allowed values: **pending**, **successful**, **failed**, **cancelled**, **tryLater**. (optional)type-StringQuery: Returns terminal actions of the specified type. Allowed values: **InstallAndroidApp**, **UninstallAndroidApp**, **InstallAndroidCertificate**, **UninstallAndroidCertificate**. (optional)requestOptions-RequestOptionsObject to store additional data such as idempotency-keys (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-StringThe unique identifier of the company account. (required)actionId-StringThe unique identifier of the terminal action. (required)- Returns:
ExternalTerminalAction- Throws:
ApiException- if fails to make API callIOException
-
getTerminalAction
public ExternalTerminalAction getTerminalAction(String companyId, String actionId, RequestOptions requestOptions) throws ApiException, IOException
Get terminal action- Parameters:
companyId-StringThe unique identifier of the company account. (required)actionId-StringThe unique identifier of the terminal action. (required)requestOptions-RequestOptionsObject to store additional data such as idempotency-keys (optional)- Returns:
ExternalTerminalAction- Throws:
ApiException- if fails to make API callIOException
-
-