commit ee0c59640938b9aa8b5d5f8fa598db2e7eaf6b1d
parent e4997052e0cc3d7826a844d42e14e26f1fac37cf
Author: Torsten Grote <t@grobox.de>
Date: Tue, 28 Jan 2020 15:26:36 -0300
Use underscores for all location attributes for consistency
Also fix name formatting and move name to the top
Diffstat:
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git 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