/* Options: Date: 2026-06-22 20:28:16 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: PortalQuoteRequest.* //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="/portal/{Token}/quote", Verbs="GET,OPTIONS") public static class PortalQuoteRequest implements IReturn { public String Token = null; public String getToken() { return Token; } public PortalQuoteRequest setToken(String value) { this.Token = value; return this; } private static Object responseType = PortalQuoteResponse.class; public Object getResponseType() { return responseType; } } public static class PortalQuoteResponse { public ResponseStatus ResponseStatus = null; public String Name = null; public String Status = null; public String Currency = null; public BigDecimal Total = null; public String Notes = null; public String FromName = null; public String FromAddress = null; public String ToName = null; public String ToAddress = null; public Date ExpiresAt = null; public Boolean IsLocked = null; public Boolean FinalPriceAfterCompletion = null; public String ApprovedByName = null; public Date ApprovedAt = null; public String DeclinedByName = null; public Date DeclinedAt = null; public String DeclineReason = null; public ArrayList LineItems = new ArrayList(); public ResponseStatus getResponseStatus() { return ResponseStatus; } public PortalQuoteResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; } public String getName() { return Name; } public PortalQuoteResponse setName(String value) { this.Name = value; return this; } public String getStatus() { return Status; } public PortalQuoteResponse setStatus(String value) { this.Status = value; return this; } public String getCurrency() { return Currency; } public PortalQuoteResponse setCurrency(String value) { this.Currency = value; return this; } public BigDecimal getTotal() { return Total; } public PortalQuoteResponse setTotal(BigDecimal value) { this.Total = value; return this; } public String getNotes() { return Notes; } public PortalQuoteResponse setNotes(String value) { this.Notes = value; return this; } public String getFromName() { return FromName; } public PortalQuoteResponse setFromName(String value) { this.FromName = value; return this; } public String getFromAddress() { return FromAddress; } public PortalQuoteResponse setFromAddress(String value) { this.FromAddress = value; return this; } public String getToName() { return ToName; } public PortalQuoteResponse setToName(String value) { this.ToName = value; return this; } public String getToAddress() { return ToAddress; } public PortalQuoteResponse setToAddress(String value) { this.ToAddress = value; return this; } public Date getExpiresAt() { return ExpiresAt; } public PortalQuoteResponse setExpiresAt(Date value) { this.ExpiresAt = value; return this; } public Boolean getIsLocked() { return IsLocked; } public PortalQuoteResponse setIsLocked(Boolean value) { this.IsLocked = value; return this; } public Boolean isFinalPriceAfterCompletion() { return FinalPriceAfterCompletion; } public PortalQuoteResponse setFinalPriceAfterCompletion(Boolean value) { this.FinalPriceAfterCompletion = value; return this; } public String getApprovedByName() { return ApprovedByName; } public PortalQuoteResponse setApprovedByName(String value) { this.ApprovedByName = value; return this; } public Date getApprovedAt() { return ApprovedAt; } public PortalQuoteResponse setApprovedAt(Date value) { this.ApprovedAt = value; return this; } public String getDeclinedByName() { return DeclinedByName; } public PortalQuoteResponse setDeclinedByName(String value) { this.DeclinedByName = value; return this; } public Date getDeclinedAt() { return DeclinedAt; } public PortalQuoteResponse setDeclinedAt(Date value) { this.DeclinedAt = value; return this; } public String getDeclineReason() { return DeclineReason; } public PortalQuoteResponse setDeclineReason(String value) { this.DeclineReason = value; return this; } public ArrayList getLineItems() { return LineItems; } public PortalQuoteResponse setLineItems(ArrayList value) { this.LineItems = value; return this; } } public static class QuoteItem { public Integer QuoteItemID = null; public Integer QuoteID = null; public String ItemType = null; public Integer SourceRefId = null; public Integer JobID = null; public String Name = null; public String Description = null; public BigDecimal Quantity = null; public BigDecimal UnitPrice = null; public Boolean IsTaxable = null; public Integer DisplayOrder = null; public Boolean IsDeleted = null; public Integer getQuoteItemID() { return QuoteItemID; } public QuoteItem setQuoteItemID(Integer value) { this.QuoteItemID = value; return this; } public Integer getQuoteID() { return QuoteID; } public QuoteItem setQuoteID(Integer value) { this.QuoteID = value; return this; } public String getItemType() { return ItemType; } public QuoteItem setItemType(String value) { this.ItemType = value; return this; } public Integer getSourceRefId() { return SourceRefId; } public QuoteItem setSourceRefId(Integer value) { this.SourceRefId = value; return this; } public Integer getJobID() { return JobID; } public QuoteItem setJobID(Integer value) { this.JobID = value; return this; } public String getName() { return Name; } public QuoteItem setName(String value) { this.Name = value; return this; } public String getDescription() { return Description; } public QuoteItem setDescription(String value) { this.Description = value; return this; } public BigDecimal getQuantity() { return Quantity; } public QuoteItem setQuantity(BigDecimal value) { this.Quantity = value; return this; } public BigDecimal getUnitPrice() { return UnitPrice; } public QuoteItem setUnitPrice(BigDecimal value) { this.UnitPrice = value; return this; } public Boolean getIsTaxable() { return IsTaxable; } public QuoteItem setIsTaxable(Boolean value) { this.IsTaxable = value; return this; } public Integer getDisplayOrder() { return DisplayOrder; } public QuoteItem setDisplayOrder(Integer value) { this.DisplayOrder = value; return this; } public Boolean getIsDeleted() { return IsDeleted; } public QuoteItem setIsDeleted(Boolean value) { this.IsDeleted = value; return this; } } }