Package com.stripe.model
Class EventRequestDeserializer
- java.lang.Object
-
- com.stripe.model.EventRequestDeserializer
-
- All Implemented Interfaces:
com.google.gson.JsonDeserializer<EventRequest>
public class EventRequestDeserializer extends java.lang.Object implements com.google.gson.JsonDeserializer<EventRequest>
-
-
Constructor Summary
Constructors Constructor Description EventRequestDeserializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EventRequestdeserialize(com.google.gson.JsonElement json, java.lang.reflect.Type typeOfT, com.google.gson.JsonDeserializationContext context)Deserializes the JSON payload contained in an event'srequestattribute into anEventRequestinstance.
-
-
-
Method Detail
-
deserialize
public EventRequest deserialize(com.google.gson.JsonElement json, java.lang.reflect.Type typeOfT, com.google.gson.JsonDeserializationContext context) throws com.google.gson.JsonParseException
Deserializes the JSON payload contained in an event'srequestattribute into anEventRequestinstance.- Specified by:
deserializein interfacecom.google.gson.JsonDeserializer<EventRequest>- Throws:
com.google.gson.JsonParseException
-
-