Fare is a set of fares for different classes of users.
name | data type | type | namespace | min/max occurs | description |
---|---|---|---|---|---|
details | (custom) | element | 0/1 | A mapping from FareType to a list of FareComponent. The FareComponents are stored in an array instead of a list because JAXB doesn't know how to deal with interfaces when serializing a trip planning response, and List is an interface. See https://stackoverflow.com/a/1119241/778449 | |
fare | (custom) | element | 0/1 | A mapping from FareType to Money. |
Example
<f-----> <fare>...</fare> <details>...</details> </f----->