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 EventRequest
deserialize(com.google.gson.JsonElement json, java.lang.reflect.Type typeOfT, com.google.gson.JsonDeserializationContext context)
Deserializes the JSON payload contained in an event'srequest
attribute into anEventRequest
instance.
-
-
-
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'srequest
attribute into anEventRequest
instance.- Specified by:
deserialize
in interfacecom.google.gson.JsonDeserializer<EventRequest>
- Throws:
com.google.gson.JsonParseException
-
-