Type Method

completed

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

Declaration

+ (instancetype)completed;

Return Value

An initialized INRideCompletionStatus object.

Discussion

This method sets the completed property of the returned object to YES, and it sets the canceled, missedPickup, and outstanding properties to NO.

See Also

Creating a Ride Completion Status Object

+ 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.

+ 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.