<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: 15.0.0 -",
    "macOS: 12.0.0 -",
    "tvOS: 15.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 8.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "DataDetection",
  "identifier" : "/documentation/DataDetection/DDMatchMoneyAmount",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "DataDetection"
    ],
    "preciseIdentifier" : "c:objc(cs)DDMatchMoneyAmount"
  },
  "title" : "DDMatchMoneyAmount"
}
-->

# DDMatchMoneyAmount

An object that contains an amount of money that the data detection system matches.

```
class DDMatchMoneyAmount
```

## Overview

The DataDetection framework returns a match for an amount of money in a `DDMatchMoneyAmount` object, which contains an amount of money and an ISO currency code.

## Topics

### Getting money information

[`amount`](/documentation/DataDetection/DDMatchMoneyAmount/amount)

A number that represents an amount of money.

[`currency`](/documentation/DataDetection/DDMatchMoneyAmount/currency)

A string that contains an ISO currency code, which the data detection system identifies from the matched string and user preferences.

## Relationships

### Conforms To

[`Hashable`](/documentation/Swift/Hashable)

[`Equatable`](/documentation/Swift/Equatable)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`CVarArg`](/documentation/Swift/CVarArg)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

### Inherits From

[`DDMatch`](/documentation/DataDetection/DDMatch)

---

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)