Module Values.RouteTollOptionsSource

Options related to Tolls on a route.

Sourcetype nonrec t = {
  1. allTransponders : SensitiveBoolean.t option;
    (*

    Specifies if the user has valid transponder with access to all toll systems. This impacts toll calculation, and if true the price with transponders is used.

    *)
  2. allVignettes : SensitiveBoolean.t option;
    (*

    Specifies if the user has valid vignettes with access for all toll roads. If a user has a vignette for a toll road, then toll cost for that road is omitted since no further payment is necessary.

    *)
  3. currency : CurrencyCode.t option;
    (*

    Currency code corresponding to the price. This is the same as Currency specified in the request.

    *)
  4. emissionType : RouteEmissionType.t option;
    (*

    Emission type of the vehicle for toll cost calculation. Valid values: Euro1, Euro2, Euro3, Euro4, Euro5, Euro6, EuroEev

    *)
  5. vehicleCategory : RouteTollVehicleCategory.t option;
    (*

    Vehicle category for toll cost calculation.

    *)
}
Sourceval make : ?allTransponders:??? -> ?allVignettes:??? -> ?currency:??? -> ?emissionType:??? -> ?vehicleCategory:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of SensitiveBoolean.t | `Enum of string | `String of CurrencyCode.t | `Structure of (string * [> `String of SensitiveString.t ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t