Class Event
- java.lang.Object
-
- software.amazon.spapi.models.shipping.v2.Event
-
public class Event extends java.lang.Object
A tracking event.
-
-
Constructor Summary
Constructors Constructor Description Event()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
Event
eventCode(EventCode eventCode)
Event
eventTime(org.threeten.bp.OffsetDateTime eventTime)
EventCode
getEventCode()
Get eventCodeorg.threeten.bp.OffsetDateTime
getEventTime()
The ISO 8601 formatted timestamp of the event.Location
getLocation()
Get locationShipmentType
getShipmentType()
Get shipmentTypeint
hashCode()
Event
location(Location location)
void
setEventCode(EventCode eventCode)
void
setEventTime(org.threeten.bp.OffsetDateTime eventTime)
void
setLocation(Location location)
void
setShipmentType(ShipmentType shipmentType)
Event
shipmentType(ShipmentType shipmentType)
java.lang.String
toString()
-
-
-
Method Detail
-
getEventCode
public EventCode getEventCode()
Get eventCode- Returns:
- eventCode
-
setEventCode
public void setEventCode(EventCode eventCode)
-
getLocation
public Location getLocation()
Get location- Returns:
- location
-
setLocation
public void setLocation(Location location)
-
eventTime
public Event eventTime(org.threeten.bp.OffsetDateTime eventTime)
-
getEventTime
public org.threeten.bp.OffsetDateTime getEventTime()
The ISO 8601 formatted timestamp of the event.- Returns:
- eventTime
-
setEventTime
public void setEventTime(org.threeten.bp.OffsetDateTime eventTime)
-
shipmentType
public Event shipmentType(ShipmentType shipmentType)
-
getShipmentType
public ShipmentType getShipmentType()
Get shipmentType- Returns:
- shipmentType
-
setShipmentType
public void setShipmentType(ShipmentType shipmentType)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-