Package com.adyen.service.management
Class ClientKeyMerchantLevelApi
- java.lang.Object
-
- com.adyen.Service
-
- com.adyen.service.management.ClientKeyMerchantLevelApi
-
public class ClientKeyMerchantLevelApi extends Service
-
-
Constructor Summary
Constructors Constructor Description ClientKeyMerchantLevelApi(Client client)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GenerateClientKeyResponsegenerateNewClientKey(String merchantId, String apiCredentialId)Generate new client keyGenerateClientKeyResponsegenerateNewClientKey(String merchantId, String apiCredentialId, RequestOptions requestOptions)Generate new client key-
Methods inherited from class com.adyen.Service
createBaseURL, getClient, isApiKeyRequired, setApiKeyRequired, setClient
-
-
-
-
Constructor Detail
-
ClientKeyMerchantLevelApi
public ClientKeyMerchantLevelApi(Client client)
-
-
Method Detail
-
generateNewClientKey
public GenerateClientKeyResponse generateNewClientKey(String merchantId, String apiCredentialId) throws ApiException, IOException
Generate new client key- Parameters:
merchantId-StringThe unique identifier of the merchant 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 merchantId, String apiCredentialId, RequestOptions requestOptions) throws ApiException, IOException
Generate new client key- Parameters:
merchantId-StringThe unique identifier of the merchant 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
-
-