diff options
author | Torsten Grote <t@grobox.de> | 2021-02-05 11:07:09 -0300 |
---|---|---|
committer | Torsten Grote <t@grobox.de> | 2021-02-05 11:07:09 -0300 |
commit | e07a00ed65262f5142ecd46d3f9df6672b28fbb3 (patch) | |
tree | bde2d90f8bb4eff673d5612450fb484628dea1b1 /merchant-lib/src/main | |
parent | 67b6defb1e7d1274d727b4db8ea28fcb98d52384 (diff) | |
download | taler-android-e07a00ed65262f5142ecd46d3f9df6672b28fbb3.tar.gz taler-android-e07a00ed65262f5142ecd46d3f9df6672b28fbb3.tar.bz2 taler-android-e07a00ed65262f5142ecd46d3f9df6672b28fbb3.zip |
[merchant-lib] Support claimed orders
Diffstat (limited to 'merchant-lib/src/main')
-rw-r--r-- | merchant-lib/src/main/java/net/taler/merchantlib/Orders.kt | 6 |
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, |