/* Options: Date: 2026-11-08 11:29:47 Version: 5.140 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://devapi.billhighway.com //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: InvoiceCollection.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.*; import java.util.*; import net.servicestack.client.*; public class dtos { @Route(Path="/invoices/misc", Verbs="POST") public static class InvoiceCollection implements IReturn { public ArrayList InvoiceList = null; public ArrayList getInvoiceList() { return InvoiceList; } public InvoiceCollection setInvoiceList(ArrayList value) { this.InvoiceList = value; return this; } private static Object responseType = InvoiceCollectionReply.class; public Object getResponseType() { return responseType; } } public static class Invoice implements IInvoiceValidation { public String UniqueId = null; public Integer ClientId = null; public String GroupId = null; public String Description = null; public String OpportunityId = null; public Integer Installments = null; public Integer Frequency = null; public Date InvoiceDueDate = null; public Boolean Deliver = null; public String UserId = null; public Integer BhUserId = null; public String CurrencyType = null; public ArrayList InvoiceItems = null; public Integer InvoiceNo = null; public BigDecimal InvoiceAmt = null; public String ExternalInvBatchNo = null; public Boolean ExemptFromLateFee = null; public String getUniqueId() { return UniqueId; } public Invoice setUniqueId(String value) { this.UniqueId = value; return this; } public Integer getClientId() { return ClientId; } public Invoice setClientId(Integer value) { this.ClientId = value; return this; } public String getGroupId() { return GroupId; } public Invoice setGroupId(String value) { this.GroupId = value; return this; } public String getDescription() { return Description; } public Invoice setDescription(String value) { this.Description = value; return this; } public String getOpportunityId() { return OpportunityId; } public Invoice setOpportunityId(String value) { this.OpportunityId = value; return this; } public Integer getInstallments() { return Installments; } public Invoice setInstallments(Integer value) { this.Installments = value; return this; } public Integer getFrequency() { return Frequency; } public Invoice setFrequency(Integer value) { this.Frequency = value; return this; } public Date getInvoiceDueDate() { return InvoiceDueDate; } public Invoice setInvoiceDueDate(Date value) { this.InvoiceDueDate = value; return this; } public Boolean isDeliver() { return Deliver; } public Invoice setDeliver(Boolean value) { this.Deliver = value; return this; } public String getUserId() { return UserId; } public Invoice setUserId(String value) { this.UserId = value; return this; } public Integer getBhUserId() { return BhUserId; } public Invoice setBhUserId(Integer value) { this.BhUserId = value; return this; } public String getCurrencyType() { return CurrencyType; } public Invoice setCurrencyType(String value) { this.CurrencyType = value; return this; } public ArrayList getInvoiceItems() { return InvoiceItems; } public Invoice setInvoiceItems(ArrayList value) { this.InvoiceItems = value; return this; } public Integer getInvoiceNo() { return InvoiceNo; } public Invoice setInvoiceNo(Integer value) { this.InvoiceNo = value; return this; } public BigDecimal getInvoiceAmt() { return InvoiceAmt; } public Invoice setInvoiceAmt(BigDecimal value) { this.InvoiceAmt = value; return this; } public String getExternalInvBatchNo() { return ExternalInvBatchNo; } public Invoice setExternalInvBatchNo(String value) { this.ExternalInvBatchNo = value; return this; } public Boolean isExemptFromLateFee() { return ExemptFromLateFee; } public Invoice setExemptFromLateFee(Boolean value) { this.ExemptFromLateFee = value; return this; } } public static class Invoice implements IInvoiceValidation { public String UniqueId = null; public Integer ClientId = null; public String GroupId = null; public String UserId = null; public String OpportunityId = null; public Date InvoiceDueDate = null; public Integer Installments = null; public Integer Frequency = null; public Integer BhUserId = null; public String Description = null; public Boolean Deliver = null; public String CurrencyType = null; public ArrayList InvoiceItems = null; public Integer InvoiceNo = null; public BigDecimal InvoiceAmt = null; public String ExternalInvBatchNo = null; public Boolean ExemptFromLateFee = null; public String getUniqueId() { return UniqueId; } public Invoice setUniqueId(String value) { this.UniqueId = value; return this; } public Integer getClientId() { return ClientId; } public Invoice setClientId(Integer value) { this.ClientId = value; return this; } public String getGroupId() { return GroupId; } public Invoice setGroupId(String value) { this.GroupId = value; return this; } public String getUserId() { return UserId; } public Invoice setUserId(String value) { this.UserId = value; return this; } public String getOpportunityId() { return OpportunityId; } public Invoice setOpportunityId(String value) { this.OpportunityId = value; return this; } public Date getInvoiceDueDate() { return InvoiceDueDate; } public Invoice setInvoiceDueDate(Date value) { this.InvoiceDueDate = value; return this; } public Integer getInstallments() { return Installments; } public Invoice setInstallments(Integer value) { this.Installments = value; return this; } public Integer getFrequency() { return Frequency; } public Invoice setFrequency(Integer value) { this.Frequency = value; return this; } public Integer getBhUserId() { return BhUserId; } public Invoice setBhUserId(Integer value) { this.BhUserId = value; return this; } public String getDescription() { return Description; } public Invoice setDescription(String value) { this.Description = value; return this; } public Boolean isDeliver() { return Deliver; } public Invoice setDeliver(Boolean value) { this.Deliver = value; return this; } public String getCurrencyType() { return CurrencyType; } public Invoice setCurrencyType(String value) { this.CurrencyType = value; return this; } public ArrayList getInvoiceItems() { return InvoiceItems; } public Invoice setInvoiceItems(ArrayList value) { this.InvoiceItems = value; return this; } public Integer getInvoiceNo() { return InvoiceNo; } public Invoice setInvoiceNo(Integer value) { this.InvoiceNo = value; return this; } public BigDecimal getInvoiceAmt() { return InvoiceAmt; } public Invoice setInvoiceAmt(BigDecimal value) { this.InvoiceAmt = value; return this; } public String getExternalInvBatchNo() { return ExternalInvBatchNo; } public Invoice setExternalInvBatchNo(String value) { this.ExternalInvBatchNo = value; return this; } public Boolean isExemptFromLateFee() { return ExemptFromLateFee; } public Invoice setExemptFromLateFee(Boolean value) { this.ExemptFromLateFee = value; return this; } } public static class InvoiceCollectionReply implements IHaveErrorField { public ArrayList InvoiceReply = null; public Boolean IsError = null; public ArrayList getInvoiceReply() { return InvoiceReply; } public InvoiceCollectionReply setInvoiceReply(ArrayList value) { this.InvoiceReply = value; return this; } public Boolean getIsError() { return IsError; } public InvoiceCollectionReply setIsError(Boolean value) { this.IsError = value; return this; } } public static interface IHaveErrorField { public Boolean IsError = null; } public static class InvoiceReply { public String UniqueId = null; public Integer ErrorCode = null; public String ErrorMessage = null; public Integer InvBatchNo = null; public BigDecimal InvAmount = null; public String getUniqueId() { return UniqueId; } public InvoiceReply setUniqueId(String value) { this.UniqueId = value; return this; } public Integer getErrorCode() { return ErrorCode; } public InvoiceReply setErrorCode(Integer value) { this.ErrorCode = value; return this; } public String getErrorMessage() { return ErrorMessage; } public InvoiceReply setErrorMessage(String value) { this.ErrorMessage = value; return this; } public Integer getInvBatchNo() { return InvBatchNo; } public InvoiceReply setInvBatchNo(Integer value) { this.InvBatchNo = value; return this; } public BigDecimal getInvAmount() { return InvAmount; } public InvoiceReply setInvAmount(BigDecimal value) { this.InvAmount = value; return this; } } public static interface IHaveErrorField { public Boolean IsError = null; } }