docs: clarify prices are stored in major units (#13897)

* update package

* docs: clarify prices are stored in major units

* revert change

* revert change

---------

Co-authored-by: adrien2p <adrien.deperetti@gmail.com>
This commit is contained in:
Shahed Nasser
2025-10-31 13:29:37 +02:00
committed by GitHub
co-authored by adrien2p
parent 38d486bec0
commit 3518ba1694
5 changed files with 8 additions and 8 deletions
@@ -10,7 +10,7 @@ In this guide, youll learn about the main concepts in the Pricing Module.
The [Price](/references/pricing/models/Price) data model represents a specific price for a resource. For example, the price of a product variant in the USD currency.
The `Price` data model has an `amount` property that represents the monetary value of the price. It's stored as an integer in base or major units. For example, `$20.00` is stored as `20`, and `$20.5` is stored as `20.5`.
The `Price` data model has an `amount` property that represents the monetary value of the price. It's stored as an integer in major units. For example, `$20.00` is stored as `20`, and `$20.5` is stored as `20.5`.
The `Price` data model belongs to other data models like `PriceSet` and `PriceList` to provide a variety of pricing features, as explained below.