aboutsummaryrefslogtreecommitdiff
path: root/merchant-lib/src
diff options
context:
space:
mode:
authorTorsten Grote <t@grobox.de>2021-02-05 11:07:09 -0300
committerTorsten Grote <t@grobox.de>2021-02-05 11:07:09 -0300
commite07a00ed65262f5142ecd46d3f9df6672b28fbb3 (patch)
treebde2d90f8bb4eff673d5612450fb484628dea1b1 /merchant-lib/src
parent67b6defb1e7d1274d727b4db8ea28fcb98d52384 (diff)
downloadtaler-android-e07a00ed65262f5142ecd46d3f9df6672b28fbb3.tar.gz
taler-android-e07a00ed65262f5142ecd46d3f9df6672b28fbb3.tar.bz2
taler-android-e07a00ed65262f5142ecd46d3f9df6672b28fbb3.zip
[merchant-lib] Support claimed orders
Diffstat (limited to 'merchant-lib/src')
-rw-r--r--merchant-lib/src/main/java/net/taler/merchantlib/Orders.kt6
1 files changed, 6 insertions, 0 deletions
diff --git a/merchant-lib/src/main/java/net/taler/merchantlib/Orders.kt b/merchant-lib/src/main/java/net/taler/merchantlib/Orders.kt
index 9242df3..166ca3c 100644
--- a/merchant-lib/src/main/java/net/taler/merchantlib/Orders.kt
+++ b/merchant-lib/src/main/java/net/taler/merchantlib/Orders.kt
@@ -52,6 +52,12 @@ sealed class CheckPaymentResponse: CustomClassDiscriminator {
) : CheckPaymentResponse()
@Serializable
+ @SerialName("claimed")
+ data class Claimed(
+ override val paid: Boolean = false,
+ ) : CheckPaymentResponse()
+
+ @Serializable
@SerialName("paid")
data class Paid(
override val paid: Boolean = true,