summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorsten Grote <t@grobox.de>2020-01-28 15:26:36 -0300
committerTorsten Grote <t@grobox.de>2020-01-28 15:26:36 -0300
commitee0c59640938b9aa8b5d5f8fa598db2e7eaf6b1d (patch)
tree92b91bd7d93c94abbaa757771c57266c3677430f
parente4997052e0cc3d7826a844d42e14e26f1fac37cf (diff)
downloaddocs-ee0c59640938b9aa8b5d5f8fa598db2e7eaf6b1d.tar.gz
docs-ee0c59640938b9aa8b5d5f8fa598db2e7eaf6b1d.tar.bz2
docs-ee0c59640938b9aa8b5d5f8fa598db2e7eaf6b1d.zip
Use underscores for all location attributes for consistency
Also fix name formatting and move name to the top
-rw-r--r--taler-merchant-api-tutorial.rst9
1 files changed, 5 insertions, 4 deletions
diff --git a/taler-merchant-api-tutorial.rst b/taler-merchant-api-tutorial.rst
index bfae7f02..ea8f72b6 100644
--- a/taler-merchant-api-tutorial.rst
+++ b/taler-merchant-api-tutorial.rst
@@ -655,6 +655,9 @@ locations
transmitted) once, and can otherwise be referred to via the label. A
non-exhaustive list of location attributes is the following:
+ name
+ receiver name for delivery, either business or person name.
+
country
Name of the country for delivery, as found on a postal package,
i.e. “France”.
@@ -672,18 +675,16 @@ locations
city
Name of the city for delivery, as found on a postal package.
- ZIP code
+ zip_code
ZIP code for delivery, as found on a postal package.
street
Street name for delivery, as found on a postal package.
- street number
+ street_number
Street number (number of the house) for delivery, as found on a
postal package.
- name receiver name for delivery, either business or person name.
-
Note that locations are not required to specify all of these fields,
and they is also allowed to have additional fields. Contract
renderers must render at least the fields listed above, and should