Package com.adyen.service.management
Class AndroidFilesCompanyLevelApi
- java.lang.Object
-
- com.adyen.Service
-
- com.adyen.service.management.AndroidFilesCompanyLevelApi
-
public class AndroidFilesCompanyLevelApi extends Service
-
-
Field Summary
Fields Modifier and Type Field Description static StringAPI_VERSIONprotected StringbaseURL
-
Constructor Summary
Constructors Constructor Description AndroidFilesCompanyLevelApi(Client client)Android files - company level constructor inpackage.AndroidFilesCompanyLevelApi(Client client, String baseURL)Android files - company level 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
-
AndroidFilesCompanyLevelApi
public AndroidFilesCompanyLevelApi(Client client)
Android files - company level constructor inpackage.- Parameters:
client-Client(required)
-
AndroidFilesCompanyLevelApi
public AndroidFilesCompanyLevelApi(Client client, String baseURL)
Android files - company level 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
-
getAndroidApp
public AndroidApp getAndroidApp(String companyId, String id) throws ApiException, IOException
Get Android app- Parameters:
companyId-StringThe unique identifier of the company account. (required)id-StringThe unique identifier of the app. (required)- Returns:
AndroidApp- Throws:
ApiException- if fails to make API callIOException
-
getAndroidApp
public AndroidApp getAndroidApp(String companyId, String id, RequestOptions requestOptions) throws ApiException, IOException
Get Android app- Parameters:
companyId-StringThe unique identifier of the company account. (required)id-StringThe unique identifier of the app. (required)requestOptions-RequestOptionsObject to store additional data such as idempotency-keys (optional)- Returns:
AndroidApp- Throws:
ApiException- if fails to make API callIOException
-
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
-
reprocessAndroidApp
public ReprocessAndroidAppResponse reprocessAndroidApp(String companyId, String id) throws ApiException, IOException
Reprocess Android App- Parameters:
companyId-StringThe unique identifier of the company account. (required)id-StringThe unique identifier of the app. (required)- Returns:
ReprocessAndroidAppResponse- Throws:
ApiException- if fails to make API callIOException
-
reprocessAndroidApp
public ReprocessAndroidAppResponse reprocessAndroidApp(String companyId, String id, RequestOptions requestOptions) throws ApiException, IOException
Reprocess Android App- Parameters:
companyId-StringThe unique identifier of the company account. (required)id-StringThe unique identifier of the app. (required)requestOptions-RequestOptionsObject to store additional data such as idempotency-keys (optional)- Returns:
ReprocessAndroidAppResponse- Throws:
ApiException- if fails to make API callIOException
-
uploadAndroidApp
public UploadAndroidAppResponse uploadAndroidApp(String companyId) throws ApiException, IOException
Upload Android App- Parameters:
companyId-StringThe unique identifier of the company account. (required)- Returns:
UploadAndroidAppResponse- Throws:
ApiException- if fails to make API callIOException
-
uploadAndroidApp
public UploadAndroidAppResponse uploadAndroidApp(String companyId, RequestOptions requestOptions) throws ApiException, IOException
Upload Android App- Parameters:
companyId-StringThe unique identifier of the company account. (required)requestOptions-RequestOptionsObject to store additional data such as idempotency-keys (optional)- Returns:
UploadAndroidAppResponse- Throws:
ApiException- if fails to make API callIOException
-
uploadAndroidCertificate
public UploadAndroidCertificateResponse uploadAndroidCertificate(String companyId) throws ApiException, IOException
Upload Android Certificate- Parameters:
companyId-StringThe unique identifier of the company account. (required)- Returns:
UploadAndroidCertificateResponse- Throws:
ApiException- if fails to make API callIOException
-
uploadAndroidCertificate
public UploadAndroidCertificateResponse uploadAndroidCertificate(String companyId, RequestOptions requestOptions) throws ApiException, IOException
Upload Android Certificate- Parameters:
companyId-StringThe unique identifier of the company account. (required)requestOptions-RequestOptionsObject to store additional data such as idempotency-keys (optional)- Returns:
UploadAndroidCertificateResponse- Throws:
ApiException- if fails to make API callIOException
-
-