Class ReceiptTypeEnum.Adapter
- java.lang.Object
-
- com.google.gson.TypeAdapter<ReceiptTypeEnum>
-
- io.nem.sdk.openapi.okhttp_gson.model.ReceiptTypeEnum.Adapter
-
- Enclosing class:
- ReceiptTypeEnum
public static class ReceiptTypeEnum.Adapter extends com.google.gson.TypeAdapter<ReceiptTypeEnum>
-
-
Constructor Summary
Constructors Constructor Description Adapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReceiptTypeEnumread(com.google.gson.stream.JsonReader jsonReader)voidwrite(com.google.gson.stream.JsonWriter jsonWriter, ReceiptTypeEnum enumeration)
-
-
-
Method Detail
-
write
public void write(com.google.gson.stream.JsonWriter jsonWriter, ReceiptTypeEnum enumeration) throws java.io.IOException- Specified by:
writein classcom.google.gson.TypeAdapter<ReceiptTypeEnum>- Throws:
java.io.IOException
-
read
public ReceiptTypeEnum read(com.google.gson.stream.JsonReader jsonReader) throws java.io.IOException
- Specified by:
readin classcom.google.gson.TypeAdapter<ReceiptTypeEnum>- Throws:
java.io.IOException
-
-