/tripkit/CommonCoreLegacy/com.skedgo.tripkit.routing/Trip
Trip
\ class Trip : ITimeRange
A Trip will mainly hold a list of TripSegments which denotes how to go from Trip.getFrom to Trip.getTo.
Main use-cases:
- Trip's segments: Trip.getSegments.
- Trip's start time: TripExtensionsKt.getStartDateTime.
- Trip's end time: TripExtensionsKt.getEndDateTime}.
- Trip's costs: .getCaloriesCost, .getMoneyCost, .getCarbonCost.
Constructors
Trip | constructor() |
Types
Name | Summary |
---|---|
Companion | object Companion |
Properties
Name | Summary |
---|---|
arrive | @SerializedName(value = "arrive") var arrive: String? |
availabilityInfo | var availabilityInfo: String? |
caloriesCost | @SerializedName(value = "caloriesCost") var caloriesCost: Float |
carbonCost | @SerializedName(value = "carbonCost") var carbonCost: Float |
currencySymbol | @SerializedName(value = "currencySymbol") var currencySymbol: String? |
depart | @SerializedName(value = "depart") var depart: String? |
endDateTime | val Trip.endDateTime: DateTime Get an end date-time with time-zone. |
endTimeInSecs | open override var endTimeInSecs: Long |
endTimeString | val Trip.endTimeString: String |
from | val from: Location? |
group | @Transient var group: TripGroup? |
hassleCost | @SerializedName(value = "hassleCost") var hassleCost: Float |
hideExactTimes | @SerializedName(value = "hideExactTimes") var hideExactTimes: Boolean |
id | var id: String |
isFavourite | var isFavourite: Boolean |
logURL | @SerializedName(value = "logURL") var logURL: String? |
mainSegmentHashCode | @SerializedName(value = "mainSegmentHashCode") var mainSegmentHashCode: Long |
mAvailability | @SerializedName(value = "availability") var mAvailability: String? |
moneyCost | @SerializedName(value = "moneyCost") var moneyCost: Float |
moneyUsdCost | @SerializedName(value = "moneyUSDCost") var moneyUsdCost: Float |
plannedURL | @SerializedName(value = "plannedURL") var plannedURL: String? |
progressURL | @SerializedName(value = "progressURL") var progressURL: String? |
queryDateTime | val Trip.queryDateTime: DateTime Gets a query date-time with time-zone based on from location |
queryIsLeaveAfter | @SerializedName(value = "queryIsLeaveAfter") var queryIsLeaveAfter: Boolean |
queryTime | @SerializedName(value = "queryTime") var queryTime: Long |
quickBookingSegment | val quickBookingSegment: TripSegment? |
rawSegmentList | @SerializedName(value = "segments") var rawSegmentList: ArrayList<JsonObject>? |
saveURL | @SerializedName(value = "saveURL") var saveURL: String? |
segmentList | var segmentList: MutableList<TripSegment> |
shareURL | @SerializedName(value = "shareURL") var shareURL: String? |
startDateTime | val Trip.startDateTime: DateTime Gets a start date-time with time-zone. |
startTimeInSecs | open override var startTimeInSecs: Long |
startTimeString | val Trip.startTimeString: String |
subscribeURL | @SerializedName(value = "subscribeURL") var subscribeURL: String? |
temporaryURL | @SerializedName(value = "temporaryURL") var temporaryURL: String? |
to | val to: Location? |
tripId | var tripId: Long |
unsubscribeURL | @SerializedName(value = "unsubscribeURL") var unsubscribeURL: String? |
updateURL | @SerializedName(value = "updateURL") var updateURL: String? |
uuid | var uuid: String |
weightedScore | @SerializedName(value = "weightedScore") var weightedScore: Float |