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