Type Method

canceledByUser

Creates an instance of this class that indicates the user canceled the ride.

Declaration

+ (instancetype)canceledByUser;

Return Value

An initialized INRideCompletionStatus object.

Discussion

Use this method when the user cancels the ride. This method sets the canceled property of the returned object to YES, and it sets the completed, missedPickup, and outstanding properties to NO.

See Also

Creating a Ride Completion Status Object

+ completed

Creates an instance of this class that indicates the ride completed successfully.

+ completedWithSettledPaymentAmount:

Creates an instance of this class that indicates the ride completed successfully and with the specified cost.

+ completedWithOutstandingPaymentAmount:

Creates an instance of this class that indicates the ride completed successfully but still requires payment from the user.

+ completedWithOutstandingFeedbackType:

Creates an instance of this class that indicates the ride completed successfully but still requires feedback from the user.

+ canceledByService

Creates an instance of this class that indicates your service canceled the ride.

+ canceledMissedPickup

Creates an instance of this class that indicates someone canceled the ride because of a missed pickup.