HasId
public class Event extends APIResource implements HasId
APIResource.RequestMethod, APIResource.RequestType
CHARSET, GSON
PRETTY_PRINT_GSON
Constructor | Description |
---|---|
Event() |
Modifier and Type | Method | Description |
---|---|---|
static EventCollection |
all(java.util.Map<java.lang.String,java.lang.Object> params) |
Deprecated.
Use the
list(Map) method instead.
This method will be removed in the next major version. |
static EventCollection |
all(java.util.Map<java.lang.String,java.lang.Object> params,
RequestOptions options) |
Deprecated.
Use the
list(Map, RequestOptions) method instead.
This method will be removed in the next major version. |
static EventCollection |
all(java.util.Map<java.lang.String,java.lang.Object> params,
java.lang.String apiKey) |
Deprecated.
Use the
list(Map, RequestOptions) method instead.
This method will be removed in the next major version. |
protected boolean |
canEqual(java.lang.Object other) |
|
boolean |
equals(java.lang.Object o) |
|
java.lang.String |
getAccount() |
|
java.lang.String |
getApiVersion() |
|
java.lang.Long |
getCreated() |
|
EventData |
getData() |
|
java.lang.String |
getId() |
|
java.lang.Boolean |
getLivemode() |
|
java.lang.String |
getObject() |
|
java.lang.Integer |
getPendingWebhooks() |
|
EventRequest |
getRequest() |
|
java.lang.String |
getType() |
|
java.lang.String |
getUserId() |
Deprecated.
|
int |
hashCode() |
|
static EventCollection |
list(java.util.Map<java.lang.String,java.lang.Object> params) |
List all events.
|
static EventCollection |
list(java.util.Map<java.lang.String,java.lang.Object> params,
RequestOptions options) |
List all events.
|
static Event |
retrieve(java.lang.String id) |
Retrieve an event.
|
static Event |
retrieve(java.lang.String id,
RequestOptions options) |
Retrieve an event.
|
static Event |
retrieve(java.lang.String id,
java.lang.String apiKey) |
Deprecated.
Use the
retrieve(String, RequestOptions) method instead.
This method will be removed in the next major version. |
void |
setAccount(java.lang.String account) |
|
void |
setApiVersion(java.lang.String apiVersion) |
|
void |
setCreated(java.lang.Long created) |
|
void |
setData(EventData data) |
|
void |
setId(java.lang.String id) |
|
void |
setLivemode(java.lang.Boolean livemode) |
|
void |
setObject(java.lang.String object) |
|
void |
setPendingWebhooks(java.lang.Integer pendingWebhooks) |
|
void |
setRequest(EventRequest request) |
|
void |
setType(java.lang.String type) |
|
void |
setUserId(java.lang.String userId) |
Deprecated.
|
classURL, classURL, instanceURL, instanceURL, multipartRequest, request, requestCollection, setExpandableFieldID, setStripeResponseGetter, singleClassURL, singleClassURL, subresourceURL, urlEncode
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
equals, getLastResponse, setLastResponse, toJson, toString
@Deprecated public static EventCollection all(java.util.Map<java.lang.String,java.lang.Object> params) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
list(Map)
method instead.
This method will be removed in the next major version.@Deprecated public static EventCollection all(java.util.Map<java.lang.String,java.lang.Object> params, RequestOptions options) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
list(Map, RequestOptions)
method instead.
This method will be removed in the next major version.@Deprecated public static EventCollection all(java.util.Map<java.lang.String,java.lang.Object> params, java.lang.String apiKey) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
list(Map, RequestOptions)
method instead.
This method will be removed in the next major version.public static EventCollection list(java.util.Map<java.lang.String,java.lang.Object> params) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
public static EventCollection list(java.util.Map<java.lang.String,java.lang.Object> params, RequestOptions options) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
public static Event retrieve(java.lang.String id) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
public static Event retrieve(java.lang.String id, RequestOptions options) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
@Deprecated public static Event retrieve(java.lang.String id, java.lang.String apiKey) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
retrieve(String, RequestOptions)
method instead.
This method will be removed in the next major version.public java.lang.String getObject()
public java.lang.String getAccount()
public java.lang.String getApiVersion()
public java.lang.Long getCreated()
public EventData getData()
public java.lang.Boolean getLivemode()
public java.lang.Integer getPendingWebhooks()
public EventRequest getRequest()
public java.lang.String getType()
@Deprecated public java.lang.String getUserId()
public void setId(java.lang.String id)
public void setObject(java.lang.String object)
public void setAccount(java.lang.String account)
public void setApiVersion(java.lang.String apiVersion)
public void setCreated(java.lang.Long created)
public void setData(EventData data)
public void setLivemode(java.lang.Boolean livemode)
public void setPendingWebhooks(java.lang.Integer pendingWebhooks)
public void setRequest(EventRequest request)
public void setType(java.lang.String type)
@Deprecated public void setUserId(java.lang.String userId)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
protected boolean canEqual(java.lang.Object other)
public int hashCode()
hashCode
in class java.lang.Object