public class EventData extends StripeObject
PRETTY_PRINT_GSON| Constructor and Description |
|---|
EventData() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(java.lang.Object other) |
boolean |
equals(java.lang.Object o) |
StripeObject |
getObject()
Deprecated.
Deprecated in favor of getting
StripeObject from Event.getDataObjectDeserializer() and EventDataObjectDeserializer.getObject().
Throws JsonParseException deserialization failure due to general invalid JSON, or
more specifically when JSON data and model class have incompatible schemas. |
java.util.Map<java.lang.String,java.lang.Object> |
getPreviousAttributes()
Object containing the names of the attributes that have changed, and their previous values
(sent along only with *.updated events).
|
int |
hashCode() |
void |
setObject(com.google.gson.JsonObject object)
Raw JSON object intended to be deserialized as
StripeObject. |
void |
setPreviousAttributes(java.util.Map<java.lang.String,java.lang.Object> previousAttributes)
Object containing the names of the attributes that have changed, and their previous values
(sent along only with *.updated events).
|
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString@Deprecated public StripeObject getObject()
StripeObject from Event.getDataObjectDeserializer() and EventDataObjectDeserializer.getObject().
Throws JsonParseException deserialization failure due to general invalid JSON, or
more specifically when JSON data and model class have incompatible schemas.public java.util.Map<java.lang.String,java.lang.Object> getPreviousAttributes()
public void setPreviousAttributes(java.util.Map<java.lang.String,java.lang.Object> previousAttributes)
public void setObject(com.google.gson.JsonObject object)
StripeObject. The deserialization should
be deferred to the user. See the now deprecated method getObject().public boolean equals(java.lang.Object o)
equals in class java.lang.Objectprotected boolean canEqual(java.lang.Object other)
public int hashCode()
hashCode in class java.lang.Object