/* Options: Date: 2024-12-03 18:23:46 SwiftVersion: 5.0 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bokamera.se //BaseClass: //AddModelExtensions: True //AddServiceStackTypes: True IncludeTypes: TestPaysonApiSettings.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: True //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 } }