Mercurial > public > simoleon
comparison Simoleon/Models/SupportedPairModel.swift @ 183:d2398f02e1ce
implement unit currency selector
author | Dennis Concepcion Martin <dennisconcepcionmartin@gmail.com> |
---|---|
date | Mon, 20 Dec 2021 12:28:16 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
182:ba3ebe8cefe5 | 183:d2398f02e1ce |
---|---|
1 // | |
2 // SupportedPairModel.swift | |
3 // Simoleon | |
4 // | |
5 // Created by Dennis Concepción Martín on 8/12/21. | |
6 // | |
7 | |
8 import Foundation | |
9 | |
10 struct SupportedPairResponse: Codable { | |
11 var pairs: [SupportedPairResult] | |
12 } | |
13 | |
14 struct SupportedPairResult: Codable, Hashable { | |
15 var fromCurrency: String | |
16 var toCurrency: String | |
17 var symbol: String | |
18 var name: String | |
19 var isCrypto: Int | |
20 } |