public class Event extends APIResource
APIResource.RequestMethodCHARSET, GSONPRETTY_PRINT_GSON| Constructor and Description |
|---|
Event() |
| Modifier and Type | Method and Description |
|---|---|
static EventCollection |
all(Map<String,Object> params) |
static EventCollection |
all(Map<String,Object> params,
String apiKey) |
Long |
getCreated() |
EventData |
getData() |
String |
getId() |
Boolean |
getLivemode() |
Integer |
getPendingWebhooks() |
String |
getType() |
String |
getUserId() |
static Event |
retrieve(String id) |
static Event |
retrieve(String id,
String apiKey) |
void |
setCreated(Long created) |
void |
setData(EventData data) |
void |
setId(String id) |
void |
setLivemode(Boolean livemode) |
void |
setPendingWebhooks(Integer pendingWebhooks) |
void |
setType(String name) |
void |
setUserId(String userId) |
_request, classURL, instanceURL, request, singleClassURLtoStringpublic static Event retrieve(String id) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
public static EventCollection all(Map<String,Object> params) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
public static Event retrieve(String id, String apiKey) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
public static EventCollection all(Map<String,Object> params, String apiKey) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
public EventData getData()
public void setData(EventData data)
public Long getCreated()
public void setCreated(Long created)
public String getId()
public void setId(String id)
public String getType()
public void setType(String name)
public String getUserId()
public void setUserId(String userId)
public Boolean getLivemode()
public void setLivemode(Boolean livemode)
public Integer getPendingWebhooks()
public void setPendingWebhooks(Integer pendingWebhooks)
Copyright © 2014 Stripe. All rights reserved.