validityPeriod property

Duration? validityPeriod
getter/setter pair

When set, the price is paid for a specific duration.

Examples:

3600 seconds - price for one hour

28800 seconds - price for eight hours

86400 seconds - price for one day

Note: When the ticket validity period starts depends on the Agency providing the service. Defaults to null.

Implementation

Duration? validityPeriod;