Mercurial > public > simoleon
comparison Simoleon/Models/CurrencyConversionModel.swift @ 185:2fc95efcb1ee
connect backend
author | Dennis Concepcion Martin <dennisconcepcionmartin@gmail.com> |
---|---|
date | Wed, 22 Dec 2021 16:12:23 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
184:7cb2b0b2b3f3 | 185:2fc95efcb1ee |
---|---|
1 // | |
2 // CurrencyConversionModel.swift | |
3 // Simoleon | |
4 // | |
5 // Created by Dennis Concepción Martín on 21/12/21. | |
6 // | |
7 | |
8 import Foundation | |
9 | |
10 struct CurrencyConversionResponse: Codable { | |
11 var message: [CurrencyConversionResult] | |
12 } | |
13 | |
14 struct CurrencyConversionResult: Codable { | |
15 var rate: Double | |
16 var timestamp: Int | |
17 var amount: Double | |
18 } |