/* Options: Date: 2026-10-13 00:47:30 SwiftVersion: 6.0 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.dev.dynamics.trendsic.com //BaseClass: //AddModelExtensions: True //AddServiceStackTypes: True //MakePropertiesOptional: True IncludeTypes: CourierDriverPayRequest.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/v1/worker/dispatch/od/pay", "GET,OPTIONS") public class CourierDriverPayRequest : IReturn, Codable { public typealias Return = CourierDriverPayResponse required public init(){} } public class CourierDriverPayResponse : Codable { public var rows:[CourierDriverPayRow] = [] public var total:Double? public var available:Bool? public var serverUtc:Date? public var responseStatus:ResponseStatus? required public init(){} } public class CourierDriverPayRow : Codable { public var dispatchLoadID:Int? public var code:String? public var kind:String? public var orderCode:String? public var runCode:String? public var qtyText:String? public var sourceLabel:String? public var destinationLabel:String? public var status:String? public var pay:Double? public var openedUtc:Date? public var closedUtc:Date? public var lines:[CourierPayLineView] = [] required public init(){} } public class CourierPayLineView : Codable { public var dispatchLoadID:Int? public var kind:String? public var label:String? public var qty:Double? public var rate:Double? public var amount:Double? required public init(){} }