Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

TicketRestrictions

import type { TicketRestrictions } from "https://googleapis.deno.dev/v1/walletobjects:v1.ts";
interface TicketRestrictions {
otherRestrictions?: LocalizedString;
routeRestrictions?: LocalizedString;
routeRestrictionsDetails?: LocalizedString;
timeRestrictions?: LocalizedString;
}

§Properties

§
otherRestrictions?: LocalizedString
[src]

Extra restrictions that don't fall under the "route" or "time" categories.

§
routeRestrictions?: LocalizedString
[src]

Restrictions about routes that may be taken. For example, this may be the string "Reserved CrossCountry trains only".

§
routeRestrictionsDetails?: LocalizedString
[src]

More details about the above routeRestrictions.

§
timeRestrictions?: LocalizedString
[src]

Restrictions about times this ticket may be used.