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 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's request attribute into an Event.Request instance.
      Specified by:
      deserialize in interface com.google.gson.JsonDeserializer<Event.Request>
      Throws:
      com.google.gson.JsonParseException