Skip to content

Money

Defined in: packages/core/src/money.ts:9

A monetary amount in integer minor units (e.g., kuruş for TRY, cents for USD).

Using integers avoids floating-point surprises. Convert to/from major units with moneyFromMajor and moneyToMajor.

amount: number

Defined in: packages/core/src/money.ts:10


currency: string

Defined in: packages/core/src/money.ts:11

Unofficial. Lonca is an independent, community-maintained project — not affiliated with, endorsed by, or supported by Trendyol, Hepsiburada, or any other marketplace. All marketplace names and trademarks belong to their respective owners.