/* Options: Date: 2026-09-05 08:23:05 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: DispatchQuoteAnswerRequest.* //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/quote/{Token}/answer", Verbs="POST,OPTIONS") public static class DispatchQuoteAnswerRequest implements IReturn { public String Token = null; public Boolean Accept = null; public String Reason = null; public String getToken() { return Token; } public DispatchQuoteAnswerRequest setToken(String value) { this.Token = value; return this; } public Boolean isAccept() { return Accept; } public DispatchQuoteAnswerRequest setAccept(Boolean value) { this.Accept = value; return this; } public String getReason() { return Reason; } public DispatchQuoteAnswerRequest setReason(String value) { this.Reason = value; return this; } private static Object responseType = DispatchQuoteResponse.class; public Object getResponseType() { return responseType; } } public static class DispatchQuoteResponse { public DispatchQuoteView Quote = null; public ResponseStatus ResponseStatus = null; public DispatchQuoteView getQuote() { return Quote; } public DispatchQuoteResponse setQuote(DispatchQuoteView value) { this.Quote = value; return this; } public ResponseStatus getResponseStatus() { return ResponseStatus; } public DispatchQuoteResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; } } public static class DispatchQuoteView { public String Code = null; public String CustomerName = null; public String Cargo = null; public Integer Units = null; public String FromLoc = null; public String ToLoc = null; public Integer Miles = null; public String WindowText = null; public Boolean IsUrgent = null; public Integer LoadsNeeded = null; public Integer UnitsPerTruck = null; public BigDecimal RatePerLoad = null; public BigDecimal UrgencyPct = null; public BigDecimal QuoteTotal = null; public Integer QuoteVersion = null; public String Status = null; public Date QuotedUtc = null; public Date ExpiresUtc = null; public String getCode() { return Code; } public DispatchQuoteView setCode(String value) { this.Code = value; return this; } public String getCustomerName() { return CustomerName; } public DispatchQuoteView setCustomerName(String value) { this.CustomerName = value; return this; } public String getCargo() { return Cargo; } public DispatchQuoteView setCargo(String value) { this.Cargo = value; return this; } public Integer getUnits() { return Units; } public DispatchQuoteView setUnits(Integer value) { this.Units = value; return this; } public String getFromLoc() { return FromLoc; } public DispatchQuoteView setFromLoc(String value) { this.FromLoc = value; return this; } public String getToLoc() { return ToLoc; } public DispatchQuoteView setToLoc(String value) { this.ToLoc = value; return this; } public Integer getMiles() { return Miles; } public DispatchQuoteView setMiles(Integer value) { this.Miles = value; return this; } public String getWindowText() { return WindowText; } public DispatchQuoteView setWindowText(String value) { this.WindowText = value; return this; } public Boolean getIsUrgent() { return IsUrgent; } public DispatchQuoteView setIsUrgent(Boolean value) { this.IsUrgent = value; return this; } public Integer getLoadsNeeded() { return LoadsNeeded; } public DispatchQuoteView setLoadsNeeded(Integer value) { this.LoadsNeeded = value; return this; } public Integer getUnitsPerTruck() { return UnitsPerTruck; } public DispatchQuoteView setUnitsPerTruck(Integer value) { this.UnitsPerTruck = value; return this; } public BigDecimal getRatePerLoad() { return RatePerLoad; } public DispatchQuoteView setRatePerLoad(BigDecimal value) { this.RatePerLoad = value; return this; } public BigDecimal getUrgencyPct() { return UrgencyPct; } public DispatchQuoteView setUrgencyPct(BigDecimal value) { this.UrgencyPct = value; return this; } public BigDecimal getQuoteTotal() { return QuoteTotal; } public DispatchQuoteView setQuoteTotal(BigDecimal value) { this.QuoteTotal = value; return this; } public Integer getQuoteVersion() { return QuoteVersion; } public DispatchQuoteView setQuoteVersion(Integer value) { this.QuoteVersion = value; return this; } public String getStatus() { return Status; } public DispatchQuoteView setStatus(String value) { this.Status = value; return this; } public Date getQuotedUtc() { return QuotedUtc; } public DispatchQuoteView setQuotedUtc(Date value) { this.QuotedUtc = value; return this; } public Date getExpiresUtc() { return ExpiresUtc; } public DispatchQuoteView setExpiresUtc(Date value) { this.ExpiresUtc = value; return this; } } }