---
title: code
framework: intents
role: symbol
role_heading: Instance Property
path: intents/ingetreservationdetailsintentresponse/code
---

# code

The code that indicates whether your app successfully handled the intent.

## Declaration

```swift
var code: INGetReservationDetailsIntentResponseCode { get }
```

## See Also

### Getting the Response Code

- [INGetReservationDetailsIntentResponseCode](intents/ingetreservationdetailsintentresponsecode.md)
