<!--
{
  "availability" : [
    "iOS: 10.0.0 -",
    "iPadOS: 10.0.0 -",
    "macCatalyst: 13.1.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 3.2.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SiriKit",
  "identifier" : "/documentation/Intents/INRideCompletionStatus/completed(outstanding:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "Intents"
    ],
    "preciseIdentifier" : "c:objc(cs)INRideCompletionStatus(cm)completedWithOutstandingPaymentAmount:"
  },
  "title" : "completed(outstanding:)"
}
-->

# completed(outstanding:)

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

```
class func completed(outstanding outstandingPaymentAmount: INCurrencyAmount) -> Self
```

## Parameters

`outstandingPaymentAmount`

The amount of money owed by the user for the ride.

## Return Value

An initialized [`INRideCompletionStatus`](/documentation/Intents/INRideCompletionStatus) object.

## Discussion

Use this method when the ride completed successfully but the user has not yet provided full payment. This method sets the [`isCompleted`](/documentation/Intents/INRideCompletionStatus/isCompleted) and [`isOutstanding`](/documentation/Intents/INRideCompletionStatus/isOutstanding) properties of the returned object to <doc://com.apple.documentation/documentation/Swift/true>, and it sets the [`isCanceled`](/documentation/Intents/INRideCompletionStatus/isCanceled) and [`isMissedPickup`](/documentation/Intents/INRideCompletionStatus/isMissedPickup) properties to <doc://com.apple.documentation/documentation/Swift/false>. It also sets the [`paymentAmount`](/documentation/Intents/INRideCompletionStatus/paymentAmount) property to the value in the `outstandingPaymentAmount` parameter. Your app can use that amount later to handle the payment.

After creating the object, assign a value to the object’s [`completionUserActivity`](/documentation/Intents/INRideCompletionStatus/completionUserActivity) property. Your user activity object should indicate that payment is still required in your app. Providing the user activity object lets SiriKit know that it should notify the user that your app needs to take additional steps.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)