gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-taler-ios] 08/09: tosStatus


From: gnunet
Subject: [taler-taler-ios] 08/09: tosStatus
Date: Fri, 07 Jul 2023 11:40:06 +0200

This is an automated email from the git hooks/post-receive script.

marc-stibane pushed a commit to branch master
in repository taler-ios.

commit c310fc1a7d9e9ed26e245d7dc3605a1c7f2f7625
Author: Marc Stibane <marc@taler.net>
AuthorDate: Fri Jul 7 09:31:11 2023 +0200

    tosStatus
---
 TalerWallet1/Model/Model+Withdraw.swift | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/TalerWallet1/Model/Model+Withdraw.swift 
b/TalerWallet1/Model/Model+Withdraw.swift
index 36e7b4d..754c9dd 100644
--- a/TalerWallet1/Model/Model+Withdraw.swift
+++ b/TalerWallet1/Model/Model+Withdraw.swift
@@ -66,9 +66,17 @@ fileprivate struct GetWithdrawalDetailsForAmount: 
WalletBackendFormattedRequest
     }
 }
 // MARK: -
+enum ExchangeTosStatus: String, Codable {
+    case new = "new"
+    case accepted = "accepted"
+    case changed = "changed"
+    case notFound = "not-found"
+    case unknown = "unknown"
+}
 struct ExchangeTermsOfService: Decodable {
     var currentEtag: String
     var acceptedEtag: String?
+    var tosStatus: ExchangeTosStatus
     var contentType: String
     var content: String
 }

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]