/* Options: Date: 2024-12-03 12:36:49 SwiftVersion: 5.0 Version: 6.10 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.paysecure.acculynk.net //BaseClass: //AddModelExtensions: True //AddServiceStackTypes: True IncludeTypes: DataStoreRequest.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack public class DataStoreRequest : IReturn, Codable { public typealias Return = DataStore public var credentials:RequestorCredentials public var scope:DataStoreFor required public init(){} } public class DataStore : Codable { public var errorCode:String public var errorMessage:String required public init(){} } public class RequestorCredentials : Codable { // @Required() public var merchantId:String? // @Required() public var userName:String? // @Required() public var password:String? // @Required() public var version:String? required public init(){} } public class DataStoreFor : Codable { public var storeScope:DataStoreScope public var value:String required public init(){} } public enum DataStoreScope : String, Codable { case AllMerchants case SingleMerchant }