commit db4fbe0366f00a2c3a090ca60337115019881356
parent ba94f3a24dee901f66af5dd4768d081d77930ccf
Author: Torsten Grote <t@grobox.de>
Date: Wed, 27 Sep 2023 10:47:16 +0200
[wallet] products in TransactionInfo seem to be optional now
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/wallet/src/main/java/net/taler/wallet/transactions/Transactions.kt b/wallet/src/main/java/net/taler/wallet/transactions/Transactions.kt
@@ -236,7 +236,7 @@ class TransactionInfo(
val summary: String,
@SerialName("summary_i18n")
val summaryI18n: Map<String, String>? = null,
- val products: List<ContractProduct>,
+ val products: List<ContractProduct> = emptyList(),
val fulfillmentUrl: String? = null,
/**
* Message shown to the user after the payment is complete.