Skip to content

RouteTollPrice

Source code in docs_src/capo_geo_routes/types/route_toll_price.py
class RouteTollPrice(TypedDict, closed=True):
    currency: "capo_geo_routes.types.currency_code.CurrencyCode"
    """<p>Currency code corresponding to the price. This is the same as Currency specified in the request.</p>"""
    estimate: "capo_geo_routes.types.sensitive_boolean.SensitiveBoolean"
    """<p>If the price is an estimate or an exact value. </p>"""
    per_duration: "capo_geo_routes.types.duration_seconds.DurationSeconds"
    """<p>Duration for which the price corresponds to.</p> <p> <b>Unit</b>: <code>seconds</code> </p>"""
    range: "capo_geo_routes.types.sensitive_boolean.SensitiveBoolean"
    """<p>If the price is a range or an exact value. If any of the toll fares making up the route is a range, the overall price is also a range.</p>"""
    range_value: NotRequired[
        "capo_geo_routes.types.route_toll_price_value_range.RouteTollPriceValueRange"
    ]
    """<p>Price range with a minimum and maximum value, if a range.</p>"""
    value: "capo_geo_routes.types.sensitive_double.SensitiveDouble"
    """<p>Exact price, if not a range.</p>"""

currency instance-attribute

currency: CurrencyCode

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

estimate instance-attribute

estimate: SensitiveBoolean

If the price is an estimate or an exact value.

per_duration instance-attribute

per_duration: DurationSeconds

Duration for which the price corresponds to.

Unit: seconds

range instance-attribute

If the price is a range or an exact value. If any of the toll fares making up the route is a range, the overall price is also a range.

range_value instance-attribute

range_value: NotRequired[RouteTollPriceValueRange]

Price range with a minimum and maximum value, if a range.

value instance-attribute

Exact price, if not a range.