aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/taler_exchange_service.h8
-rw-r--r--src/include/taler_exchangedb_lib.h7
-rw-r--r--src/include/taler_signatures.h5
3 files changed, 18 insertions, 2 deletions
diff --git a/src/include/taler_exchange_service.h b/src/include/taler_exchange_service.h
index c097dff1a..9e8caab88 100644
--- a/src/include/taler_exchange_service.h
+++ b/src/include/taler_exchange_service.h
@@ -351,11 +351,17 @@ struct TALER_EXCHANGE_WireAggregateFees
struct TALER_EXCHANGE_WireAggregateFees *next;
/**
- * Fee to be paid.
+ * Fee to be paid whenever the exchange wires funds to the merchant.
*/
struct TALER_Amount wire_fee;
/**
+ * Fee to be paid when the exchange closes a reserve and wires funds
+ * back to a customer.
+ */
+ struct TALER_Amount closing_fee;
+
+ /**
* Time when this fee goes into effect (inclusive)
*/
struct GNUNET_TIME_Absolute start_date;
diff --git a/src/include/taler_exchangedb_lib.h b/src/include/taler_exchangedb_lib.h
index 70ae3634a..561738c22 100644
--- a/src/include/taler_exchangedb_lib.h
+++ b/src/include/taler_exchangedb_lib.h
@@ -332,11 +332,16 @@ struct TALER_EXCHANGEDB_AggregateFees
struct TALER_EXCHANGEDB_AggregateFees *next;
/**
- * Fee to be paid.
+ * Fee to be paid for wire transfers to a merchant.
*/
struct TALER_Amount wire_fee;
/**
+ * Fee to be paid when we close a reserve and send funds back.
+ */
+ struct TALER_Amount closing_fee;
+
+ /**
* Time when this fee goes into effect (inclusive)
*/
struct GNUNET_TIME_Absolute start_date;
diff --git a/src/include/taler_signatures.h b/src/include/taler_signatures.h
index d4c5d864d..70560b4b3 100644
--- a/src/include/taler_signatures.h
+++ b/src/include/taler_signatures.h
@@ -938,6 +938,11 @@ struct TALER_MasterWireFeePS
*/
struct TALER_AmountNBO wire_fee;
+ /**
+ * Closing fee charged when we wire back funds of a reserve.
+ */
+ struct TALER_AmountNBO closing_fee;
+
};