/* Options: Date: 2024-07-03 13:43:12 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: EAccountingTermOfPaymentQuery.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/eaccounting/termofpayments", "GET") public class EAccountingTermOfPaymentQuery : IReturn, ICompany, Codable { public typealias Return = EAccountingTermsOfPaymentQueryResponse /** * Payment Term Id in e-accounting. */ // @ApiMember(Description="Payment Term Id in e-accounting.") public var paymentTermId:String /** * 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? required public init(){} } public class EAccountingTermsOfPaymentQueryResponse : Codable { public var id:String public var name:String public var nameEnglish:String public var numberOfDays:Int public var termsOfPaymentTypeId:Int public var termsOfPaymentTypeText:String public var availableForSales:Bool public var availableForPurchase:Bool required public init(){} } public protocol ICompany { var companyId:String? { get set } }