[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-docs] branch master updated: use strings as union tag
From: |
gnunet |
Subject: |
[taler-docs] branch master updated: use strings as union tag |
Date: |
Fri, 24 Jul 2020 09:11:32 +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 53f0512 use strings as union tag
53f0512 is described below
commit 53f05129075ed4d7e783ca79a54a57d6451b499b
Author: Florian Dold <florian.dold@gmail.com>
AuthorDate: Fri Jul 24 12:41:26 2020 +0530
use strings as union tag
---
core/api-merchant.rst | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/core/api-merchant.rst b/core/api-merchant.rst
index cde9709..7c5e097 100644
--- a/core/api-merchant.rst
+++ b/core/api-merchant.rst
@@ -1105,7 +1105,7 @@ Payment processing
// Details about why a refund failed.
interface MerchantAbortPayRefundFailureStatus {
// Used as tag for the sum type RefundStatus sum type.
- success: false;
+ type: "failure"
// HTTP status of the exchange request, must NOT be 200.
exchange_status: Integer;
@@ -1124,7 +1124,7 @@ Payment processing
// to the wallet and thus not included.
interface MerchantAbortPayRefundSuccessStatus {
// Used as tag for the sum type MerchantCoinRefundStatus sum type.
- success: true;
+ type: "success"
// HTTP status of the exchange request, 200 (integer) required for
refund confirmations.
exchange_status: 200;
@@ -1219,7 +1219,7 @@ Payment processing
interface CheckPaymentPaidResponse {
// did the customer pay for this contract
- paid: true;
+ status: "paid";
// Was the payment refunded (even partially)
refunded: boolean;
@@ -1262,7 +1262,7 @@ Payment processing
.. ts:def:: CheckPaymentUnpaidResponse
interface CheckPaymentUnpaidResponse {
- paid: false;
+ status: "unpaid";
// URI that the wallet must process to complete the payment.
taler_pay_uri: string;
@@ -1409,7 +1409,7 @@ Payment processing
// Details about why a refund failed.
interface MerchantCoinRefundFailureStatus {
// Used as tag for the sum type RefundStatus sum type.
- success: false;
+ type: "failure";
// HTTP status of the exchange request, must NOT be 200.
exchange_status: Integer;
@@ -1439,7 +1439,7 @@ Payment processing
// to the wallet and thus not included.
interface RefundConfirmation {
// Used as tag for the sum type MerchantCoinRefundStatus sum type.
- success: true;
+ type: "success";
// 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: use strings as union tag,
gnunet <=