currencyCode
TypeScriptget currencyCode(): stringSwift declarationlet currencyCode: StringThe ISO 4217 currency code that applies to the monetary amount.
struct · iOS 16.0+ · SDK 27.1
struct IntentCurrencyAmountAn amount of money to transfer during a financial transaction.
get currencyCode(): stringSwift declarationlet currencyCode: StringThe ISO 4217 currency code that applies to the monetary amount.
get displayRepresentation(): DisplayRepresentationSwift declarationvar displayRepresentation: DisplayRepresentation { get }The visual elements to display when presenting an instance of the type.
static get typeDisplayRepresentation(): TypeDisplayRepresentationSwift declarationstatic var typeDisplayRepresentation: TypeDisplayRepresentation { get }A short, localized, human-readable name for the type.
static get defaultResolverSpecification(): EmptyResolverSpecification<IntentCurrencyAmount>Swift declarationstatic var defaultResolverSpecification: EmptyResolverSpecification<IntentCurrencyAmount> { get }static init(amount: _Foundation_Decimal, currencyCode: string): IntentCurrencyAmountSwift declarationinit(amount: Decimal, currencyCode: String)Creates a IntentCurrencyAmount from a monetary amount and a currency code. - Parameters: - amount: monetary amount - currencyCode: ISO 4217 currency code that applies to the monetary amount.
get amount(): _Foundation_DecimalSwift declarationlet amount: DecimalThe monetary amount.
No declarations were skipped in this snapshot.