---
schema_version: "1"
id: 2b90a814a8dea51011222acbce638bd02b270588e57d9e5b369d8d1f4dbd1404
title: CurrencyAmount Class
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_class_RichMessaging_CurrencyAmount.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_RichMessaging_CurrencyAmount.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 32ecb805a6774b5a713f0731f7cb421288bc8092c19f67ff6300d55504431452
description: Represents a monetary amount in a specific currency.The numeric amount value.The ISO currency code of the amount.
---
# CurrencyAmount Class

Represents a monetary amount in a specific currency.

## Namespace

[RichMessaging](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_namespace_RichMessaging.htm "Provides objects and methods for handling content in enhanced Messaging channels.")

- **[CurrencyAmount Properties](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_RichMessaging_CurrencyAmount.htm#apex_RichMessaging_CurrencyAmount_properties)**

## CurrencyAmount Properties

The following are properties for CurrencyAmount.

- **[amount](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_RichMessaging_CurrencyAmount.htm#apex_RichMessaging_CurrencyAmount_amount)**  
    The numeric amount value.
- **[currency](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_RichMessaging_CurrencyAmount.htm#apex_RichMessaging_CurrencyAmount_currency)**  
    The ISO currency code of the amount.

### amount

The numeric amount value.

#### Signature

public Decimal amount {get; set;}

#### Property Value

Type: [Decimal](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_decimal.htm#apex_methods_system_decimal "Contains methods for the Decimal primitive data type.")

### currency

The ISO currency code of the amount.

#### Signature

public String currency {get; set;}

#### Property Value

Type: [String](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_string.htm#apex_methods_system_string "Contains methods for the String primitive data type.")