Package com.checkout.events.previous
Class EventsClientImpl
- java.lang.Object
-
- com.checkout.AbstractClient
-
- com.checkout.events.previous.EventsClientImpl
-
- All Implemented Interfaces:
EventsClient
public class EventsClientImpl extends AbstractClient implements EventsClient
-
-
Field Summary
-
Fields inherited from class com.checkout.AbstractClient
apiClient, configuration
-
-
Constructor Summary
Constructors Constructor Description EventsClientImpl(ApiClient apiClient, CheckoutConfiguration configuration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.concurrent.CompletableFuture<ItemsResponse<EventTypes>>retrieveAllEventTypes(java.lang.String version)java.util.concurrent.CompletableFuture<EventResponse>retrieveEvent(java.lang.String eventId)java.util.concurrent.CompletableFuture<EventNotificationResponse>retrieveEventNotification(java.lang.String eventId, java.lang.String notificationId)java.util.concurrent.CompletableFuture<EventsPageResponse>retrieveEvents(RetrieveEventsRequest retrieveEventsRequest)java.util.concurrent.CompletableFuture<EmptyResponse>retryAllWebhooks(java.lang.String eventId)java.util.concurrent.CompletableFuture<EmptyResponse>retryWebhook(java.lang.String eventId, java.lang.String webhookId)-
Methods inherited from class com.checkout.AbstractClient
buildPath, isSandbox, sdkAuthorization, sdkAuthorization
-
-
-
-
Constructor Detail
-
EventsClientImpl
public EventsClientImpl(ApiClient apiClient, CheckoutConfiguration configuration)
-
-
Method Detail
-
retrieveAllEventTypes
public java.util.concurrent.CompletableFuture<ItemsResponse<EventTypes>> retrieveAllEventTypes(java.lang.String version)
- Specified by:
retrieveAllEventTypesin interfaceEventsClient
-
retrieveEvents
public java.util.concurrent.CompletableFuture<EventsPageResponse> retrieveEvents(RetrieveEventsRequest retrieveEventsRequest)
- Specified by:
retrieveEventsin interfaceEventsClient
-
retrieveEvent
public java.util.concurrent.CompletableFuture<EventResponse> retrieveEvent(java.lang.String eventId)
- Specified by:
retrieveEventin interfaceEventsClient
-
retrieveEventNotification
public java.util.concurrent.CompletableFuture<EventNotificationResponse> retrieveEventNotification(java.lang.String eventId, java.lang.String notificationId)
- Specified by:
retrieveEventNotificationin interfaceEventsClient
-
retryWebhook
public java.util.concurrent.CompletableFuture<EmptyResponse> retryWebhook(java.lang.String eventId, java.lang.String webhookId)
- Specified by:
retryWebhookin interfaceEventsClient
-
retryAllWebhooks
public java.util.concurrent.CompletableFuture<EmptyResponse> retryAllWebhooks(java.lang.String eventId)
- Specified by:
retryAllWebhooksin interfaceEventsClient
-
-