FareRuleSet Data Type

Implemented Interfaces
Serializable
Properties
name data type description
originDestinations array of P2OfString
routes array of FeedScopedId
fareAttribute FareAttribute
trips array of FeedScopedId

Example

{
  "originDestinations" : [ {
    "second" : { },
    "first" : { }
  }, {
    "second" : { },
    "first" : { }
  } ],
  "routes" : [ {
    "feedId" : "...",
    "id" : "..."
  }, {
    "feedId" : "...",
    "id" : "..."
  } ],
  "fareAttribute" : {
    "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" : "..."
    }
  },
  "trips" : [ {
    "feedId" : "...",
    "id" : "..."
  }, {
    "feedId" : "...",
    "id" : "..."
  } ]
}