FareProductUse Object
A container for both a fare product (a ticket) and its relationship to the itinerary.
Fields
#
id
Represents the use of a single instance of a fare product throughout the itinerary. It can be used to cross-reference and de-duplicate fare products that are applicable for more than one leg.
If you want to uniquely identify the fare product itself (not its use) use the product's id .
Example: Day pass
#
The day pass is valid for both legs in the itinerary. It is listed as the applicable product for each leg,
and the same FareProductUse id is shown, indicating that only one pass was used/bought.
Illustration
It is the responsibility of the API consumers to display the day pass as a product for the entire itinerary rather than two day passes!
Example: Several single tickets
#
If you have two legs and need to buy two single tickets they will appear in each leg with the
same FareProduct.id but different FareProductUse.id .
Illustration
Example: Combination of single tickets and day passes
#
If you have two legs and it's possible to either buy singles or use a day pass, you will
have a combination of identical and different FareProductUse.id s.
Illustration
It is the responsibility of the API consumers to display the day pass as a product for the entire itinerary rather than two day passes!
Usages
#
References
#
- Field fareProducts from Leg
FareProduct
Feed