summaryrefslogtreecommitdiff
path: root/wallet/src/main/java/net/taler/wallet/transactions/Transactions.kt
diff options
context:
space:
mode:
authorTorsten Grote <t@grobox.de>2023-07-11 11:19:48 -0300
committerTorsten Grote <t@grobox.de>2023-07-11 11:19:48 -0300
commit75d370fdef3d37290a98b2344e53831c68e44bd1 (patch)
tree77f61aee885235ef75b3f0eb4c6148ca3228f4be /wallet/src/main/java/net/taler/wallet/transactions/Transactions.kt
parent13c4700300ff83a88d0f2eabbdb306e94c78c4cc (diff)
downloadtaler-android-75d370fdef3d37290a98b2344e53831c68e44bd1.tar.gz
taler-android-75d370fdef3d37290a98b2344e53831c68e44bd1.tar.bz2
taler-android-75d370fdef3d37290a98b2344e53831c68e44bd1.zip
[wallet] some dd37 fixes after merging
Diffstat (limited to 'wallet/src/main/java/net/taler/wallet/transactions/Transactions.kt')
-rw-r--r--wallet/src/main/java/net/taler/wallet/transactions/Transactions.kt10
1 files changed, 3 insertions, 7 deletions
diff --git a/wallet/src/main/java/net/taler/wallet/transactions/Transactions.kt b/wallet/src/main/java/net/taler/wallet/transactions/Transactions.kt
index 62e458b..b6b3587 100644
--- a/wallet/src/main/java/net/taler/wallet/transactions/Transactions.kt
+++ b/wallet/src/main/java/net/taler/wallet/transactions/Transactions.kt
@@ -42,7 +42,7 @@ import net.taler.wallet.TAG
import net.taler.wallet.backend.TalerErrorCode
import net.taler.wallet.backend.TalerErrorInfo
import net.taler.wallet.cleanExchange
-import net.taler.wallet.transactions.TransactionMajorState.Failed
+import net.taler.wallet.transactions.TransactionMajorState.None
import net.taler.wallet.transactions.TransactionMajorState.Pending
import net.taler.wallet.transactions.WithdrawalDetails.ManualTransfer
import net.taler.wallet.transactions.WithdrawalDetails.TalerBankIntegrationApi
@@ -255,10 +255,6 @@ class TransactionRefund(
override val txActions: List<TransactionAction>,
val refundedTransactionId: String,
val info: TransactionInfo,
- /**
- * Part of the refund that couldn't be applied because the refund permissions were expired
- */
- val amountInvalid: Amount? = null,
override val error: TalerErrorInfo? = null,
override val amountRaw: Amount,
override val amountEffective: Amount,
@@ -476,8 +472,8 @@ class DummyTransaction(
override val timestamp: Timestamp,
override val error: TalerErrorInfo,
) : Transaction() {
- override val txState: TransactionState = TransactionState(Failed)
- override val txActions: List<TransactionAction> = listOf(TransactionAction.Delete)
+ override val txState: TransactionState = TransactionState(None)
+ override val txActions: List<TransactionAction> = emptyList()
override val amountRaw: Amount = Amount.zero("TESTKUDOS")
override val amountEffective: Amount = Amount.zero("TESTKUDOS")
override val icon: Int = R.drawable.ic_bug_report