/* Options: Date: 2026-09-05 07:50:32 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: DispatchRepriceRequest.* //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/rates/reprice", Verbs="POST,OPTIONS") public static class DispatchRepriceRequest implements IReturn { private static Object responseType = DispatchRatesResponse.class; public Object getResponseType() { return responseType; } } public static class DispatchRatesResponse { public DispatchRateConfigView Config = null; public ArrayList Lanes = new ArrayList(); public ArrayList Zones = new ArrayList(); public ArrayList Plans = new ArrayList(); public Integer Repriced = null; public Integer StillNoRevenue = null; public Integer StillNoPay = null; public ResponseStatus ResponseStatus = null; public DispatchRateConfigView getConfig() { return Config; } public DispatchRatesResponse setConfig(DispatchRateConfigView value) { this.Config = value; return this; } public ArrayList getLanes() { return Lanes; } public DispatchRatesResponse setLanes(ArrayList value) { this.Lanes = value; return this; } public ArrayList getZones() { return Zones; } public DispatchRatesResponse setZones(ArrayList value) { this.Zones = value; return this; } public ArrayList getPlans() { return Plans; } public DispatchRatesResponse setPlans(ArrayList value) { this.Plans = value; return this; } public Integer getRepriced() { return Repriced; } public DispatchRatesResponse setRepriced(Integer value) { this.Repriced = value; return this; } public Integer getStillNoRevenue() { return StillNoRevenue; } public DispatchRatesResponse setStillNoRevenue(Integer value) { this.StillNoRevenue = value; return this; } public Integer getStillNoPay() { return StillNoPay; } public DispatchRatesResponse setStillNoPay(Integer value) { this.StillNoPay = value; return this; } public ResponseStatus getResponseStatus() { return ResponseStatus; } public DispatchRatesResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; } } public static class DispatchRateConfigView { public BigDecimal FuelSurchargePct = null; public BigDecimal TransportPerMile = null; public BigDecimal TransportJobMin = null; public BigDecimal TransportEnclosedUpliftPct = null; public BigDecimal OdBase = null; public BigDecimal OdPerBag = null; public BigDecimal OdPremiumUpliftPct = null; public String HaulBasis = null; public String Facility = null; public String Unit = null; public BigDecimal LoadQty = null; public BigDecimal getFuelSurchargePct() { return FuelSurchargePct; } public DispatchRateConfigView setFuelSurchargePct(BigDecimal value) { this.FuelSurchargePct = value; return this; } public BigDecimal getTransportPerMile() { return TransportPerMile; } public DispatchRateConfigView setTransportPerMile(BigDecimal value) { this.TransportPerMile = value; return this; } public BigDecimal getTransportJobMin() { return TransportJobMin; } public DispatchRateConfigView setTransportJobMin(BigDecimal value) { this.TransportJobMin = value; return this; } public BigDecimal getTransportEnclosedUpliftPct() { return TransportEnclosedUpliftPct; } public DispatchRateConfigView setTransportEnclosedUpliftPct(BigDecimal value) { this.TransportEnclosedUpliftPct = value; return this; } public BigDecimal getOdBase() { return OdBase; } public DispatchRateConfigView setOdBase(BigDecimal value) { this.OdBase = value; return this; } public BigDecimal getOdPerBag() { return OdPerBag; } public DispatchRateConfigView setOdPerBag(BigDecimal value) { this.OdPerBag = value; return this; } public BigDecimal getOdPremiumUpliftPct() { return OdPremiumUpliftPct; } public DispatchRateConfigView setOdPremiumUpliftPct(BigDecimal value) { this.OdPremiumUpliftPct = value; return this; } public String getHaulBasis() { return HaulBasis; } public DispatchRateConfigView setHaulBasis(String value) { this.HaulBasis = value; return this; } public String getFacility() { return Facility; } public DispatchRateConfigView setFacility(String value) { this.Facility = value; return this; } public String getUnit() { return Unit; } public DispatchRateConfigView setUnit(String value) { this.Unit = value; return this; } public BigDecimal getLoadQty() { return LoadQty; } public DispatchRateConfigView setLoadQty(BigDecimal value) { this.LoadQty = value; return this; } } public static class DispatchLaneRateView { public Integer DispatchSiteID = null; public Integer DispatchSupplierID = null; public String SourceLabel = null; public String SupplierName = null; public Integer DispatchLaneRateID = null; public BigDecimal Miles = null; public BigDecimal RatePerTon = null; public BigDecimal RatePerLoad = null; public BigDecimal RatePerTonMile = null; public BigDecimal RatePerHour = null; public Integer getDispatchSiteID() { return DispatchSiteID; } public DispatchLaneRateView setDispatchSiteID(Integer value) { this.DispatchSiteID = value; return this; } public Integer getDispatchSupplierID() { return DispatchSupplierID; } public DispatchLaneRateView setDispatchSupplierID(Integer value) { this.DispatchSupplierID = value; return this; } public String getSourceLabel() { return SourceLabel; } public DispatchLaneRateView setSourceLabel(String value) { this.SourceLabel = value; return this; } public String getSupplierName() { return SupplierName; } public DispatchLaneRateView setSupplierName(String value) { this.SupplierName = value; return this; } public Integer getDispatchLaneRateID() { return DispatchLaneRateID; } public DispatchLaneRateView setDispatchLaneRateID(Integer value) { this.DispatchLaneRateID = value; return this; } public BigDecimal getMiles() { return Miles; } public DispatchLaneRateView setMiles(BigDecimal value) { this.Miles = value; return this; } public BigDecimal getRatePerTon() { return RatePerTon; } public DispatchLaneRateView setRatePerTon(BigDecimal value) { this.RatePerTon = value; return this; } public BigDecimal getRatePerLoad() { return RatePerLoad; } public DispatchLaneRateView setRatePerLoad(BigDecimal value) { this.RatePerLoad = value; return this; } public BigDecimal getRatePerTonMile() { return RatePerTonMile; } public DispatchLaneRateView setRatePerTonMile(BigDecimal value) { this.RatePerTonMile = value; return this; } public BigDecimal getRatePerHour() { return RatePerHour; } public DispatchLaneRateView setRatePerHour(BigDecimal value) { this.RatePerHour = value; return this; } } public static class DispatchZoneRateView { public String Zone = null; public Integer DispatchZoneRateID = null; public BigDecimal Base = null; public BigDecimal PerBag = null; public BigDecimal PremiumUpliftPct = null; public Integer Drivers = null; public String getZone() { return Zone; } public DispatchZoneRateView setZone(String value) { this.Zone = value; return this; } public Integer getDispatchZoneRateID() { return DispatchZoneRateID; } public DispatchZoneRateView setDispatchZoneRateID(Integer value) { this.DispatchZoneRateID = value; return this; } public BigDecimal getBase() { return Base; } public DispatchZoneRateView setBase(BigDecimal value) { this.Base = value; return this; } public BigDecimal getPerBag() { return PerBag; } public DispatchZoneRateView setPerBag(BigDecimal value) { this.PerBag = value; return this; } public BigDecimal getPremiumUpliftPct() { return PremiumUpliftPct; } public DispatchZoneRateView setPremiumUpliftPct(BigDecimal value) { this.PremiumUpliftPct = value; return this; } public Integer getDrivers() { return Drivers; } public DispatchZoneRateView setDrivers(Integer value) { this.Drivers = value; return this; } } public static class DispatchPayPlanView { public Integer DispatchPayPlanID = null; public String Name = null; public String Basis = null; public BigDecimal Rate = null; public BigDecimal Rate2 = null; public Date EffectiveDate = null; public Boolean IsActive = null; public Integer Drivers = null; public Integer getDispatchPayPlanID() { return DispatchPayPlanID; } public DispatchPayPlanView setDispatchPayPlanID(Integer value) { this.DispatchPayPlanID = value; return this; } public String getName() { return Name; } public DispatchPayPlanView setName(String value) { this.Name = value; return this; } public String getBasis() { return Basis; } public DispatchPayPlanView setBasis(String value) { this.Basis = value; return this; } public BigDecimal getRate() { return Rate; } public DispatchPayPlanView setRate(BigDecimal value) { this.Rate = value; return this; } public BigDecimal getRate2() { return Rate2; } public DispatchPayPlanView setRate2(BigDecimal value) { this.Rate2 = value; return this; } public Date getEffectiveDate() { return EffectiveDate; } public DispatchPayPlanView setEffectiveDate(Date value) { this.EffectiveDate = value; return this; } public Boolean getIsActive() { return IsActive; } public DispatchPayPlanView setIsActive(Boolean value) { this.IsActive = value; return this; } public Integer getDrivers() { return Drivers; } public DispatchPayPlanView setDrivers(Integer value) { this.Drivers = value; return this; } } }