Magidoc

DependentFareProduct
Object

A (possibly discounted) fare product that requires another fare product to be purchased previously in order to be valid.

For example, when taking the train into a city, you might get a discounted "transfer fare" when switching to the bus for the second leg.

Fields

#

dependencies

Non-null

The fare product is not valid without purchasing at least one of

id

Non-null

Identifier for the fare product.

medium

The 'medium' that this product applies to, for example "Oyster Card" or "Berlin Ticket App".

This communicates to riders that a specific way of buying or keeping this product is required.

name

Non-null

Human readable name of the product, for example example "Day pass" or "Single ticket".

price

Non-null

The price of the product

riderCategory

The category of riders this product applies to, for example students or pensioners.

Interfaces

#

Also implements FareProduct .