Package com.stripe.model
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.gson.JsonElement
serialize
(ExpandableField<?> src, Type typeOfSrc, com.google.gson.JsonSerializationContext context) Serializes an expandable attribute into a JSON string.
-
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 interfacecom.google.gson.JsonSerializer<ExpandableField<?>>
-