/* Options: Date: 2026-11-08 11:52:04 SwiftVersion: 5.0 Version: 5.140 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://devapi.billhighway.com //BaseClass: //AddModelExtensions: True //AddServiceStackTypes: True IncludeTypes: ExchangeRateBaseParams.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/api/Financial/ExchangeRateBase", "POST") public class ExchangeRateBaseParams : ExchangeRateBaseParams, IReturn { public typealias Return = ExchangeRateBase required public init(){ super.init() } required public init(from decoder: Decoder) throws { try super.init(from: decoder) } public override func encode(to encoder: Encoder) throws { try super.encode(to: encoder) } } public class ExchangeRateBase : Codable { public var exchangeRate:ExchangeRate? public var baseAmount:Double? required public init(){} } public class ExchangeRateBaseParams : Codable { public var processingCurrency:String? public var amountDue:Double? public var baseCurrency:String? required public init(){} } public class ExchangeRate : ILazyLoadMemoryCacheValue, Codable { public var baseCurrency:String? public var foreignCurrency:String? public var rate:Double? public var timeStamp:Date? public var fromCache:Bool? required public init(){} } public protocol ILazyLoadMemoryCacheValue { var fromCache:Bool? { get set } }