/* Options: Date: 2026-09-05 09:40:53 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.dev.dynamics.trendsic.com //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: DispatchSettlementDeductionRequest.* //ExcludeTypes: //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.* */ import java.math.* import java.util.* import java.io.InputStream import net.servicestack.client.* @Route(Path="/v1/dispatch/settlements/{SettlementId}/deduction", Verbs="PUT,OPTIONS") open class DispatchSettlementDeductionRequest : IReturn { open var SettlementId:Int? = null open var Deduction:DispatchSettlementDeductionView? = null open var Delete:Boolean? = null companion object { private val responseType = DispatchSettlementsResponse::class.java } override fun getResponseType(): Any? = DispatchSettlementDeductionRequest.responseType } open class DispatchSettlementsResponse { open var Settlements:ArrayList = ArrayList() open var Settlement:DispatchSettlementView? = null open var Suggestions:ArrayList = ArrayList() open var ResponseStatus:ResponseStatus? = null } open class DispatchSettlementDeductionView { open var DeductionId:Int? = null open var Kind:String? = null open var Label:String? = null open var Amount:BigDecimal? = null open var Note:String? = null } open class DispatchLoadView { open var LoadId:Int? = null open var Code:String? = null open var Module:String? = null open var TruckLabel:String? = null open var DriverLabel:String? = null open var CarrierLabel:String? = null open var SourceLabel:String? = null open var DestinationLabel:String? = null open var Qty:BigDecimal? = null open var Unit:String? = null open var QtyText:String? = null open var TicketCode:String? = null open var RateApplied:BigDecimal? = null open var RateBasis:String? = null open var Revenue:BigDecimal? = null open var PayPlanLabel:String? = null open var Pay:BigDecimal? = null open var Status:String? = null open var OpenedUtc:Date? = null open var ClosedUtc:Date? = null open var Photos:Int? = null open var Stages:ArrayList = ArrayList() } open class DispatchSettlementView { open var SettlementId:Int? = null open var Code:String? = null open var VendorID:Int? = null open var VendorName:String? = null open var PeriodStart:Date? = null open var PeriodEnd:Date? = null open var LoadCount:Int? = null open var GrossRevenue:BigDecimal? = null open var SplitPct:BigDecimal? = null open var CarrierShare:BigDecimal? = null open var DeductionsTotal:BigDecimal? = null open var Net:BigDecimal? = null open var Status:String? = null open var Notes:String? = null open var GeneratedUtc:Date? = null open var SentUtc:Date? = null open var ApprovedUtc:Date? = null open var ApprovedBy:String? = null open var PaidUtc:Date? = null open var PaidRef:String? = null open var ContactCount:Int? = null open var Deductions:ArrayList = ArrayList() open var Loads:ArrayList = ArrayList() } open class DispatchSettlementSuggestView { open var VendorID:Int? = null open var VendorName:String? = null open var SplitPct:BigDecimal? = null open var Terms:String? = null open var W9OnFile:Boolean? = null open var CoiExpires:Date? = null open var PeriodStart:Date? = null open var PeriodEnd:Date? = null open var UnsettledLoads:Int? = null open var UnpricedLoads:Int? = null open var UnsettledPay:BigDecimal? = null } open class DispatchLoadStageView { open var Stage:String? = null open var AtUtc:Date? = null open var Note:String? = null }