Skip to content

Commit f99d62e

Browse files
committed
remove fares
1 parent 844160d commit f99d62e

1 file changed

Lines changed: 0 additions & 18 deletions

File tree

data-types.md

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
- [Stop Status](#stop-status)
1313
- [Trips](#trips)
1414
- [Trip Attributes](#trip-attributes)
15-
- [Fares](#fares)
1615
- [Reservation Data](#reservation-data)
1716
- [Reservation Type](#reservation-type)
1817
- [Reservation Method](#reservation-method)
@@ -219,16 +218,13 @@ A Trip is defined by the following structure:
219218
| `end_location` | [Point](point) | Required | Location of the end of the trip. See also [Stop-based Geographic Data][stop-based-geo]. |
220219
| `publication_time` | [Timestamp][ts] | Optional | Date/time that trip became available through the trips endpoint |
221220
| `reservation_attributes` | [Reservation](#reservation-data) | Required if available | Reservation details, if a reservation initiated this trip
222-
| `fare` | [Fare](#fare) | Conditionally Required | Fare for the trip (required if trip was completed) |
223221
| `dispatch_time` | [Timestamp][ts] | Conditionally Required | Time the vehicle was dispatched to the customer (required if trip was dispatched) |
224222
| `parking_verification_url` | String | Optional | A URL to a photo (or other evidence) of proper vehicle parking |
225223
| `cancellation_reason` | Enum | Conditionally Required | The reason why a *driver* cancelled a reservation. (required if a driver cancelled a trip, and a `driver_cancellation` event_type was part of the trip) |
226224
| `accessibility_options` | Enum[] | Optional | The **union** of any accessibility options requested, and used. E.g. if the passenger requests a vehicle with `wheelchair_accessible`, but doesn’t utilize the features during the trip, the trip payload will include `accessibility_options: ['wheelchair_accessible']`. See [accessibility-options][accessibility-options] |
227225

228226
(?) Reconcile inconsistent use of `trip_`
229227

230-
(?) Does anyone use `publication_time`?
231-
232228
[Top][toc]
233229

234230
### Trip Attributes
@@ -249,20 +245,6 @@ Examples of mode-specific `trip_attributes`:
249245

250246
[Top][toc]
251247

252-
### Fares
253-
254-
The Fare object describes a fare for a Trip.
255-
256-
| Field | Type | Required/Optional | Field Description |
257-
|-----------------|-----------------------|-------------------|-----------------------------------------------------------------------------------------|
258-
| `quoted_cost` | Float | Optional | Cost quoted to the customer at the time of booking, if available |
259-
| `actual_cost` | Float | Required | Actual cost after a trip was completed |
260-
| `components` | `{ [string]: float }` | Optional | Breakdown of the different fees that composed a fare, e.g. tolls |
261-
| `currency` | String | Required | ISO 4217 currency code |
262-
| `payment_methods` | `string[]` | Optional | Breakdown of different payment methods used for a trip, e.g. cash, card, equity_program |
263-
264-
[Top][toc]
265-
266248
### Reservation Data
267249

268250
A Reservation is defined as follows:

0 commit comments

Comments
 (0)