public interface EventsApi
| Modifier and Type | Method and Description |
|---|---|
EventResponse |
fetch(java.lang.String eventToken)
Returns the details of an event.
|
EventListResponse |
list(int page)
Returns a paginated list of all events.
|
EventListResponse list(int page) throws java.io.IOException
page - The page number specified.java.io.IOException - If IO errors occur while calling PinPayments REST API.EventResponse fetch(java.lang.String eventToken) throws java.io.IOException
eventToken - The event token specified.java.io.IOException - If IO errors occur while calling PinPayments REST API.