-
public final class RadarTripOrderRepresents a trip order.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enumRadarTripOrder.RadarTripOrderStatusThe statuses for trip orders.
-
Field Summary
Fields Modifier and Type Field Description private final String_idprivate final Stringguidprivate final StringhandoffModeprivate final RadarTripOrder.RadarTripOrderStatusstatusprivate final DatefiredAtprivate final IntegerfiredAttemptsprivate final StringfiredReasonprivate final DateupdatedAt
-
Constructor Summary
Constructors Constructor Description RadarTripOrder(String _id, String guid, String handoffMode, RadarTripOrder.RadarTripOrderStatus status, Date firedAt, Integer firedAttempts, String firedReason, Date updatedAt)
-
Method Summary
Modifier and Type Method Description final Stringget_id()The Radar ID of the trip order. final StringgetGuid()The optional GUID of the trip order. final StringgetHandoffMode()The optional handoff mode of the trip order. final RadarTripOrder.RadarTripOrderStatusgetStatus()The status of the trip order. final DategetFiredAt()The optional datetime when the order was fired. final IntegergetFiredAttempts()The optional number of fired attempts. final StringgetFiredReason()The optional reason why the order was fired. final DategetUpdatedAt()The datetime when the order was last updated. final JSONObjecttoJson()Converts this RadarTripOrder to a JSON object. -
-
Method Detail
-
getHandoffMode
final String getHandoffMode()
The optional handoff mode of the trip order.
-
getStatus
final RadarTripOrder.RadarTripOrderStatus getStatus()
The status of the trip order.
-
getFiredAt
final Date getFiredAt()
The optional datetime when the order was fired.
-
getFiredAttempts
final Integer getFiredAttempts()
The optional number of fired attempts.
-
getFiredReason
final String getFiredReason()
The optional reason why the order was fired.
-
getUpdatedAt
final Date getUpdatedAt()
The datetime when the order was last updated.
-
toJson
final JSONObject toJson()
Converts this RadarTripOrder to a JSON object.
-
-
-
-