/* Options: Date: 2026-08-01 11:45:34 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: GetInvoicesByProjectRequest.* //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/project/{ProjectUID}", Verbs="GET,OPTIONS") public static class GetInvoicesByProjectRequest implements IReturn { public UUID ProjectUID = null; public UUID getProjectUID() { return ProjectUID; } public GetInvoicesByProjectRequest setProjectUID(UUID value) { this.ProjectUID = value; return this; } private static Object responseType = GetInvoicesByProjectResponse.class; public Object getResponseType() { return responseType; } } public static class GetInvoicesByProjectResponse { public ResponseStatus ResponseStatus = null; public ArrayList Invoices = new ArrayList(); public ProjectInvoiceData ProjectInvoiceData = null; public ResponseStatus getResponseStatus() { return ResponseStatus; } public GetInvoicesByProjectResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; } public ArrayList getInvoices() { return Invoices; } public GetInvoicesByProjectResponse setInvoices(ArrayList value) { this.Invoices = value; return this; } public ProjectInvoiceData getProjectInvoiceData() { return ProjectInvoiceData; } public GetInvoicesByProjectResponse setProjectInvoiceData(ProjectInvoiceData value) { this.ProjectInvoiceData = value; return this; } } public static class Invoice { public Integer InvoiceID = null; public UUID InvoiceUID = null; public UUID ProjectUID = null; public String InvoiceNumber = null; public Date InvoiceDate = null; public Date DueDate = null; public String FromName = null; public String FromPhone = null; public String FromEmail = null; public String FromAddress = null; public String FromDesc = null; public String ToName = null; public String ToPhone = null; public String ToEmail = null; public String ToAddress = null; public String ToDesc = null; public String Notes = null; public String Currency = null; public Integer Status = null; public BigDecimal Total = null; public Boolean IsPaid = null; public Date PaidDate = null; public Boolean IsDeleted = null; public Boolean IsLocked = null; public Date CreatedDate = null; public Date ModifiedDate = null; public UUID CreatedByUID = null; public Date IssuedAt = null; public String IssuedBy = null; public Integer ReversalOfInvoiceID = null; public UUID BranchId = null; public String ExternalRef = null; public String ExternalSyncStatus = null; public Integer AgreementID = null; public Integer AgreementJobID = null; public String SourceType = null; public Integer BillingRunID = null; public String PeriodKey = null; public Integer getInvoiceID() { return InvoiceID; } public Invoice setInvoiceID(Integer value) { this.InvoiceID = value; return this; } public UUID getInvoiceUID() { return InvoiceUID; } public Invoice setInvoiceUID(UUID value) { this.InvoiceUID = value; return this; } public UUID getProjectUID() { return ProjectUID; } public Invoice setProjectUID(UUID value) { this.ProjectUID = value; return this; } public String getInvoiceNumber() { return InvoiceNumber; } public Invoice setInvoiceNumber(String value) { this.InvoiceNumber = value; return this; } public Date getInvoiceDate() { return InvoiceDate; } public Invoice setInvoiceDate(Date value) { this.InvoiceDate = value; return this; } public Date getDueDate() { return DueDate; } public Invoice setDueDate(Date value) { this.DueDate = value; return this; } public String getFromName() { return FromName; } public Invoice setFromName(String value) { this.FromName = value; return this; } public String getFromPhone() { return FromPhone; } public Invoice setFromPhone(String value) { this.FromPhone = value; return this; } public String getFromEmail() { return FromEmail; } public Invoice setFromEmail(String value) { this.FromEmail = value; return this; } public String getFromAddress() { return FromAddress; } public Invoice setFromAddress(String value) { this.FromAddress = value; return this; } public String getFromDesc() { return FromDesc; } public Invoice setFromDesc(String value) { this.FromDesc = value; return this; } public String getToName() { return ToName; } public Invoice setToName(String value) { this.ToName = value; return this; } public String getToPhone() { return ToPhone; } public Invoice setToPhone(String value) { this.ToPhone = value; return this; } public String getToEmail() { return ToEmail; } public Invoice setToEmail(String value) { this.ToEmail = value; return this; } public String getToAddress() { return ToAddress; } public Invoice setToAddress(String value) { this.ToAddress = value; return this; } public String getToDesc() { return ToDesc; } public Invoice setToDesc(String value) { this.ToDesc = value; return this; } public String getNotes() { return Notes; } public Invoice setNotes(String value) { this.Notes = value; return this; } public String getCurrency() { return Currency; } public Invoice setCurrency(String value) { this.Currency = value; return this; } public Integer getStatus() { return Status; } public Invoice setStatus(Integer value) { this.Status = value; return this; } public BigDecimal getTotal() { return Total; } public Invoice setTotal(BigDecimal value) { this.Total = value; return this; } public Boolean getIsPaid() { return IsPaid; } public Invoice setIsPaid(Boolean value) { this.IsPaid = value; return this; } public Date getPaidDate() { return PaidDate; } public Invoice setPaidDate(Date value) { this.PaidDate = value; return this; } public Boolean getIsDeleted() { return IsDeleted; } public Invoice setIsDeleted(Boolean value) { this.IsDeleted = value; return this; } public Boolean getIsLocked() { return IsLocked; } public Invoice setIsLocked(Boolean value) { this.IsLocked = value; return this; } public Date getCreatedDate() { return CreatedDate; } public Invoice setCreatedDate(Date value) { this.CreatedDate = value; return this; } public Date getModifiedDate() { return ModifiedDate; } public Invoice setModifiedDate(Date value) { this.ModifiedDate = value; return this; } public UUID getCreatedByUID() { return CreatedByUID; } public Invoice setCreatedByUID(UUID value) { this.CreatedByUID = value; return this; } public Date getIssuedAt() { return IssuedAt; } public Invoice setIssuedAt(Date value) { this.IssuedAt = value; return this; } public String getIssuedBy() { return IssuedBy; } public Invoice setIssuedBy(String value) { this.IssuedBy = value; return this; } public Integer getReversalOfInvoiceID() { return ReversalOfInvoiceID; } public Invoice setReversalOfInvoiceID(Integer value) { this.ReversalOfInvoiceID = value; return this; } public UUID getBranchId() { return BranchId; } public Invoice setBranchId(UUID value) { this.BranchId = value; return this; } public String getExternalRef() { return ExternalRef; } public Invoice setExternalRef(String value) { this.ExternalRef = value; return this; } public String getExternalSyncStatus() { return ExternalSyncStatus; } public Invoice setExternalSyncStatus(String value) { this.ExternalSyncStatus = value; return this; } public Integer getAgreementID() { return AgreementID; } public Invoice setAgreementID(Integer value) { this.AgreementID = value; return this; } public Integer getAgreementJobID() { return AgreementJobID; } public Invoice setAgreementJobID(Integer value) { this.AgreementJobID = value; return this; } public String getSourceType() { return SourceType; } public Invoice setSourceType(String value) { this.SourceType = value; return this; } public Integer getBillingRunID() { return BillingRunID; } public Invoice setBillingRunID(Integer value) { this.BillingRunID = value; return this; } public String getPeriodKey() { return PeriodKey; } public Invoice setPeriodKey(String value) { this.PeriodKey = value; return this; } } public static class ProjectInvoiceData { public BigDecimal InvoicedAmount = null; public BigDecimal PaidAmount = null; public BigDecimal getInvoicedAmount() { return InvoicedAmount; } public ProjectInvoiceData setInvoicedAmount(BigDecimal value) { this.InvoicedAmount = value; return this; } public BigDecimal getPaidAmount() { return PaidAmount; } public ProjectInvoiceData setPaidAmount(BigDecimal value) { this.PaidAmount = value; return this; } } }