/* Options: Date: 2026-08-10 21:59:55 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: LaborSalesSummaryRequest.* //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/laborsales/summary", Verbs="GET,OPTIONS") public static class LaborSalesSummaryRequest implements IReturn { public String FromDate = null; public String ToDate = null; public String getFromDate() { return FromDate; } public LaborSalesSummaryRequest setFromDate(String value) { this.FromDate = value; return this; } public String getToDate() { return ToDate; } public LaborSalesSummaryRequest setToDate(String value) { this.ToDate = value; return this; } private static Object responseType = LaborSalesSummaryResponse.class; public Object getResponseType() { return responseType; } } public static class LaborSalesSummaryResponse { public SummaryView Summary = null; public String FromDate = null; public String ToDate = null; public ResponseStatus ResponseStatus = null; public SummaryView getSummary() { return Summary; } public LaborSalesSummaryResponse setSummary(SummaryView value) { this.Summary = value; return this; } public String getFromDate() { return FromDate; } public LaborSalesSummaryResponse setFromDate(String value) { this.FromDate = value; return this; } public String getToDate() { return ToDate; } public LaborSalesSummaryResponse setToDate(String value) { this.ToDate = value; return this; } public ResponseStatus getResponseStatus() { return ResponseStatus; } public LaborSalesSummaryResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; } } public static class SummaryView { public Boolean Configured = null; public Boolean Connected = null; public Boolean NeedsReconnect = null; public String Currency = null; public ArrayList Days = new ArrayList(); public ArrayList Locations = new ArrayList(); public TotalsView Totals = null; public TotalsView PriorTotals = null; public String AttributionNote = null; public Boolean isConfigured() { return Configured; } public SummaryView setConfigured(Boolean value) { this.Configured = value; return this; } public Boolean isConnected() { return Connected; } public SummaryView setConnected(Boolean value) { this.Connected = value; return this; } public Boolean isNeedsReconnect() { return NeedsReconnect; } public SummaryView setNeedsReconnect(Boolean value) { this.NeedsReconnect = value; return this; } public String getCurrency() { return Currency; } public SummaryView setCurrency(String value) { this.Currency = value; return this; } public ArrayList getDays() { return Days; } public SummaryView setDays(ArrayList value) { this.Days = value; return this; } public ArrayList getLocations() { return Locations; } public SummaryView setLocations(ArrayList value) { this.Locations = value; return this; } public TotalsView getTotals() { return Totals; } public SummaryView setTotals(TotalsView value) { this.Totals = value; return this; } public TotalsView getPriorTotals() { return PriorTotals; } public SummaryView setPriorTotals(TotalsView value) { this.PriorTotals = value; return this; } public String getAttributionNote() { return AttributionNote; } public SummaryView setAttributionNote(String value) { this.AttributionNote = value; return this; } } public static class DayView { public String DateIso = null; public BigDecimal GrossSales = null; public Integer TransactionCount = null; public BigDecimal LaborHours = null; public BigDecimal CostedHours = null; public BigDecimal LaborCost = null; public Integer WorkerCount = null; public BigDecimal LaborPct = null; public BigDecimal Splh = null; public String getDateIso() { return DateIso; } public DayView setDateIso(String value) { this.DateIso = value; return this; } public BigDecimal getGrossSales() { return GrossSales; } public DayView setGrossSales(BigDecimal value) { this.GrossSales = value; return this; } public Integer getTransactionCount() { return TransactionCount; } public DayView setTransactionCount(Integer value) { this.TransactionCount = value; return this; } public BigDecimal getLaborHours() { return LaborHours; } public DayView setLaborHours(BigDecimal value) { this.LaborHours = value; return this; } public BigDecimal getCostedHours() { return CostedHours; } public DayView setCostedHours(BigDecimal value) { this.CostedHours = value; return this; } public BigDecimal getLaborCost() { return LaborCost; } public DayView setLaborCost(BigDecimal value) { this.LaborCost = value; return this; } public Integer getWorkerCount() { return WorkerCount; } public DayView setWorkerCount(Integer value) { this.WorkerCount = value; return this; } public BigDecimal getLaborPct() { return LaborPct; } public DayView setLaborPct(BigDecimal value) { this.LaborPct = value; return this; } public BigDecimal getSplh() { return Splh; } public DayView setSplh(BigDecimal value) { this.Splh = value; return this; } } public static class LocationView { public String LocationId = null; public String LocationName = null; public BigDecimal GrossSales = null; public Integer TransactionCount = null; public BigDecimal SharePct = null; public String BranchId = null; public String BranchName = null; public BigDecimal LaborHours = null; public BigDecimal CostedHours = null; public BigDecimal LaborCost = null; public BigDecimal LaborPct = null; public BigDecimal Splh = null; public String getLocationId() { return LocationId; } public LocationView setLocationId(String value) { this.LocationId = value; return this; } public String getLocationName() { return LocationName; } public LocationView setLocationName(String value) { this.LocationName = value; return this; } public BigDecimal getGrossSales() { return GrossSales; } public LocationView setGrossSales(BigDecimal value) { this.GrossSales = value; return this; } public Integer getTransactionCount() { return TransactionCount; } public LocationView setTransactionCount(Integer value) { this.TransactionCount = value; return this; } public BigDecimal getSharePct() { return SharePct; } public LocationView setSharePct(BigDecimal value) { this.SharePct = value; return this; } public String getBranchId() { return BranchId; } public LocationView setBranchId(String value) { this.BranchId = value; return this; } public String getBranchName() { return BranchName; } public LocationView setBranchName(String value) { this.BranchName = value; return this; } public BigDecimal getLaborHours() { return LaborHours; } public LocationView setLaborHours(BigDecimal value) { this.LaborHours = value; return this; } public BigDecimal getCostedHours() { return CostedHours; } public LocationView setCostedHours(BigDecimal value) { this.CostedHours = value; return this; } public BigDecimal getLaborCost() { return LaborCost; } public LocationView setLaborCost(BigDecimal value) { this.LaborCost = value; return this; } public BigDecimal getLaborPct() { return LaborPct; } public LocationView setLaborPct(BigDecimal value) { this.LaborPct = value; return this; } public BigDecimal getSplh() { return Splh; } public LocationView setSplh(BigDecimal value) { this.Splh = value; return this; } } public static class TotalsView { public BigDecimal GrossSales = null; public Integer TransactionCount = null; public BigDecimal LaborHours = null; public BigDecimal CostedHours = null; public BigDecimal LaborCost = null; public BigDecimal LaborPct = null; public BigDecimal Splh = null; public Integer DaysWithSales = null; public Integer DaysWithLabor = null; public BigDecimal getGrossSales() { return GrossSales; } public TotalsView setGrossSales(BigDecimal value) { this.GrossSales = value; return this; } public Integer getTransactionCount() { return TransactionCount; } public TotalsView setTransactionCount(Integer value) { this.TransactionCount = value; return this; } public BigDecimal getLaborHours() { return LaborHours; } public TotalsView setLaborHours(BigDecimal value) { this.LaborHours = value; return this; } public BigDecimal getCostedHours() { return CostedHours; } public TotalsView setCostedHours(BigDecimal value) { this.CostedHours = value; return this; } public BigDecimal getLaborCost() { return LaborCost; } public TotalsView setLaborCost(BigDecimal value) { this.LaborCost = value; return this; } public BigDecimal getLaborPct() { return LaborPct; } public TotalsView setLaborPct(BigDecimal value) { this.LaborPct = value; return this; } public BigDecimal getSplh() { return Splh; } public TotalsView setSplh(BigDecimal value) { this.Splh = value; return this; } public Integer getDaysWithSales() { return DaysWithSales; } public TotalsView setDaysWithSales(Integer value) { this.DaysWithSales = value; return this; } public Integer getDaysWithLabor() { return DaysWithLabor; } public TotalsView setDaysWithLabor(Integer value) { this.DaysWithLabor = value; return this; } } }