/* Options: Date: 2025-09-13 20:43:49 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: EAccountingTermOfPaymentQuery.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: False //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 } }