---
title: displaysPaymentTransaction
framework: intentsui
role: symbol
role_heading: Instance Property
path: intentsui/inuihostedviewsiriproviding/displayspaymenttransaction
---

# displaysPaymentTransaction

A Boolean indicating whether your view controller replaces the default payment transaction interface that Siri provides.

## Declaration

```swift
optional var displaysPaymentTransaction: Bool { get }
```

## Discussion

Discussion Implement this property and return true when you want your view controller to display the payment details of a transaction. For example, you might return true when you want to provide a customized payment interface. If you do not implement this property, or your implementation returns false, Siri displays payment details using its own interface.

## See Also

### Overriding the Default Behavior

- [displaysMap](intentsui/inuihostedviewsiriproviding/displaysmap.md)
- [displaysMessage](intentsui/inuihostedviewsiriproviding/displaysmessage.md)
