public abstract class StripeObject
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static com.google.gson.Gson |
PRETTY_PRINT_GSON |
Constructor and Description |
---|
StripeObject() |
Modifier and Type | Method and Description |
---|---|
protected static boolean |
equals(java.lang.Object a,
java.lang.Object b) |
StripeResponse |
getLastResponse() |
com.google.gson.JsonObject |
getRawJsonObject()
Returns the raw JsonObject exposed by the Gson library.
|
void |
setLastResponse(StripeResponse response) |
java.lang.String |
toJson() |
java.lang.String |
toString() |
public java.lang.String toString()
toString
in class java.lang.Object
public StripeResponse getLastResponse()
public void setLastResponse(StripeResponse response)
public com.google.gson.JsonObject getRawJsonObject()
Note: You should always prefer using the standard property accessors whenever possible. Because this method exposes Gson's underlying API, it is not considered fully stable. Stripe's Java library might move off Gson in the future and this method would be removed or change significantly.
public java.lang.String toJson()
protected static boolean equals(java.lang.Object a, java.lang.Object b)