summaryrefslogtreecommitdiff
path: root/taler-wallet.rst
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-08-24 19:22:23 +0530
committerFlorian Dold <florian.dold@gmail.com>2020-08-24 19:22:27 +0530
commitf9b2c3bb7a55fb79cef14eb6845901f43a254a78 (patch)
tree2e2159e601261b75831789b9e8dc75e998008a91 /taler-wallet.rst
parent98f90d33f2b7d9174714257d92905fa5153125bf (diff)
downloaddocs-f9b2c3bb7a55fb79cef14eb6845901f43a254a78.tar.gz
docs-f9b2c3bb7a55fb79cef14eb6845901f43a254a78.tar.bz2
docs-f9b2c3bb7a55fb79cef14eb6845901f43a254a78.zip
type rename
Diffstat (limited to 'taler-wallet.rst')
-rw-r--r--taler-wallet.rst16
1 files changed, 11 insertions, 5 deletions
diff --git a/taler-wallet.rst b/taler-wallet.rst
index 6fa493f8..3c6ca801 100644
--- a/taler-wallet.rst
+++ b/taler-wallet.rst
@@ -337,7 +337,7 @@ Transactions are all operations or events that are affecting the balance.
type: string = "payment",
// Additional information about the payment.
- info: TransactionInfo;
+ info: OrderShortInfo;
// The current status of this payment.
status: PaymentStatus;
@@ -350,9 +350,9 @@ Transactions are all operations or events that are affecting the balance.
amountEffective: Amount;
}
- .. ts:def:: TransactionInfo
+ .. ts:def:: OrderShortInfo
- interface TransactionInfo {
+ interface OrderShortInfo {
// Order ID, uniquely identifies the order within a merchant instance
orderId: string;
@@ -369,7 +369,13 @@ Transactions are all operations or events that are affecting the balance.
products: Product[];
// URL of the fulfillment, given by the merchant
- fulfillmentUrl: string;
+ fulfillmentUrl?: string;
+
+ // Message shown to the user after the payment is complete.
+ fulfillmentMessage?: string;
+
+ // Map from IETF BCP 47 language tags to localized fulfillment messages
+ fulfillmentMessage_i18n: { [lang_tag: string]: string };
}
.. ts:def:: PaymentStatus
@@ -401,7 +407,7 @@ Transactions are all operations or events that are affecting the balance.
refundedTransactionId: string;
// Additional information about the refunded payment
- info: TransactionInfo;
+ info: OrderShortInfo;
// Part of the refund that couldn't be applied because the refund permissions were expired
amountInvalid: Amount;