/* Options: Date: 2025-09-14 14:28:25 SwiftVersion: 6.0 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bookmore.com //BaseClass: //AddModelExtensions: True //AddServiceStackTypes: True //MakePropertiesOptional: True IncludeTypes: TestPaysonApiSettings.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: False //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/payment/payson/apisettings/test", "POST") // @ValidateRequest(Validator="IsAuthenticated") public class TestPaysonApiSettings : IReturn, ICompany, Codable { public typealias Return = PaysonApiSettingsTestResponse /** * The company id, if empty will use the company id for the user you are logged in with. */ // @ApiMember(Description="The company id, if empty will use the company id for the user you are logged in with.") public var companyId:String? /** * The payson security user id */ // @ApiMember(Description="The payson security user id") public var securityUserId:String? /** * The payson security user password */ // @ApiMember(Description="The payson security user password") public var securityPassword:String? /** * The payson receiver email */ // @ApiMember(Description="The payson receiver email") public var receiverEmail:String? /** * The payson receiver firstname */ // @ApiMember(Description="The payson receiver firstname") public var receiverFirstname:String? /** * The payson receiver lastname */ // @ApiMember(Description="The payson receiver lastname") public var receiverLastname:String? required public init(){} } public class PaysonApiSettingsTestResponse : Codable { /** * If the settings works or not */ // @ApiMember(Description="If the settings works or not") public var success:Bool? required public init(){} } public protocol ICompany { var companyId:String? { get set } }