/* Options: Date: 2026-11-27 01:54:21 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: CourierDriverPayRequest.* //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/worker/dispatch/od/pay", Verbs="GET,OPTIONS") public static class CourierDriverPayRequest implements IReturn { public String Range = null; public String getRange() { return Range; } public CourierDriverPayRequest setRange(String value) { this.Range = value; return this; } private static Object responseType = CourierDriverPayResponse.class; public Object getResponseType() { return responseType; } } public static class CourierDriverPayResponse { public ArrayList Rows = new ArrayList(); public BigDecimal Total = null; public Boolean Available = null; public Date ServerUtc = null; public String Range = null; public Boolean IsHourly = null; public BigDecimal TodayTotal = null; public BigDecimal WeekTotal = null; public BigDecimal TipsToday = null; public BigDecimal TipsWeek = null; public Date WeekStartUtc = null; public Integer WeekStartDay = null; public ArrayList Today = new ArrayList(); public ArrayList Earlier = new ArrayList(); public ArrayList Tips = new ArrayList(); public CourierEarnPlan Plan = null; public Integer PickupsWeek = null; public Integer StopsWeek = null; public BigDecimal HoursToday = null; public BigDecimal HoursWeek = null; public Boolean ClockOn = null; public String ClockSinceText = null; public Boolean HideAddresses = null; public Boolean Detailed = null; public String UnitOne = null; public String UnitMany = null; public String UnitOneEs = null; public String UnitManyEs = null; public ResponseStatus ResponseStatus = null; public ArrayList getRows() { return Rows; } public CourierDriverPayResponse setRows(ArrayList value) { this.Rows = value; return this; } public BigDecimal getTotal() { return Total; } public CourierDriverPayResponse setTotal(BigDecimal value) { this.Total = value; return this; } public Boolean isAvailable() { return Available; } public CourierDriverPayResponse setAvailable(Boolean value) { this.Available = value; return this; } public Date getServerUtc() { return ServerUtc; } public CourierDriverPayResponse setServerUtc(Date value) { this.ServerUtc = value; return this; } public String getRange() { return Range; } public CourierDriverPayResponse setRange(String value) { this.Range = value; return this; } public Boolean getIsHourly() { return IsHourly; } public CourierDriverPayResponse setIsHourly(Boolean value) { this.IsHourly = value; return this; } public BigDecimal getTodayTotal() { return TodayTotal; } public CourierDriverPayResponse setTodayTotal(BigDecimal value) { this.TodayTotal = value; return this; } public BigDecimal getWeekTotal() { return WeekTotal; } public CourierDriverPayResponse setWeekTotal(BigDecimal value) { this.WeekTotal = value; return this; } public BigDecimal getTipsToday() { return TipsToday; } public CourierDriverPayResponse setTipsToday(BigDecimal value) { this.TipsToday = value; return this; } public BigDecimal getTipsWeek() { return TipsWeek; } public CourierDriverPayResponse setTipsWeek(BigDecimal value) { this.TipsWeek = value; return this; } public Date getWeekStartUtc() { return WeekStartUtc; } public CourierDriverPayResponse setWeekStartUtc(Date value) { this.WeekStartUtc = value; return this; } public Integer getWeekStartDay() { return WeekStartDay; } public CourierDriverPayResponse setWeekStartDay(Integer value) { this.WeekStartDay = value; return this; } public ArrayList getToday() { return Today; } public CourierDriverPayResponse setToday(ArrayList value) { this.Today = value; return this; } public ArrayList getEarlier() { return Earlier; } public CourierDriverPayResponse setEarlier(ArrayList value) { this.Earlier = value; return this; } public ArrayList getTips() { return Tips; } public CourierDriverPayResponse setTips(ArrayList value) { this.Tips = value; return this; } public CourierEarnPlan getPlan() { return Plan; } public CourierDriverPayResponse setPlan(CourierEarnPlan value) { this.Plan = value; return this; } public Integer getPickupsWeek() { return PickupsWeek; } public CourierDriverPayResponse setPickupsWeek(Integer value) { this.PickupsWeek = value; return this; } public Integer getStopsWeek() { return StopsWeek; } public CourierDriverPayResponse setStopsWeek(Integer value) { this.StopsWeek = value; return this; } public BigDecimal getHoursToday() { return HoursToday; } public CourierDriverPayResponse setHoursToday(BigDecimal value) { this.HoursToday = value; return this; } public BigDecimal getHoursWeek() { return HoursWeek; } public CourierDriverPayResponse setHoursWeek(BigDecimal value) { this.HoursWeek = value; return this; } public Boolean isClockOn() { return ClockOn; } public CourierDriverPayResponse setClockOn(Boolean value) { this.ClockOn = value; return this; } public String getClockSinceText() { return ClockSinceText; } public CourierDriverPayResponse setClockSinceText(String value) { this.ClockSinceText = value; return this; } public Boolean isHideAddresses() { return HideAddresses; } public CourierDriverPayResponse setHideAddresses(Boolean value) { this.HideAddresses = value; return this; } public Boolean isDetailed() { return Detailed; } public CourierDriverPayResponse setDetailed(Boolean value) { this.Detailed = value; return this; } public String getUnitOne() { return UnitOne; } public CourierDriverPayResponse setUnitOne(String value) { this.UnitOne = value; return this; } public String getUnitMany() { return UnitMany; } public CourierDriverPayResponse setUnitMany(String value) { this.UnitMany = value; return this; } public String getUnitOneEs() { return UnitOneEs; } public CourierDriverPayResponse setUnitOneEs(String value) { this.UnitOneEs = value; return this; } public String getUnitManyEs() { return UnitManyEs; } public CourierDriverPayResponse setUnitManyEs(String value) { this.UnitManyEs = value; return this; } public ResponseStatus getResponseStatus() { return ResponseStatus; } public CourierDriverPayResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; } } public static class CourierDriverPayRow { public Integer DispatchLoadID = null; public String Code = null; public String Kind = null; public String OrderCode = null; public String RunCode = null; public String QtyText = null; public String SourceLabel = null; public String DestinationLabel = null; public String Status = null; public BigDecimal Pay = null; public Date OpenedUtc = null; public Date ClosedUtc = null; public ArrayList Lines = new ArrayList(); public Integer getDispatchLoadID() { return DispatchLoadID; } public CourierDriverPayRow setDispatchLoadID(Integer value) { this.DispatchLoadID = value; return this; } public String getCode() { return Code; } public CourierDriverPayRow setCode(String value) { this.Code = value; return this; } public String getKind() { return Kind; } public CourierDriverPayRow setKind(String value) { this.Kind = value; return this; } public String getOrderCode() { return OrderCode; } public CourierDriverPayRow setOrderCode(String value) { this.OrderCode = value; return this; } public String getRunCode() { return RunCode; } public CourierDriverPayRow setRunCode(String value) { this.RunCode = value; return this; } public String getQtyText() { return QtyText; } public CourierDriverPayRow setQtyText(String value) { this.QtyText = value; return this; } public String getSourceLabel() { return SourceLabel; } public CourierDriverPayRow setSourceLabel(String value) { this.SourceLabel = value; return this; } public String getDestinationLabel() { return DestinationLabel; } public CourierDriverPayRow setDestinationLabel(String value) { this.DestinationLabel = value; return this; } public String getStatus() { return Status; } public CourierDriverPayRow setStatus(String value) { this.Status = value; return this; } public BigDecimal getPay() { return Pay; } public CourierDriverPayRow setPay(BigDecimal value) { this.Pay = value; return this; } public Date getOpenedUtc() { return OpenedUtc; } public CourierDriverPayRow setOpenedUtc(Date value) { this.OpenedUtc = value; return this; } public Date getClosedUtc() { return ClosedUtc; } public CourierDriverPayRow setClosedUtc(Date value) { this.ClosedUtc = value; return this; } public ArrayList getLines() { return Lines; } public CourierDriverPayRow setLines(ArrayList value) { this.Lines = value; return this; } } public static class CourierEarnRow { public String Kind = null; public String LineKind = null; public Date AtUtc = null; public String TimeText = null; public Integer DayIdx = null; public Integer FromDayIdx = null; public Integer ToDayIdx = null; public Boolean OnToday = null; public Integer Count = null; public Integer Units = null; public Integer Seq = null; public String Street = null; public String City = null; public String Zip = null; public BigDecimal Amount = null; public BigDecimal Hours = null; public String Code = null; public String RunCode = null; public BigDecimal Qty = null; public BigDecimal Rate = null; public String Label = null; public String getKind() { return Kind; } public CourierEarnRow setKind(String value) { this.Kind = value; return this; } public String getLineKind() { return LineKind; } public CourierEarnRow setLineKind(String value) { this.LineKind = value; return this; } public Date getAtUtc() { return AtUtc; } public CourierEarnRow setAtUtc(Date value) { this.AtUtc = value; return this; } public String getTimeText() { return TimeText; } public CourierEarnRow setTimeText(String value) { this.TimeText = value; return this; } public Integer getDayIdx() { return DayIdx; } public CourierEarnRow setDayIdx(Integer value) { this.DayIdx = value; return this; } public Integer getFromDayIdx() { return FromDayIdx; } public CourierEarnRow setFromDayIdx(Integer value) { this.FromDayIdx = value; return this; } public Integer getToDayIdx() { return ToDayIdx; } public CourierEarnRow setToDayIdx(Integer value) { this.ToDayIdx = value; return this; } public Boolean isOnToday() { return OnToday; } public CourierEarnRow setOnToday(Boolean value) { this.OnToday = value; return this; } public Integer getCount() { return Count; } public CourierEarnRow setCount(Integer value) { this.Count = value; return this; } public Integer getUnits() { return Units; } public CourierEarnRow setUnits(Integer value) { this.Units = value; return this; } public Integer getSeq() { return Seq; } public CourierEarnRow setSeq(Integer value) { this.Seq = value; return this; } public String getStreet() { return Street; } public CourierEarnRow setStreet(String value) { this.Street = value; return this; } public String getCity() { return City; } public CourierEarnRow setCity(String value) { this.City = value; return this; } public String getZip() { return Zip; } public CourierEarnRow setZip(String value) { this.Zip = value; return this; } public BigDecimal getAmount() { return Amount; } public CourierEarnRow setAmount(BigDecimal value) { this.Amount = value; return this; } public BigDecimal getHours() { return Hours; } public CourierEarnRow setHours(BigDecimal value) { this.Hours = value; return this; } public String getCode() { return Code; } public CourierEarnRow setCode(String value) { this.Code = value; return this; } public String getRunCode() { return RunCode; } public CourierEarnRow setRunCode(String value) { this.RunCode = value; return this; } public BigDecimal getQty() { return Qty; } public CourierEarnRow setQty(BigDecimal value) { this.Qty = value; return this; } public BigDecimal getRate() { return Rate; } public CourierEarnRow setRate(BigDecimal value) { this.Rate = value; return this; } public String getLabel() { return Label; } public CourierEarnRow setLabel(String value) { this.Label = value; return this; } } public static class CourierEarnPlan { public String Name = null; public String WorkerClass = null; public BigDecimal PerPickup = null; public BigDecimal PerStop = null; public BigDecimal PerMissed = null; public BigDecimal PerCancel = null; public Integer WaitAfterMin = null; public BigDecimal WaitPerMin = null; public Integer MaxPaidWaitMin = null; public Boolean MileageOn = null; public BigDecimal PerMile = null; public BigDecimal MinPerJob = null; public BigDecimal TipsPct = null; public String getName() { return Name; } public CourierEarnPlan setName(String value) { this.Name = value; return this; } public String getWorkerClass() { return WorkerClass; } public CourierEarnPlan setWorkerClass(String value) { this.WorkerClass = value; return this; } public BigDecimal getPerPickup() { return PerPickup; } public CourierEarnPlan setPerPickup(BigDecimal value) { this.PerPickup = value; return this; } public BigDecimal getPerStop() { return PerStop; } public CourierEarnPlan setPerStop(BigDecimal value) { this.PerStop = value; return this; } public BigDecimal getPerMissed() { return PerMissed; } public CourierEarnPlan setPerMissed(BigDecimal value) { this.PerMissed = value; return this; } public BigDecimal getPerCancel() { return PerCancel; } public CourierEarnPlan setPerCancel(BigDecimal value) { this.PerCancel = value; return this; } public Integer getWaitAfterMin() { return WaitAfterMin; } public CourierEarnPlan setWaitAfterMin(Integer value) { this.WaitAfterMin = value; return this; } public BigDecimal getWaitPerMin() { return WaitPerMin; } public CourierEarnPlan setWaitPerMin(BigDecimal value) { this.WaitPerMin = value; return this; } public Integer getMaxPaidWaitMin() { return MaxPaidWaitMin; } public CourierEarnPlan setMaxPaidWaitMin(Integer value) { this.MaxPaidWaitMin = value; return this; } public Boolean isMileageOn() { return MileageOn; } public CourierEarnPlan setMileageOn(Boolean value) { this.MileageOn = value; return this; } public BigDecimal getPerMile() { return PerMile; } public CourierEarnPlan setPerMile(BigDecimal value) { this.PerMile = value; return this; } public BigDecimal getMinPerJob() { return MinPerJob; } public CourierEarnPlan setMinPerJob(BigDecimal value) { this.MinPerJob = value; return this; } public BigDecimal getTipsPct() { return TipsPct; } public CourierEarnPlan setTipsPct(BigDecimal value) { this.TipsPct = value; return this; } } public static class CourierPayLineView { public Integer DispatchLoadID = null; public String Kind = null; public String Label = null; public BigDecimal Qty = null; public BigDecimal Rate = null; public BigDecimal Amount = null; public Integer getDispatchLoadID() { return DispatchLoadID; } public CourierPayLineView setDispatchLoadID(Integer value) { this.DispatchLoadID = value; return this; } public String getKind() { return Kind; } public CourierPayLineView setKind(String value) { this.Kind = value; return this; } public String getLabel() { return Label; } public CourierPayLineView setLabel(String value) { this.Label = value; return this; } public BigDecimal getQty() { return Qty; } public CourierPayLineView setQty(BigDecimal value) { this.Qty = value; return this; } public BigDecimal getRate() { return Rate; } public CourierPayLineView setRate(BigDecimal value) { this.Rate = value; return this; } public BigDecimal getAmount() { return Amount; } public CourierPayLineView setAmount(BigDecimal value) { this.Amount = value; return this; } } }