Package com.adyen.service.management
Class ClientKeyCompanyLevelApi
- java.lang.Object
-
- com.adyen.Service
-
- com.adyen.service.management.ClientKeyCompanyLevelApi
-
public class ClientKeyCompanyLevelApi extends Service
-
-
Constructor Summary
Constructors Constructor Description ClientKeyCompanyLevelApi(Client client)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GenerateClientKeyResponsegenerateNewClientKey(String companyId, String apiCredentialId)Generate new client keyGenerateClientKeyResponsegenerateNewClientKey(String companyId, String apiCredentialId, RequestOptions requestOptions)Generate new client key-
Methods inherited from class com.adyen.Service
createBaseURL, getClient, isApiKeyRequired, setApiKeyRequired, setClient
-
-
-
-
Constructor Detail
-
ClientKeyCompanyLevelApi
public ClientKeyCompanyLevelApi(Client client)
-
-
Method Detail
-
generateNewClientKey
public GenerateClientKeyResponse generateNewClientKey(String companyId, String apiCredentialId) throws ApiException, IOException
Generate new client key- Parameters:
companyId-StringThe unique identifier of the company account. (required)apiCredentialId-StringUnique identifier of the API credential. (required)- Returns:
GenerateClientKeyResponse- Throws:
ApiException- if fails to make API callIOException
-
generateNewClientKey
public GenerateClientKeyResponse generateNewClientKey(String companyId, String apiCredentialId, RequestOptions requestOptions) throws ApiException, IOException
Generate new client key- Parameters:
companyId-StringThe unique identifier of the company account. (required)apiCredentialId-StringUnique identifier of the API credential. (required)requestOptions-RequestOptionsObject to store additional data such as idempotency-keys (optional)- Returns:
GenerateClientKeyResponse- Throws:
ApiException- if fails to make API callIOException
-
-