commit bf96283094522ae7fd558968d807002d6e9d6e7d
parent bf92fe936b548f40a9128529e7303dd33eb5cea3
Author: Christian Grothoff <grothoff@gnunet.org>
Date: Tue, 20 Jan 2026 08:22:59 +0100
vUNIT is also v25
Diffstat:
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/core/api-merchant.rst b/core/api-merchant.rst
@@ -2845,7 +2845,7 @@ Decimal quantities
// Fixed-point decimal string in the form "<integer>[.<fraction>]".
// Fractional part has up to six digits.
// "-1" is only valid for fields that explicitly allow "infinity".
- // Since protocol **vUNIT**; used in template selection since **v25**.
+ // Since protocol **v25**; used in template selection since **v25**.
type DecimalQuantity = string;
@@ -3270,7 +3270,7 @@ Adding products to the inventory
// Zero implies that the product is not sold separately or that the price must be supplied
// by the frontend.
// Each entry must use a distinct currency.
- // Since API version **vUNIT**.
+ // Since API version **v25**.
// Currency uniqueness enforced since protocol **v25**.
unit_price?: Amount[];
@@ -3280,7 +3280,7 @@ Adding products to the inventory
price_is_net?: boolean;
// Legacy price field.
- // Deprecated since **vUNIT**;
+ // Deprecated since **v25**;
// when present it must match the first element of ``unit_price``.
price?: Amount;
@@ -3415,12 +3415,12 @@ Adding products to the inventory
// Zero implies that the product is not sold separately or that the price must be supplied
// by the frontend.
// Each entry must use a distinct currency.
- // Since API version **vUNIT**.
+ // Since API version **v25**.
// Currency uniqueness enforced since protocol **v25**.
unit_price?: Amount[];
// Legacy price field.
- // Deprecated since **vUNIT**;
+ // Deprecated since **v25**;
// when present it must match the first element of ``unit_price``.
price?: Amount;
@@ -3568,7 +3568,7 @@ Inspecting inventory
unit_price: Amount[];
// Legacy price field kept for compatibility.
- // Deprecated since **vUNIT**;
+ // Deprecated since **v25**;
// equal to the first element of ``unit_price``.
price: Amount;
@@ -4388,12 +4388,12 @@ Creating orders
product_id: string;
// Legacy integer quantity.
- // Deprecated since **vUNIT**;
+ // Deprecated since **v25**;
// defaults to 1 if both ``quantity`` and ``unit_quantity`` are absent.
quantity?: Integer;
// Preferred quantity string using "<integer>[.<fraction>]" syntax.
- // @since **vUNIT**;
+ // @since **v25**;
unit_quantity?: string
// Money pot to use for this product, overrides value from
@@ -7561,7 +7561,7 @@ It has the following structure:
unit?: string;
// The price of the product;
- // Deprecated since **vUNIT**;
+ // Deprecated since **v25**;
// this is the total price
// for ``quantity`` times ``unit`` of this product.
price?: Amount;
@@ -7569,7 +7569,7 @@ It has the following structure:
// Price of ``unit_quantity`` units of the product in various currencies.
// Zero or absent implies that the product is not sold
// separately.
- // Since API version **vUNIT**.
+ // Since API version **v25**.
prices?: Amount[];
// True if the ``prices`` given are the net price,