Class ClassicPlatformConfigurationApi
- java.lang.Object
-
- com.adyen.Service
-
- com.adyen.service.classicplatforms.ClassicPlatformConfigurationApi
-
public class ClassicPlatformConfigurationApi extends Service
-
-
Field Summary
Fields Modifier and Type Field Description static StringAPI_VERSIONprotected StringbaseURL
-
Constructor Summary
Constructors Constructor Description ClassicPlatformConfigurationApi(Client client)General constructor inpackage.ClassicPlatformConfigurationApi(Client client, String baseURL)General 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
-
ClassicPlatformConfigurationApi
public ClassicPlatformConfigurationApi(Client client)
General constructor inpackage.- Parameters:
client-Client(required)
-
ClassicPlatformConfigurationApi
public ClassicPlatformConfigurationApi(Client client, String baseURL)
General 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
-
createNotificationConfiguration
public GetNotificationConfigurationResponse createNotificationConfiguration(CreateNotificationConfigurationRequest createNotificationConfigurationRequest) throws ApiException, IOException
Subscribe to notifications- Parameters:
createNotificationConfigurationRequest-CreateNotificationConfigurationRequest(required)- Returns:
GetNotificationConfigurationResponse- Throws:
ApiException- if fails to make API callIOException
-
createNotificationConfiguration
public GetNotificationConfigurationResponse createNotificationConfiguration(CreateNotificationConfigurationRequest createNotificationConfigurationRequest, RequestOptions requestOptions) throws ApiException, IOException
Subscribe to notifications- Parameters:
createNotificationConfigurationRequest-CreateNotificationConfigurationRequest(required)requestOptions-RequestOptionsObject to store additional data such as idempotency-keys (optional)- Returns:
GetNotificationConfigurationResponse- Throws:
ApiException- if fails to make API callIOException
-
deleteNotificationConfigurations
public GenericResponse deleteNotificationConfigurations(DeleteNotificationConfigurationRequest deleteNotificationConfigurationRequest) throws ApiException, IOException
Delete a notification subscription configuration- Parameters:
deleteNotificationConfigurationRequest-DeleteNotificationConfigurationRequest(required)- Returns:
GenericResponse- Throws:
ApiException- if fails to make API callIOException
-
deleteNotificationConfigurations
public GenericResponse deleteNotificationConfigurations(DeleteNotificationConfigurationRequest deleteNotificationConfigurationRequest, RequestOptions requestOptions) throws ApiException, IOException
Delete a notification subscription configuration- Parameters:
deleteNotificationConfigurationRequest-DeleteNotificationConfigurationRequest(required)requestOptions-RequestOptionsObject to store additional data such as idempotency-keys (optional)- Returns:
GenericResponse- Throws:
ApiException- if fails to make API callIOException
-
getNotificationConfiguration
public GetNotificationConfigurationResponse getNotificationConfiguration(GetNotificationConfigurationRequest getNotificationConfigurationRequest) throws ApiException, IOException
Get a notification subscription configuration- Parameters:
getNotificationConfigurationRequest-GetNotificationConfigurationRequest(required)- Returns:
GetNotificationConfigurationResponse- Throws:
ApiException- if fails to make API callIOException
-
getNotificationConfiguration
public GetNotificationConfigurationResponse getNotificationConfiguration(GetNotificationConfigurationRequest getNotificationConfigurationRequest, RequestOptions requestOptions) throws ApiException, IOException
Get a notification subscription configuration- Parameters:
getNotificationConfigurationRequest-GetNotificationConfigurationRequest(required)requestOptions-RequestOptionsObject to store additional data such as idempotency-keys (optional)- Returns:
GetNotificationConfigurationResponse- Throws:
ApiException- if fails to make API callIOException
-
getNotificationConfigurationList
public GetNotificationConfigurationListResponse getNotificationConfigurationList() throws ApiException, IOException
Get a list of notification subscription configurations- Returns:
GetNotificationConfigurationListResponse- Throws:
ApiException- if fails to make API callIOException
-
getNotificationConfigurationList
public GetNotificationConfigurationListResponse getNotificationConfigurationList(RequestOptions requestOptions) throws ApiException, IOException
Get a list of notification subscription configurations- Parameters:
requestOptions-RequestOptionsObject to store additional data such as idempotency-keys (optional)- Returns:
GetNotificationConfigurationListResponse- Throws:
ApiException- if fails to make API callIOException
-
testNotificationConfiguration
public TestNotificationConfigurationResponse testNotificationConfiguration(TestNotificationConfigurationRequest testNotificationConfigurationRequest) throws ApiException, IOException
Test a notification configuration- Parameters:
testNotificationConfigurationRequest-TestNotificationConfigurationRequest(required)- Returns:
TestNotificationConfigurationResponse- Throws:
ApiException- if fails to make API callIOException
-
testNotificationConfiguration
public TestNotificationConfigurationResponse testNotificationConfiguration(TestNotificationConfigurationRequest testNotificationConfigurationRequest, RequestOptions requestOptions) throws ApiException, IOException
Test a notification configuration- Parameters:
testNotificationConfigurationRequest-TestNotificationConfigurationRequest(required)requestOptions-RequestOptionsObject to store additional data such as idempotency-keys (optional)- Returns:
TestNotificationConfigurationResponse- Throws:
ApiException- if fails to make API callIOException
-
updateNotificationConfiguration
public GetNotificationConfigurationResponse updateNotificationConfiguration(UpdateNotificationConfigurationRequest updateNotificationConfigurationRequest) throws ApiException, IOException
Update a notification subscription configuration- Parameters:
updateNotificationConfigurationRequest-UpdateNotificationConfigurationRequest(required)- Returns:
GetNotificationConfigurationResponse- Throws:
ApiException- if fails to make API callIOException
-
updateNotificationConfiguration
public GetNotificationConfigurationResponse updateNotificationConfiguration(UpdateNotificationConfigurationRequest updateNotificationConfigurationRequest, RequestOptions requestOptions) throws ApiException, IOException
Update a notification subscription configuration- Parameters:
updateNotificationConfigurationRequest-UpdateNotificationConfigurationRequest(required)requestOptions-RequestOptionsObject to store additional data such as idempotency-keys (optional)- Returns:
GetNotificationConfigurationResponse- Throws:
ApiException- if fails to make API callIOException
-
-