Przejdź do głównej zawartości

Currency

Dla: Programista

Typ obiektowyCurrency

A currency the print shop sells in. Orders keep the exchange rate they were priced at (Order.exchangeRate).

Pola

PoleTypOpis
codeString!

ISO 4217 code of the currency, for example EUR.

exchangeRateFloat!

Fallback rate of the currency into the print shop home currency (1 for the home currency), set by the print shop: used only when no rate of the National Bank of Poland is available.

Wymaga zakresu prices:read.

idID!

Identifier of the currency (UUID).

isActiveBoolean!

False when the print shop no longer offers the currency (older orders may still use it).

isDefaultBoolean!

True for the print shop home currency, in which amounts without a currency are expressed.

nameString!

Name of the currency in the print shop.

sortOrderInt!

Position of the currency in the print shop lists, from 0.

symbolString!

Symbol shown next to amounts, for example €.

Używane w