/* Options: Date: 2024-11-21 11:42:49 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: UpdatePaysonApiSettings.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/payment/payson/apisettings/", "PUT") // @ValidateRequest(Validator="IsAuthenticated") public class UpdatePaysonApiSettings : IReturn, ICompany, Codable { public typealias Return = PaysonApiSettingsQueryResponse /** * 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 PaysonApiSettingsQueryResponse : Codable { /** * The company id */ // @ApiMember(Description="The company id") 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 protocol ICompany { var companyId:String? { get set } }