summaryrefslogtreecommitdiff
path: root/design-documents
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2022-04-25 23:55:20 +0200
committerFlorian Dold <florian@dold.me>2022-04-25 23:55:20 +0200
commit9983421472ca332e9a689ae53692c31e45e561dc (patch)
tree5b02d239ed57d53d36fb5328124f6676e712911b /design-documents
parent7da757b4ef3b30989913bac97072bb07aa77e4b2 (diff)
downloaddocs-9983421472ca332e9a689ae53692c31e45e561dc.tar.gz
docs-9983421472ca332e9a689ae53692c31e45e561dc.tar.bz2
docs-9983421472ca332e9a689ae53692c31e45e561dc.zip
age restriction: fix minimum age field name
Diffstat (limited to 'design-documents')
-rw-r--r--design-documents/024-age-restriction.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/design-documents/024-age-restriction.rst b/design-documents/024-age-restriction.rst
index 107ba710..ac4a7e15 100644
--- a/design-documents/024-age-restriction.rst
+++ b/design-documents/024-age-restriction.rst
@@ -418,7 +418,7 @@ minimum age in response to order claim by the wallet, that is, a POST to
``[/instances/$INSTANCE]/orders/$ORDER_ID/claim``.
The object ``ContractTerms`` is extended by an optional field
-``required_minimum_age`` that can be any integer greater than 0. In reality
+``minimum_age`` that can be any integer greater than 0. In reality
this value will not be smaller than, say, 8, and not larger than, say, 21.
.. ts:def:: ContractTerms
@@ -429,12 +429,12 @@ this value will not be smaller than, say, 8, and not larger than, say, 21.
// If the order requires a minimum age greater than 0, this field is set
// to the integer value of that age. In reality this value will not be
// smaller than, say, 8, and not larger than, say, 21.
- required_minimum_age?: Integer;
+ minimum_age?: Integer;
...
}
-By sending the contract term with the field ``required_minimum_age`` set to an
+By sending the contract term with the field ``minimum_age`` set to an
non-zero integer value, the merchant implicetly signals that it understands the
extension ``age_restriction`` for age restriction from the exchange.
@@ -443,7 +443,7 @@ Making the payment
------------------
If the ``ContractTerms`` had a non-zero value in field
-``required_minimum_age``, the wallet has to provide evidence of that minimum
+``minimum_age``, the wallet has to provide evidence of that minimum
age by
#. *either* using coins which are of denominations that had *no* age support