taler-docs

Documentation for GNU Taler components, APIs and protocols
Log | Files | Refs | README | LICENSE

commit a52f2c77edab063734abcd1cc736367d3d1d4be5
parent e6c3b7bd3ad2c14e4424832a31b74c2e833e3a6c
Author: Christian Grothoff <christian@grothoff.org>
Date:   Sun,  1 Aug 2021 11:41:55 +0200

-update spec following #6942

Diffstat:
Mcore/api-merchant.rst | 7+++----
1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/core/api-merchant.rst b/core/api-merchant.rst @@ -1477,9 +1477,8 @@ Reserving inventory interface LockRequest { // UUID that identifies the frontend performing the lock - // It is suggested that clients use a timeflake for this, - // see https://github.com/anthonynsimon/timeflake - lock_uuid: UUID; + // Must be unique for the lifetime of the lock. + lock_uuid: String; // How long does the frontend intend to hold the lock? duration: RelativeTime; @@ -1603,7 +1602,7 @@ Creating orders // be used in case different UUIDs were used for different // products (i.e. in case the user started with multiple // shopping sessions that were combined during checkout). - lock_uuids?: UUID[]; + lock_uuids: String[]; // Should a token for claiming the order be generated? // False can make sense if the ORDER_ID is sufficiently