/* Options: Date: 2026-09-05 08:31:59 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.dev.dynamics.trendsic.com //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: DispatchSettlementsRequest.* //ExcludeTypes: //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.*; public class dtos { @Route(Path="/v1/dispatch/settlements", Verbs="GET,OPTIONS") public static class DispatchSettlementsRequest implements IReturn { private static Object responseType = DispatchSettlementsResponse.class; public Object getResponseType() { return responseType; } } public static class DispatchSettlementsResponse { public ArrayList Settlements = new ArrayList(); public DispatchSettlementView Settlement = null; public ArrayList Suggestions = new ArrayList(); public ResponseStatus ResponseStatus = null; public ArrayList getSettlements() { return Settlements; } public DispatchSettlementsResponse setSettlements(ArrayList value) { this.Settlements = value; return this; } public DispatchSettlementView getSettlement() { return Settlement; } public DispatchSettlementsResponse setSettlement(DispatchSettlementView value) { this.Settlement = value; return this; } public ArrayList getSuggestions() { return Suggestions; } public DispatchSettlementsResponse setSuggestions(ArrayList value) { this.Suggestions = value; return this; } public ResponseStatus getResponseStatus() { return ResponseStatus; } public DispatchSettlementsResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; } } public static class DispatchSettlementDeductionView { public Integer DeductionId = null; public String Kind = null; public String Label = null; public BigDecimal Amount = null; public String Note = null; public Integer getDeductionId() { return DeductionId; } public DispatchSettlementDeductionView setDeductionId(Integer value) { this.DeductionId = value; return this; } public String getKind() { return Kind; } public DispatchSettlementDeductionView setKind(String value) { this.Kind = value; return this; } public String getLabel() { return Label; } public DispatchSettlementDeductionView setLabel(String value) { this.Label = value; return this; } public BigDecimal getAmount() { return Amount; } public DispatchSettlementDeductionView setAmount(BigDecimal value) { this.Amount = value; return this; } public String getNote() { return Note; } public DispatchSettlementDeductionView setNote(String value) { this.Note = value; return this; } } public static class DispatchLoadView { public Integer LoadId = null; public String Code = null; public String Module = null; public String TruckLabel = null; public String DriverLabel = null; public String CarrierLabel = null; public String SourceLabel = null; public String DestinationLabel = null; public BigDecimal Qty = null; public String Unit = null; public String QtyText = null; public String TicketCode = null; public BigDecimal RateApplied = null; public String RateBasis = null; public BigDecimal Revenue = null; public String PayPlanLabel = null; public BigDecimal Pay = null; public String Status = null; public Date OpenedUtc = null; public Date ClosedUtc = null; public Integer Photos = null; public ArrayList Stages = new ArrayList(); public Integer getLoadId() { return LoadId; } public DispatchLoadView setLoadId(Integer value) { this.LoadId = value; return this; } public String getCode() { return Code; } public DispatchLoadView setCode(String value) { this.Code = value; return this; } public String getModule() { return Module; } public DispatchLoadView setModule(String value) { this.Module = value; return this; } public String getTruckLabel() { return TruckLabel; } public DispatchLoadView setTruckLabel(String value) { this.TruckLabel = value; return this; } public String getDriverLabel() { return DriverLabel; } public DispatchLoadView setDriverLabel(String value) { this.DriverLabel = value; return this; } public String getCarrierLabel() { return CarrierLabel; } public DispatchLoadView setCarrierLabel(String value) { this.CarrierLabel = value; return this; } public String getSourceLabel() { return SourceLabel; } public DispatchLoadView setSourceLabel(String value) { this.SourceLabel = value; return this; } public String getDestinationLabel() { return DestinationLabel; } public DispatchLoadView setDestinationLabel(String value) { this.DestinationLabel = value; return this; } public BigDecimal getQty() { return Qty; } public DispatchLoadView setQty(BigDecimal value) { this.Qty = value; return this; } public String getUnit() { return Unit; } public DispatchLoadView setUnit(String value) { this.Unit = value; return this; } public String getQtyText() { return QtyText; } public DispatchLoadView setQtyText(String value) { this.QtyText = value; return this; } public String getTicketCode() { return TicketCode; } public DispatchLoadView setTicketCode(String value) { this.TicketCode = value; return this; } public BigDecimal getRateApplied() { return RateApplied; } public DispatchLoadView setRateApplied(BigDecimal value) { this.RateApplied = value; return this; } public String getRateBasis() { return RateBasis; } public DispatchLoadView setRateBasis(String value) { this.RateBasis = value; return this; } public BigDecimal getRevenue() { return Revenue; } public DispatchLoadView setRevenue(BigDecimal value) { this.Revenue = value; return this; } public String getPayPlanLabel() { return PayPlanLabel; } public DispatchLoadView setPayPlanLabel(String value) { this.PayPlanLabel = value; return this; } public BigDecimal getPay() { return Pay; } public DispatchLoadView setPay(BigDecimal value) { this.Pay = value; return this; } public String getStatus() { return Status; } public DispatchLoadView setStatus(String value) { this.Status = value; return this; } public Date getOpenedUtc() { return OpenedUtc; } public DispatchLoadView setOpenedUtc(Date value) { this.OpenedUtc = value; return this; } public Date getClosedUtc() { return ClosedUtc; } public DispatchLoadView setClosedUtc(Date value) { this.ClosedUtc = value; return this; } public Integer getPhotos() { return Photos; } public DispatchLoadView setPhotos(Integer value) { this.Photos = value; return this; } public ArrayList getStages() { return Stages; } public DispatchLoadView setStages(ArrayList value) { this.Stages = value; return this; } } public static class DispatchSettlementView { public Integer SettlementId = null; public String Code = null; public Integer VendorID = null; public String VendorName = null; public Date PeriodStart = null; public Date PeriodEnd = null; public Integer LoadCount = null; public BigDecimal GrossRevenue = null; public BigDecimal SplitPct = null; public BigDecimal CarrierShare = null; public BigDecimal DeductionsTotal = null; public BigDecimal Net = null; public String Status = null; public String Notes = null; public Date GeneratedUtc = null; public Date SentUtc = null; public Date ApprovedUtc = null; public String ApprovedBy = null; public Date PaidUtc = null; public String PaidRef = null; public Integer ContactCount = null; public ArrayList Deductions = new ArrayList(); public ArrayList Loads = new ArrayList(); public Integer getSettlementId() { return SettlementId; } public DispatchSettlementView setSettlementId(Integer value) { this.SettlementId = value; return this; } public String getCode() { return Code; } public DispatchSettlementView setCode(String value) { this.Code = value; return this; } public Integer getVendorID() { return VendorID; } public DispatchSettlementView setVendorID(Integer value) { this.VendorID = value; return this; } public String getVendorName() { return VendorName; } public DispatchSettlementView setVendorName(String value) { this.VendorName = value; return this; } public Date getPeriodStart() { return PeriodStart; } public DispatchSettlementView setPeriodStart(Date value) { this.PeriodStart = value; return this; } public Date getPeriodEnd() { return PeriodEnd; } public DispatchSettlementView setPeriodEnd(Date value) { this.PeriodEnd = value; return this; } public Integer getLoadCount() { return LoadCount; } public DispatchSettlementView setLoadCount(Integer value) { this.LoadCount = value; return this; } public BigDecimal getGrossRevenue() { return GrossRevenue; } public DispatchSettlementView setGrossRevenue(BigDecimal value) { this.GrossRevenue = value; return this; } public BigDecimal getSplitPct() { return SplitPct; } public DispatchSettlementView setSplitPct(BigDecimal value) { this.SplitPct = value; return this; } public BigDecimal getCarrierShare() { return CarrierShare; } public DispatchSettlementView setCarrierShare(BigDecimal value) { this.CarrierShare = value; return this; } public BigDecimal getDeductionsTotal() { return DeductionsTotal; } public DispatchSettlementView setDeductionsTotal(BigDecimal value) { this.DeductionsTotal = value; return this; } public BigDecimal getNet() { return Net; } public DispatchSettlementView setNet(BigDecimal value) { this.Net = value; return this; } public String getStatus() { return Status; } public DispatchSettlementView setStatus(String value) { this.Status = value; return this; } public String getNotes() { return Notes; } public DispatchSettlementView setNotes(String value) { this.Notes = value; return this; } public Date getGeneratedUtc() { return GeneratedUtc; } public DispatchSettlementView setGeneratedUtc(Date value) { this.GeneratedUtc = value; return this; } public Date getSentUtc() { return SentUtc; } public DispatchSettlementView setSentUtc(Date value) { this.SentUtc = value; return this; } public Date getApprovedUtc() { return ApprovedUtc; } public DispatchSettlementView setApprovedUtc(Date value) { this.ApprovedUtc = value; return this; } public String getApprovedBy() { return ApprovedBy; } public DispatchSettlementView setApprovedBy(String value) { this.ApprovedBy = value; return this; } public Date getPaidUtc() { return PaidUtc; } public DispatchSettlementView setPaidUtc(Date value) { this.PaidUtc = value; return this; } public String getPaidRef() { return PaidRef; } public DispatchSettlementView setPaidRef(String value) { this.PaidRef = value; return this; } public Integer getContactCount() { return ContactCount; } public DispatchSettlementView setContactCount(Integer value) { this.ContactCount = value; return this; } public ArrayList getDeductions() { return Deductions; } public DispatchSettlementView setDeductions(ArrayList value) { this.Deductions = value; return this; } public ArrayList getLoads() { return Loads; } public DispatchSettlementView setLoads(ArrayList value) { this.Loads = value; return this; } } public static class DispatchSettlementSuggestView { public Integer VendorID = null; public String VendorName = null; public BigDecimal SplitPct = null; public String Terms = null; public Boolean W9OnFile = null; public Date CoiExpires = null; public Date PeriodStart = null; public Date PeriodEnd = null; public Integer UnsettledLoads = null; public Integer UnpricedLoads = null; public BigDecimal UnsettledPay = null; public Integer getVendorID() { return VendorID; } public DispatchSettlementSuggestView setVendorID(Integer value) { this.VendorID = value; return this; } public String getVendorName() { return VendorName; } public DispatchSettlementSuggestView setVendorName(String value) { this.VendorName = value; return this; } public BigDecimal getSplitPct() { return SplitPct; } public DispatchSettlementSuggestView setSplitPct(BigDecimal value) { this.SplitPct = value; return this; } public String getTerms() { return Terms; } public DispatchSettlementSuggestView setTerms(String value) { this.Terms = value; return this; } public Boolean isW9OnFile() { return W9OnFile; } public DispatchSettlementSuggestView setW9OnFile(Boolean value) { this.W9OnFile = value; return this; } public Date getCoiExpires() { return CoiExpires; } public DispatchSettlementSuggestView setCoiExpires(Date value) { this.CoiExpires = value; return this; } public Date getPeriodStart() { return PeriodStart; } public DispatchSettlementSuggestView setPeriodStart(Date value) { this.PeriodStart = value; return this; } public Date getPeriodEnd() { return PeriodEnd; } public DispatchSettlementSuggestView setPeriodEnd(Date value) { this.PeriodEnd = value; return this; } public Integer getUnsettledLoads() { return UnsettledLoads; } public DispatchSettlementSuggestView setUnsettledLoads(Integer value) { this.UnsettledLoads = value; return this; } public Integer getUnpricedLoads() { return UnpricedLoads; } public DispatchSettlementSuggestView setUnpricedLoads(Integer value) { this.UnpricedLoads = value; return this; } public BigDecimal getUnsettledPay() { return UnsettledPay; } public DispatchSettlementSuggestView setUnsettledPay(BigDecimal value) { this.UnsettledPay = value; return this; } } public static class DispatchLoadStageView { public String Stage = null; public Date AtUtc = null; public String Note = null; public String getStage() { return Stage; } public DispatchLoadStageView setStage(String value) { this.Stage = value; return this; } public Date getAtUtc() { return AtUtc; } public DispatchLoadStageView setAtUtc(Date value) { this.AtUtc = value; return this; } public String getNote() { return Note; } public DispatchLoadStageView setNote(String value) { this.Note = value; return this; } } }