[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-taler-ios] 43/69: currency == ISO 4217
From: |
gnunet |
Subject: |
[taler-taler-ios] 43/69: currency == ISO 4217 |
Date: |
Fri, 19 Jan 2024 09:02:16 +0100 |
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 2d8ca75fc54c536092daf766d400af0a3400c3d3
Author: Marc Stibane <marc@taler.net>
AuthorDate: Sun Jan 7 14:54:46 2024 +0100
currency == ISO 4217
---
TalerWallet1/Backend/WalletBackendRequest.swift | 4 ++--
taler-swift/Sources/taler-swift/Amount.swift | 1 +
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/TalerWallet1/Backend/WalletBackendRequest.swift
b/TalerWallet1/Backend/WalletBackendRequest.swift
index 293269c..9a95db2 100644
--- a/TalerWallet1/Backend/WalletBackendRequest.swift
+++ b/TalerWallet1/Backend/WalletBackendRequest.swift
@@ -31,8 +31,8 @@ struct ScopeInfo: Codable, Hashable {
case auditor
}
var type: ScopeInfoType
- var url: String? // only for "exchange"
- var currency: String
+ var url: String? // only for "exchange"
+ var currency: String // 3-char ISO 4217 code for global currency.
Regional MUST be >= 4 letters
public static func == (lhs: ScopeInfo, rhs: ScopeInfo) -> Bool {
if let lhsBaseURL = lhs.url {
diff --git a/taler-swift/Sources/taler-swift/Amount.swift
b/taler-swift/Sources/taler-swift/Amount.swift
index 301f555..024201c 100644
--- a/taler-swift/Sources/taler-swift/Amount.swift
+++ b/taler-swift/Sources/taler-swift/Amount.swift
@@ -66,6 +66,7 @@ public final class Amount: Codable, Hashable, @unchecked
Sendable, CustomStringC
public static let decimalSeparator = "."
+ /// 3-char ISO 4217 code for global currency. Regional MUST be >= 4 letters
/// The currency of the amount. Cannot be changed later, except...
private var currency: String
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [taler-taler-ios] 28/69: AccountRestriction, (continued)
- [taler-taler-ios] 28/69: AccountRestriction, gnunet, 2024/01/19
- [taler-taler-ios] 60/69: P2P Expiration Timestamp, gnunet, 2024/01/19
- [taler-taler-ios] 26/69: Layout transactions, gnunet, 2024/01/19
- [taler-taler-ios] 51/69: cleanup, gnunet, 2024/01/19
- [taler-taler-ios] 67/69: Bump version to 0.9.4 (0), gnunet, 2024/01/19
- [taler-taler-ios] 68/69: lowercased(), gnunet, 2024/01/19
- [taler-taler-ios] 54/69: Keyboard needs more time, gnunet, 2024/01/19
- [taler-taler-ios] 49/69: accessibilityDate, gnunet, 2024/01/19
- [taler-taler-ios] 46/69: AccountRestriction, gnunet, 2024/01/19
- [taler-taler-ios] 59/69: bugfix, gnunet, 2024/01/19
- [taler-taler-ios] 43/69: currency == ISO 4217,
gnunet <=
- [taler-taler-ios] 56/69: remove "code", since "currency" IS ISO-4217 already for global, gnunet, 2024/01/19
- [taler-taler-ios] 58/69: use scopeInfo, gnunet, 2024/01/19
- [taler-taler-ios] 52/69: return to Balances after tx, gnunet, 2024/01/19
- [taler-taler-ios] 33/69: bars relative to fontSize, gnunet, 2024/01/19
- [taler-taler-ios] 63/69: Locale.preferredLanguageCode, gnunet, 2024/01/19
- [taler-taler-ios] 40/69: Exchange -> Banking, gnunet, 2024/01/19
- [taler-taler-ios] 65/69: Restrictions, gnunet, 2024/01/19
- [taler-taler-ios] 62/69: cleanup, preview, gnunet, 2024/01/19
- [taler-taler-ios] 36/69: b-i-withdrawal hint, gnunet, 2024/01/19
- [taler-taler-ios] 45/69: remove SideBarView, gnunet, 2024/01/19