Package io.voucherify.client.model
Class RedemptionRollbackChannel.ChannelTypeEnum.Adapter
java.lang.Object
com.google.gson.TypeAdapter<RedemptionRollbackChannel.ChannelTypeEnum>
io.voucherify.client.model.RedemptionRollbackChannel.ChannelTypeEnum.Adapter
- Enclosing class:
- RedemptionRollbackChannel.ChannelTypeEnum
public static class RedemptionRollbackChannel.ChannelTypeEnum.Adapter
extends com.google.gson.TypeAdapter<RedemptionRollbackChannel.ChannelTypeEnum>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionread(com.google.gson.stream.JsonReader jsonReader) voidwrite(com.google.gson.stream.JsonWriter jsonWriter, RedemptionRollbackChannel.ChannelTypeEnum enumeration) Methods inherited from class com.google.gson.TypeAdapter
fromJson, fromJson, fromJsonTree, nullSafe, toJson, toJson, toJsonTree
-
Constructor Details
-
Adapter
public Adapter()
-
-
Method Details
-
write
public void write(com.google.gson.stream.JsonWriter jsonWriter, RedemptionRollbackChannel.ChannelTypeEnum enumeration) throws IOException - Specified by:
writein classcom.google.gson.TypeAdapter<RedemptionRollbackChannel.ChannelTypeEnum>- Throws:
IOException
-
read
public RedemptionRollbackChannel.ChannelTypeEnum read(com.google.gson.stream.JsonReader jsonReader) throws IOException - Specified by:
readin classcom.google.gson.TypeAdapter<RedemptionRollbackChannel.ChannelTypeEnum>- Throws:
IOException
-