/* Options: Date: 2024-12-03 18:34:58 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: UpdateEAccountingSettingsQuery.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/eaccounting/settings", "PUT") public class UpdateEAccountingSettingsQuery : IReturn, ICompany, Codable { public typealias Return = EAccountingSettingsQueryResponse /** * Article id for 25% VAT in e-accounting system */ // @ApiMember(Description="Article id for 25% VAT in e-accounting system") public var defaultArticle25PercentVat:String /** * Article id for 12% VAT in e-accounting system */ // @ApiMember(Description="Article id for 12% VAT in e-accounting system") public var defaultArticle12PercentVat:String /** * Article id for 6% VAT in e-accounting system */ // @ApiMember(Description="Article id for 6% VAT in e-accounting system") public var defaultArticle6PercentVat:String /** * Default invoice create type for invoice creation */ // @ApiMember(Description="Default invoice create type for invoice creation") public var defaultCreateType:String /** * Determines wether e-accounting intergration is active or not */ // @ApiMember(Description="Determines wether e-accounting intergration is active or not") public var eAccountingIntegrationActive:Bool /** * Default terms of payment value for invoice creation */ // @ApiMember(Description="Default terms of payment value for invoice creation") public var defaultTermsOfPaymentId:String /** * E-Accounting settings company Id. */ // @ApiMember(Description="E-Accounting settings company Id.") public var companyId:String? required public init(){} } public class EAccountingSettingsQueryResponse : Codable { public var companyId:String? public var active:Bool public var defaultArticle6PercentVat:String public var defaultArticle12PercentVat:Double public var defaultArticle25PercentVat:Double public var defaultCreateType:String public var defaultTermsOfPaymentId:String required public init(){} } public protocol ICompany { var companyId:String? { get set } }