AI-generated Key Takeaways
-
GMTDDeliveryVehicle is an immutable object representing a delivery vehicle.
-
Each vehicle has a unique vehicleID, vehicleName, and providerID.
-
Each vehicle has vehicleStops, which is an array that contains the stops assigned to the vehicle.
-
This class can only be initialized internally with response data from Fleet Engine.
GMTDDeliveryVehicle
@interface GMTDDeliveryVehicle : GMTSImmutableDataAn immutable object representing a delivery vehicle.
-
The ID of the vehicle.
Declaration
Swift
var vehicleID: String { get }Objective-C
@property (nonatomic, readonly) GMTDFleetEngineIDString *_Nonnull vehicleID; -
The name of the vehicle.
Declaration
Swift
var vehicleName: String { get }Objective-C
@property (nonatomic, readonly) NSString *_Nonnull vehicleName; -
The provider of the vehicle.
Declaration
Swift
var providerID: String { get }Objective-C
@property (nonatomic, readonly) NSString *_Nonnull providerID; -
The stops assigned to this vehicle.
Declaration
Swift
var vehicleStops: [GMTDVehicleStop]? { get }Objective-C
@property (nonatomic, readonly, nullable) NSArray<GMTDVehicleStop *> *vehicleStops; -
Unavailable
This class will only be initialized internally with response data from Fleet Engine.
Declaration
Objective-C
- (nonnull instancetype)init; -
Unavailable
Declaration
Objective-C
+ (instancetype)new NS_UNAVAILABLE;