summaryrefslogtreecommitdiff
path: root/packages/taler-util/src
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2024-04-15 18:58:53 +0200
committerFlorian Dold <florian@dold.me>2024-04-15 18:59:04 +0200
commitfc77825639c5da6d4c9a209ad8cf6df77c96fbae (patch)
tree765a6f4f6cf52d62f7cbb3daed23b858df23f9dc /packages/taler-util/src
parentffd2e70fec069441d56db73da9fa9c8e0633e0dc (diff)
downloadwallet-core-fc77825639c5da6d4c9a209ad8cf6df77c96fbae.tar.gz
wallet-core-fc77825639c5da6d4c9a209ad8cf6df77c96fbae.tar.bz2
wallet-core-fc77825639c5da6d4c9a209ad8cf6df77c96fbae.zip
wallet-core: remove more remains of rewards
Diffstat (limited to 'packages/taler-util/src')
-rw-r--r--packages/taler-util/src/transactions-types.ts19
1 files changed, 0 insertions, 19 deletions
diff --git a/packages/taler-util/src/transactions-types.ts b/packages/taler-util/src/transactions-types.ts
index bddc03c25..ac4c3d717 100644
--- a/packages/taler-util/src/transactions-types.ts
+++ b/packages/taler-util/src/transactions-types.ts
@@ -214,7 +214,6 @@ export type Transaction =
| TransactionWithdrawal
| TransactionPayment
| TransactionRefund
- | TransactionReward
| TransactionRefresh
| TransactionDeposit
| TransactionPeerPullCredit
@@ -231,7 +230,6 @@ export enum TransactionType {
Payment = "payment",
Refund = "refund",
Refresh = "refresh",
- Reward = "reward",
Deposit = "deposit",
PeerPushDebit = "peer-push-debit",
PeerPushCredit = "peer-push-credit",
@@ -641,23 +639,6 @@ export interface TransactionRefund extends TransactionCommon {
paymentInfo: RefundPaymentInfo | undefined;
}
-export interface TransactionReward extends TransactionCommon {
- type: TransactionType.Reward;
-
- // Raw amount of the tip, without extra fees that apply
- amountRaw: AmountString;
-
- /**
- * More information about the merchant
- */
- // merchant: MerchantInfo;
-
- // Amount will be (or was) added to the wallet's balance after fees and refreshing
- amountEffective: AmountString;
-
- merchantBaseUrl: string;
-}
-
/**
* A transaction shown for refreshes.
* Only shown for (1) refreshes not associated with other transactions