The information that describes a train trip.
SDKs
- iOS 13.0+
- Mac Catalyst 13.0+
- watchOS 6.0+
Framework
- Intents
Declaration
@interface INTrainTrip : NSObject
The information that describes a train trip.
SDKs
Framework
@interface INTrainTrip : NSObject
- init With Provider: train Name: train Number: trip Duration: departure Station Location: departure Platform: arrival Station Location: arrival Platform:
Creates a new train trip with the specified contents and attributes.
provider
The name for the train company.
train Name
The name of the train.
train Number
The unique identifier for the train.
trip Duration
The date and time range for the departure and arrival of the train.
departure Station Location
The station from which the train departs.
departure Platform
The platform from which the train departs.
arrival Station Location
The station at which the train arrives.
arrival Platform
The platform at which the train arrives.
INTrain Reservation
The information that describes a train reservation.