public class EventService
extends java.lang.Object
Service class for working with event resources.
Events are stored for all webhooks. An event refers to a resource which has been updated, for example a payment which has been collected, or a mandate which has been transferred.
Modifier and Type | Class and Description |
---|---|
static class |
EventService.EventGetRequest
Request class for
get(java.lang.String) . |
static class |
EventService.EventListRequest<S>
Request class for
list() . |
Constructor and Description |
---|
EventService(HttpClient httpClient)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
EventService.EventListRequest<java.lang.Iterable<Event>> |
all() |
EventService.EventGetRequest |
get(java.lang.String identity)
Retrieves the details of a single event.
|
EventService.EventListRequest<ListResponse<Event>> |
list()
Returns a cursor-paginated list of your events.
|
public EventService(HttpClient httpClient)
Constructor. Users of this library should have no need to call this - an instance of this class can be obtained by calling GoCardlessClient.events()
.
public EventService.EventListRequest<ListResponse<Event>> list()
Returns a cursor-paginated list of your events.
public EventService.EventListRequest<java.lang.Iterable<Event>> all()
public EventService.EventGetRequest get(java.lang.String identity)
Retrieves the details of a single event.