FareRule Data Type

Implemented Interfaces
Serializable
Properties
name data type description
fare FareAttribute
route Route
originId string
destinationId string
containsId string

Example

{
  "fare" : {
    "price" : 12345.0,
    "currencyType" : "...",
    "paymentMethod" : 12345,
    "transfersSet" : true,
    "transfers" : 12345,
    "transferDurationSet" : true,
    "transferDuration" : 12345,
    "journeyDurationSet" : true,
    "journeyDuration" : 12345,
    "youthPrice" : 12345.0,
    "seniorPrice" : 12345.0,
    "id" : {
      "feedId" : "...",
      "id" : "..."
    }
  },
  "route" : {
    "branding" : {
      "shortName" : "...",
      "name" : "...",
      "url" : "...",
      "image" : "...",
      "description" : "...",
      "id" : { }
    },
    "agency" : {
      "name" : "...",
      "url" : "...",
      "timezone" : "...",
      "lang" : "...",
      "phone" : "...",
      "fareUrl" : "...",
      "brandingUrl" : "...",
      "id" : { }
    },
    "operator" : {
      "name" : "...",
      "url" : "...",
      "phone" : "...",
      "id" : { }
    },
    "shortName" : "...",
    "longName" : "...",
    "desc" : "...",
    "gtfsType" : 12345,
    "mode" : "TROLLEYBUS",
    "url" : "...",
    "color" : "...",
    "textColor" : "...",
    "bikesAllowed" : "ALLOWED",
    "sortOrderSet" : true,
    "sortOrder" : 12345,
    "flexibleLineType" : "...",
    "name" : "...",
    "netexSubmode" : "...",
    "id" : {
      "feedId" : "...",
      "id" : "..."
    }
  },
  "originId" : "...",
  "destinationId" : "...",
  "containsId" : "..."
}