/* Options: Date: 2024-12-03 12:19:27 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: DSInitializeRequest.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/DSInitialize", "Put") public class DSInitializeRequest : IReturn, Codable { public typealias Return = DSInitialize public var credentials:RequestorCredentials public var scope:DataStoreFor required public init(){} } public class DSInitialize : 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 }