Class ExpandableFieldSerializer

java.lang.Object
com.stripe.model.ExpandableFieldSerializer
All Implemented Interfaces:
com.google.gson.JsonSerializer<ExpandableField<?>>

public class ExpandableFieldSerializer extends Object implements com.google.gson.JsonSerializer<ExpandableField<?>>
  • Constructor Details

    • ExpandableFieldSerializer

      public ExpandableFieldSerializer()
  • Method Details

    • serialize

      public com.google.gson.JsonElement serialize(ExpandableField<?> src, Type typeOfSrc, com.google.gson.JsonSerializationContext context)
      Serializes an expandable attribute into a JSON string.
      Specified by:
      serialize in interface com.google.gson.JsonSerializer<ExpandableField<?>>