Package com.stripe.model
Class EventRequestDeserializer
java.lang.Object
com.stripe.model.EventRequestDeserializer
- All Implemented Interfaces:
com.google.gson.JsonDeserializer<Event.Request>
public class EventRequestDeserializer
extends Object
implements com.google.gson.JsonDeserializer<Event.Request>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondeserialize
(com.google.gson.JsonElement json, Type typeOfT, com.google.gson.JsonDeserializationContext context) Deserializes the JSON payload contained in an event'srequest
attribute into anEvent.Request
instance.
-
Constructor Details
-
EventRequestDeserializer
public EventRequestDeserializer()
-
-
Method Details
-
deserialize
public Event.Request deserialize(com.google.gson.JsonElement json, Type typeOfT, com.google.gson.JsonDeserializationContext context) throws com.google.gson.JsonParseException Deserializes the JSON payload contained in an event'srequest
attribute into anEvent.Request
instance.- Specified by:
deserialize
in interfacecom.google.gson.JsonDeserializer<Event.Request>
- Throws:
com.google.gson.JsonParseException
-