aboutsummaryrefslogtreecommitdiff
path: root/taler-kotlin-common/src
diff options
context:
space:
mode:
Diffstat (limited to 'taler-kotlin-common/src')
-rw-r--r--taler-kotlin-common/src/main/java/net/taler/common/ContractTerms.kt2
1 files changed, 2 insertions, 0 deletions
diff --git a/taler-kotlin-common/src/main/java/net/taler/common/ContractTerms.kt b/taler-kotlin-common/src/main/java/net/taler/common/ContractTerms.kt
index c07127a..b891ef7 100644
--- a/taler-kotlin-common/src/main/java/net/taler/common/ContractTerms.kt
+++ b/taler-kotlin-common/src/main/java/net/taler/common/ContractTerms.kt
@@ -82,8 +82,10 @@ data class ContractMerchant(
val name: String
)
+@Serializable
@JsonInclude(NON_EMPTY)
class Timestamp(
+ @SerialName("t_ms")
@JsonProperty("t_ms")
val ms: Long
)