Package model
Class PaymentInstrument.AccountTypeEnum.Adapter
java.lang.Object
com.google.gson.TypeAdapter<PaymentInstrument.AccountTypeEnum>
model.PaymentInstrument.AccountTypeEnum.Adapter
- Enclosing class:
PaymentInstrument.AccountTypeEnum
public static class PaymentInstrument.AccountTypeEnum.Adapter
extends com.google.gson.TypeAdapter<PaymentInstrument.AccountTypeEnum>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionread(com.google.gson.stream.JsonReader jsonReader) voidwrite(com.google.gson.stream.JsonWriter jsonWriter, PaymentInstrument.AccountTypeEnum 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, PaymentInstrument.AccountTypeEnum enumeration) throws IOException - Specified by:
writein classcom.google.gson.TypeAdapter<PaymentInstrument.AccountTypeEnum>- Throws:
IOException
-
read
public PaymentInstrument.AccountTypeEnum read(com.google.gson.stream.JsonReader jsonReader) throws IOException - Specified by:
readin classcom.google.gson.TypeAdapter<PaymentInstrument.AccountTypeEnum>- Throws:
IOException
-