diff options
author | Marc Stibane <marc@taler.net> | 2023-12-07 00:16:33 +0100 |
---|---|---|
committer | Marc Stibane <marc@taler.net> | 2023-12-07 00:16:33 +0100 |
commit | 835e740e042f2317f1ae2347e986ceeea7b423a7 (patch) | |
tree | 6a9031353b93ebf1d0eae4b70909d0aca5f9407a | |
parent | b38c0d54de538b7ae46775e77aeab0ef4c5816ae (diff) | |
download | taler-ios-835e740e042f2317f1ae2347e986ceeea7b423a7.tar.gz taler-ios-835e740e042f2317f1ae2347e986ceeea7b423a7.tar.bz2 taler-ios-835e740e042f2317f1ae2347e986ceeea7b423a7.zip |
cleanup
-rw-r--r-- | TalerWallet1/Model/Model+Withdraw.swift | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/TalerWallet1/Model/Model+Withdraw.swift b/TalerWallet1/Model/Model+Withdraw.swift index 8bd558c..52f8355 100644 --- a/TalerWallet1/Model/Model+Withdraw.swift +++ b/TalerWallet1/Model/Model+Withdraw.swift @@ -45,7 +45,6 @@ fileprivate struct GetWithdrawalDetailsForURI: WalletBackendFormattedRequest { // MARK: - /// The result from getWithdrawalDetailsForAmount struct WithdrawalAmountDetails: Decodable { - var tosAccepted: Bool // Did the user accept the current version of the exchange's terms of service? var amountRaw: Amount // Amount that the user will transfer to the exchange var amountEffective: Amount // Amount that will be added to the user's wallet balance var numCoins: Int? // Number of coins this amountEffective will create @@ -68,14 +67,9 @@ fileprivate struct GetWithdrawalDetailsForAmount: WalletBackendFormattedRequest } // MARK: - enum ExchangeTosStatus: String, Codable { - case new = "new" // deprecated -// case accepted = "accepted" // old == new - case changed = "changed" // deprecated - case notFound = "not-found" // deprecated - case unknown = "unknown" // deprecated - case pending // new, but not yet deployed in demo.taler.net - case proposed // new, but not yet deployed in demo.taler.net - case accepted // new == old + case pending + case proposed + case accepted } struct ExchangeTermsOfService: Decodable { var currentEtag: String |