gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [taler-api] branch master updated: we don't use 'offer' any


From: gnunet
Subject: [GNUnet-SVN] [taler-api] branch master updated: we don't use 'offer' anymore
Date: Tue, 07 Mar 2017 17:59:19 +0100

This is an automated email from the git hooks/post-receive script.

dold pushed a commit to branch master
in repository api.

The following commit(s) were added to refs/heads/master by this push:
     new 66b71d9  we don't use 'offer' anymore
66b71d9 is described below

commit 66b71d98d38f5d55f9bc86535d65ad25437badf6
Author: Florian Dold <address@hidden>
AuthorDate: Tue Mar 7 17:59:17 2017 +0100

    we don't use 'offer' anymore
---
 api/api-merchant.rst | 18 ++++++++++--------
 1 file changed, 10 insertions(+), 8 deletions(-)

diff --git a/api/api-merchant.rst b/api/api-merchant.rst
index a8a54b4..41f1c36 100644
--- a/api/api-merchant.rst
+++ b/api/api-merchant.rst
@@ -32,7 +32,7 @@ The Frontend HTTP API
 ---------------------
 
   Please refer to the `glossary <https://docs.taler.net/glossary.html>`_ for 
terms
-  like `offer`, `proposal`, `contract`, and others.
+  like `order`, `proposal`, `contract`, and others.
 
 
 .. http:get:: proposal_url
@@ -45,7 +45,7 @@ The Frontend HTTP API
   **Request:**
 
   :query nonce: Any string value.  This value will be
-    included in the offer, so that when the wallet receives the proposal it can
+    included in the proposal, so that when the wallet receives the proposal it 
can
     easily check whether it was the genuine receiver of the proposal it got.
     This value is needed to avoid proposals' replications.
 
@@ -155,6 +155,7 @@ The following API are made available by the merchant's 
`backend` to the merchant
   * `auditors`
   * `H_wire`
   * `merchant_pub`
+  * `timestamp`
 
   The following fields from :ref:`ProposalData`_ are optional and will be 
filled
   in by the backend if not present:
@@ -439,14 +440,15 @@ The proposal
 ------------
 
 The `proposal` is obtained by filling some missing information
-in the `offer`, and then by signing it.  See below.
+in the `order`, and then by signing it.  See below.
 
   .. _tsref-type-Proposal:
   .. code-block:: tsref
 
     interface Proposal {
-      // The offer
-      offer: Offer;
+      // The proposal data, effectively the frontend's order with some data 
filled in
+      // by the merchant backend.
+      data: ProposalData;
 
       // Contract's hash, provided as a convenience.  All components that do
       // not fully trust the merchant must verify this field.
@@ -466,12 +468,12 @@ in the `offer`, and then by signing it.  See below.
   documentation
   
<https://jansson.readthedocs.org/en/2.7/apiref.html?highlight=json_dumps#c.json_dumps>`_.
 
-The `offer` must have the following structure:
+The `proposal data` must have the following structure:
 
-  .. _tsref-type-Offer:
+  .. _tsref-type-ProposalData:
   .. code-block:: tsref
 
-    interface Offer {
+    interface ProposalData {
       // Human-readable description of the whole purchase
       // NOTE: still not implemented
       summary: string;

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]