Class ShipmentStatus.Adapter
- java.lang.Object
-
- com.google.gson.TypeAdapter<ShipmentStatus>
-
- software.amazon.spapi.models.orders.v0.ShipmentStatus.Adapter
-
- Enclosing class:
- ShipmentStatus
public static class ShipmentStatus.Adapter extends com.google.gson.TypeAdapter<ShipmentStatus>
-
-
Constructor Summary
Constructors Constructor Description Adapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ShipmentStatus
read(com.google.gson.stream.JsonReader jsonReader)
void
write(com.google.gson.stream.JsonWriter jsonWriter, ShipmentStatus enumeration)
-
-
-
Method Detail
-
write
public void write(com.google.gson.stream.JsonWriter jsonWriter, ShipmentStatus enumeration) throws java.io.IOException
- Specified by:
write
in classcom.google.gson.TypeAdapter<ShipmentStatus>
- Throws:
java.io.IOException
-
read
public ShipmentStatus read(com.google.gson.stream.JsonReader jsonReader) throws java.io.IOException
- Specified by:
read
in classcom.google.gson.TypeAdapter<ShipmentStatus>
- Throws:
java.io.IOException
-
-