summaryrefslogtreecommitdiff
path: root/src/include/taler_signatures.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-04-20 01:50:26 +0200
committerChristian Grothoff <christian@grothoff.org>2016-04-20 01:50:26 +0200
commitf693e25793f9e8f75b80b11b066ed209e8aa4c1c (patch)
tree07bd275d003080389d67ed142b7673bab469c40f /src/include/taler_signatures.h
parent1d8da4bf8442e4864e877a665c876d0cd5e03de8 (diff)
downloadexchange-f693e25793f9e8f75b80b11b066ed209e8aa4c1c.tar.gz
exchange-f693e25793f9e8f75b80b11b066ed209e8aa4c1c.tar.bz2
exchange-f693e25793f9e8f75b80b11b066ed209e8aa4c1c.zip
introduce refund fee
Diffstat (limited to 'src/include/taler_signatures.h')
-rw-r--r--src/include/taler_signatures.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/include/taler_signatures.h b/src/include/taler_signatures.h
index bd892e793..154e11610 100644
--- a/src/include/taler_signatures.h
+++ b/src/include/taler_signatures.h
@@ -640,6 +640,13 @@ struct TALER_DenominationKeyValidityPS
struct TALER_AmountNBO fee_refresh;
/**
+ * The fee the exchange charges when a coin of this type is refunded.
+ * (can be zero). Note that refund fees are charged to the customer;
+ * if a refund is given, the deposit fee is also refunded.
+ */
+ struct TALER_AmountNBO fee_refund;
+
+ /**
* Hash code of the denomination public key. (Used to avoid having
* the variable-size RSA key in this struct.)
*/
@@ -736,6 +743,12 @@ struct TALER_ExchangeKeyValidityPS
struct TALER_AmountNBO fee_refresh;
/**
+ * The fee the exchange charges when a coin of this type is refreshed.
+ * (can be zero).
+ */
+ struct TALER_AmountNBO fee_refund;
+
+ /**
* Hash code of the denomination public key. (Used to avoid having
* the variable-size RSA key in this struct.)
*/