Skip to content

TCurrency

The TCurrency object represents a currency available in the shop with its configuration and metadata.

Properties

code

Type: TCurrencyIsoCode

The currency code in ISO 4217 format (e.g., "USD", "EUR", "PLN").

name

Type: string

The full name of the currency.

symbol

Type: string

The currency symbol or representation (e.g., "$", "€", "zł").

Example

const currency: TCurrency = {
    code: 'PLN',
    name: 'Polish Zloty',
    symbol: 'zł'
};