HereSDKDemandRideOffer
@interface HereSDKDemandRideOffer : NSObject
A class representing a ride offer, returned in response to requestRide.
-
The ride route
Declaration
Objective-C
@property (readonly, nonatomic) HereSDKDemandRoute *_Nonnull route;Swift
var route: HereSDKDemandRoute { get } -
Time estimate for pick up
Declaration
Objective-C
@property (readonly, nonatomic, nullable) NSDate *estimatedPickupTime;Swift
var estimatedPickupTime: Date? { get } -
Time estimate for drop off
Declaration
Objective-C
@property (readonly, nonatomic, nullable) NSDate *estimatedDropoffTime;Swift
var estimatedDropoffTime: Date? { get } -
Price estimate for the ride
Declaration
Objective-C
@property (readonly, nonatomic, nullable) HereSDKDemandPriceEstimate *estimatedPrice;Swift
var estimatedPrice: HereSDKDemandPriceEstimate? { get } -
The time the offer will expire
Declaration
Objective-C
@property (readonly, nonatomic, nullable) NSNumber *duration;Swift
var duration: NSNumber? { get } -
Pickup time estimate sent by the supplier (number of second from the time of the offer to the pickup time)
Declaration
Objective-C
@property (readonly, nonatomic, nullable) NSNumber *estimatedPickupTimeSeconds;Swift
var estimatedPickupTimeSeconds: NSNumber? { get } -
This is the number of seconds between pickup to drop-off. It does not include the time it takes for the driver to arrive at the pickup location.
Declaration
Objective-C
@property (readonly, nonatomic, nullable) NSNumber *estimatedRideDurationSeconds;Swift
var estimatedRideDurationSeconds: NSNumber? { get } -
Supported payment options.
Declaration
Objective-C
@property (readonly, nonatomic) HereSDKDemandPaymentOption paymentOptions;Swift
var paymentOptions: HereSDKDemandPaymentOption { get }
HereSDKDemandRideOffer Class Reference