/* Options: Date: 2026-11-19 02:44: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: InvoiceWorkChangesDecideRequest.* //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/invoice/workchanges/{ProjectUID}/decide", Verbs="POST,OPTIONS") public static class InvoiceWorkChangesDecideRequest implements IReturn { public UUID ProjectUID = null; public Integer InvoiceID = null; public String Decision = null; public Boolean Remember = null; public ArrayList Sources = new ArrayList(); public UUID getProjectUID() { return ProjectUID; } public InvoiceWorkChangesDecideRequest setProjectUID(UUID value) { this.ProjectUID = value; return this; } public Integer getInvoiceID() { return InvoiceID; } public InvoiceWorkChangesDecideRequest setInvoiceID(Integer value) { this.InvoiceID = value; return this; } public String getDecision() { return Decision; } public InvoiceWorkChangesDecideRequest setDecision(String value) { this.Decision = value; return this; } public Boolean isRemember() { return Remember; } public InvoiceWorkChangesDecideRequest setRemember(Boolean value) { this.Remember = value; return this; } public ArrayList getSources() { return Sources; } public InvoiceWorkChangesDecideRequest setSources(ArrayList value) { this.Sources = value; return this; } private static Object responseType = InvoiceWorkChangesResponse.class; public Object getResponseType() { return responseType; } } public static class InvoiceWorkChangesResponse { public ResponseStatus ResponseStatus = null; public Boolean Success = null; public ArrayList Changes = new ArrayList(); public ResponseStatus getResponseStatus() { return ResponseStatus; } public InvoiceWorkChangesResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; } public Boolean isSuccess() { return Success; } public InvoiceWorkChangesResponse setSuccess(Boolean value) { this.Success = value; return this; } public ArrayList getChanges() { return Changes; } public InvoiceWorkChangesResponse setChanges(ArrayList value) { this.Changes = value; return this; } } public static class InvoiceWorkChangeKey { public String SourceType = null; public Integer SourceID = null; public Integer JobID = null; public String WorkDay = null; public String getSourceType() { return SourceType; } public InvoiceWorkChangeKey setSourceType(String value) { this.SourceType = value; return this; } public Integer getSourceID() { return SourceID; } public InvoiceWorkChangeKey setSourceID(Integer value) { this.SourceID = value; return this; } public Integer getJobID() { return JobID; } public InvoiceWorkChangeKey setJobID(Integer value) { this.JobID = value; return this; } public String getWorkDay() { return WorkDay; } public InvoiceWorkChangeKey setWorkDay(String value) { this.WorkDay = value; return this; } } public static class InvoiceWorkChange { public String SourceType = null; public Integer SourceID = null; public Integer JobID = null; public Date WorkDate = null; public String WorkDay = null; public String DisplayDay = null; public String Label = null; public String JobName = null; public Date DisplayDate = null; public String Unit = null; public BigDecimal Billed = null; public BigDecimal NowQuantity = null; public BigDecimal OverBilled = null; public BigDecimal UnitFactor = null; public BigDecimal Price = null; public BigDecimal Amount = null; public String LineType = null; public Boolean IsTaxable = null; public Integer InvoiceID = null; public UUID InvoiceUID = null; public String InvoiceNumber = null; public BigDecimal InvoiceTotal = null; public Boolean InvoiceIsLocked = null; public Boolean InvoiceIsPaid = null; public String State = null; public String Remembered = null; public String DecidedByName = null; public Date DecidedAt = null; public String getSourceType() { return SourceType; } public InvoiceWorkChange setSourceType(String value) { this.SourceType = value; return this; } public Integer getSourceID() { return SourceID; } public InvoiceWorkChange setSourceID(Integer value) { this.SourceID = value; return this; } public Integer getJobID() { return JobID; } public InvoiceWorkChange setJobID(Integer value) { this.JobID = value; return this; } public Date getWorkDate() { return WorkDate; } public InvoiceWorkChange setWorkDate(Date value) { this.WorkDate = value; return this; } public String getWorkDay() { return WorkDay; } public InvoiceWorkChange setWorkDay(String value) { this.WorkDay = value; return this; } public String getDisplayDay() { return DisplayDay; } public InvoiceWorkChange setDisplayDay(String value) { this.DisplayDay = value; return this; } public String getLabel() { return Label; } public InvoiceWorkChange setLabel(String value) { this.Label = value; return this; } public String getJobName() { return JobName; } public InvoiceWorkChange setJobName(String value) { this.JobName = value; return this; } public Date getDisplayDate() { return DisplayDate; } public InvoiceWorkChange setDisplayDate(Date value) { this.DisplayDate = value; return this; } public String getUnit() { return Unit; } public InvoiceWorkChange setUnit(String value) { this.Unit = value; return this; } public BigDecimal getBilled() { return Billed; } public InvoiceWorkChange setBilled(BigDecimal value) { this.Billed = value; return this; } public BigDecimal getNowQuantity() { return NowQuantity; } public InvoiceWorkChange setNowQuantity(BigDecimal value) { this.NowQuantity = value; return this; } public BigDecimal getOverBilled() { return OverBilled; } public InvoiceWorkChange setOverBilled(BigDecimal value) { this.OverBilled = value; return this; } public BigDecimal getUnitFactor() { return UnitFactor; } public InvoiceWorkChange setUnitFactor(BigDecimal value) { this.UnitFactor = value; return this; } public BigDecimal getPrice() { return Price; } public InvoiceWorkChange setPrice(BigDecimal value) { this.Price = value; return this; } public BigDecimal getAmount() { return Amount; } public InvoiceWorkChange setAmount(BigDecimal value) { this.Amount = value; return this; } public String getLineType() { return LineType; } public InvoiceWorkChange setLineType(String value) { this.LineType = value; return this; } public Boolean getIsTaxable() { return IsTaxable; } public InvoiceWorkChange setIsTaxable(Boolean value) { this.IsTaxable = value; return this; } public Integer getInvoiceID() { return InvoiceID; } public InvoiceWorkChange setInvoiceID(Integer value) { this.InvoiceID = value; return this; } public UUID getInvoiceUID() { return InvoiceUID; } public InvoiceWorkChange setInvoiceUID(UUID value) { this.InvoiceUID = value; return this; } public String getInvoiceNumber() { return InvoiceNumber; } public InvoiceWorkChange setInvoiceNumber(String value) { this.InvoiceNumber = value; return this; } public BigDecimal getInvoiceTotal() { return InvoiceTotal; } public InvoiceWorkChange setInvoiceTotal(BigDecimal value) { this.InvoiceTotal = value; return this; } public Boolean isInvoiceIsLocked() { return InvoiceIsLocked; } public InvoiceWorkChange setInvoiceIsLocked(Boolean value) { this.InvoiceIsLocked = value; return this; } public Boolean isInvoiceIsPaid() { return InvoiceIsPaid; } public InvoiceWorkChange setInvoiceIsPaid(Boolean value) { this.InvoiceIsPaid = value; return this; } public String getState() { return State; } public InvoiceWorkChange setState(String value) { this.State = value; return this; } public String getRemembered() { return Remembered; } public InvoiceWorkChange setRemembered(String value) { this.Remembered = value; return this; } public String getDecidedByName() { return DecidedByName; } public InvoiceWorkChange setDecidedByName(String value) { this.DecidedByName = value; return this; } public Date getDecidedAt() { return DecidedAt; } public InvoiceWorkChange setDecidedAt(Date value) { this.DecidedAt = value; return this; } } }