An INRideCompletionStatus object contains detailed information about the status of a completed ride. Use this object to provide details about whether the ride was successful or canceled. You can also provide details related to the cost of the ride and whether the rider made payment.
When updating the status of a ride, you provide a response object that contains an INRideStatus object with details about the status. When the ride reaches the completed phase, create an instance of this class and assign it to the completionStatus property of the ride status object.