/* Options: Date: 2024-12-29 03:32:57 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: FinancePaymentsRequest.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/Finance/Payments", "POST") public class FinancePaymentsRequest : IReturn, Codable { public typealias Return = FinancePaymentsResponse public var from_date:Date? public var to_date:Date? required public init(){} } public class FinancePaymentsResponse : Codable { public var responseStatus:ResponseStatus public var payments:[FinancePaymentResponse] = [] public var from_date:Date public var to_date:Date required public init(){} } public class FinancePaymentResponse : Codable { public var paymentUUID:String public var order_id:String public var external_payment_id:Int public var added_date:Date public var regent_id:Int public var uuid:String public var amount:Double public var payment_type:String public var is_pushed_to_gl:Bool public var current_status:String public var current_status_date:Date? required public init(){} }