[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-docs] branch master updated: add clear sum type discriminator to
From: |
gnunet |
Subject: |
[taler-docs] branch master updated: add clear sum type discriminator to make parsing in TS/Kotlin easier |
Date: |
Wed, 22 Jul 2020 11:39:07 +0200 |
This is an automated email from the git hooks/post-receive script.
dold pushed a commit to branch master
in repository docs.
The following commit(s) were added to refs/heads/master by this push:
new 8fa1486 add clear sum type discriminator to make parsing in TS/Kotlin
easier
8fa1486 is described below
commit 8fa1486bd944d3ebc24d1deef245b93f86051319
Author: Florian Dold <florian.dold@gmail.com>
AuthorDate: Wed Jul 22 15:09:00 2020 +0530
add clear sum type discriminator to make parsing in TS/Kotlin easier
---
core/api-merchant.rst | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/core/api-merchant.rst b/core/api-merchant.rst
index e1de4a6..516163d 100644
--- a/core/api-merchant.rst
+++ b/core/api-merchant.rst
@@ -1375,6 +1375,8 @@ Payment processing
// Details about why a refund failed.
interface RefundFailure {
+ // Used as tag for the sum type RefundStatus sum type.
+ success: false;
// HTTP status of the exchange request, must NOT be 200.
exchange_status: Integer;
@@ -1403,6 +1405,8 @@ Payment processing
// (``h_contract_terms`` and ``merchant_pub``) are already known
// to the wallet and thus not included.
interface RefundConfirmation {
+ // Used as tag for the sum type RefundStatus sum type.
+ success: true;
// HTTP status of the exchange request, 200 (integer) required for
refund confirmations.
exchange_status: 200;
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-docs] branch master updated: add clear sum type discriminator to make parsing in TS/Kotlin easier,
gnunet <=