Type Method

canceledByService

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

Declaration

+ (instancetype)canceledByService;

Return Value

An initialized INRideCompletionStatus object.

Discussion

Use this method when your service 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.

+ canceledByUser

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

+ canceledMissedPickup

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