/* Options: Date: 2024-12-29 02:16:14 SwiftVersion: 5.0 Version: 8.22 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://data.regent-college.edu //BaseClass: //AddModelExtensions: True //AddServiceStackTypes: True IncludeTypes: FinancePayableRequest.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/Finance/Payable", "POST") public class FinancePayableRequest : IReturn, Codable { public typealias Return = FinancePayableResponse public var cheque_id:String public var invoice_id:String required public init(){} } public class FinancePayableResponse : Codable { public var cheque_id:String public var invoice_id:String public var batch_id:String public var transaction_batch_id:String public var total_amount:Double public var unapplied_amount:Double public var Description:String public var vendor_id:String public var vendor_name:String public var doc_type:String public var is_posted:Bool public var is_paid:Bool public var is_voided:Bool public var is_reimbursed:Bool public var doc_date:Date? public var post_date:Date? public var cheque_date:Date? public var due_date:Date? public var responseStatus:ResponseStatus required public init(){} }