/* Options: Date: 2026-11-08 11:29:56 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: SalesForceInvoiceCollection.* //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="/api/SalesForce/InvoiceCollection", Verbs="POST") public static class SalesForceInvoiceCollection implements IReturn { public ArrayList InvoiceCollection = null; public ArrayList getInvoiceCollection() { return InvoiceCollection; } public SalesForceInvoiceCollection setInvoiceCollection(ArrayList value) { this.InvoiceCollection = value; return this; } private static Object responseType = SalesForceInvoiceCollectionReply.class; public Object getResponseType() { return responseType; } } public static class SalesForceInvoiceCollectionReply implements IHaveErrorField { public ArrayList InvoiceReply = null; public Boolean IsError = null; public ArrayList getInvoiceReply() { return InvoiceReply; } public SalesForceInvoiceCollectionReply setInvoiceReply(ArrayList value) { this.InvoiceReply = value; return this; } public Boolean getIsError() { return IsError; } public SalesForceInvoiceCollectionReply setIsError(Boolean value) { this.IsError = value; return this; } } public static class SalesForceInvoice { public String ClassName = null; public String UniqueId = null; public Date CreatedDateTime = 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 getClassName() { return ClassName; } public SalesForceInvoice setClassName(String value) { this.ClassName = value; return this; } public String getUniqueId() { return UniqueId; } public SalesForceInvoice setUniqueId(String value) { this.UniqueId = value; return this; } public Date getCreatedDateTime() { return CreatedDateTime; } public SalesForceInvoice setCreatedDateTime(Date value) { this.CreatedDateTime = value; return this; } public Integer getClientId() { return ClientId; } public SalesForceInvoice setClientId(Integer value) { this.ClientId = value; return this; } public String getGroupId() { return GroupId; } public SalesForceInvoice setGroupId(String value) { this.GroupId = value; return this; } public String getUserId() { return UserId; } public SalesForceInvoice setUserId(String value) { this.UserId = value; return this; } public String getOpportunityId() { return OpportunityId; } public SalesForceInvoice setOpportunityId(String value) { this.OpportunityId = value; return this; } public Date getInvoiceDueDate() { return InvoiceDueDate; } public SalesForceInvoice setInvoiceDueDate(Date value) { this.InvoiceDueDate = value; return this; } public Integer getInstallments() { return Installments; } public SalesForceInvoice setInstallments(Integer value) { this.Installments = value; return this; } public Integer getFrequency() { return Frequency; } public SalesForceInvoice setFrequency(Integer value) { this.Frequency = value; return this; } public Integer getBhUserId() { return BhUserId; } public SalesForceInvoice setBhUserId(Integer value) { this.BhUserId = value; return this; } public String getDescription() { return Description; } public SalesForceInvoice setDescription(String value) { this.Description = value; return this; } public Boolean isDeliver() { return Deliver; } public SalesForceInvoice setDeliver(Boolean value) { this.Deliver = value; return this; } public String getCurrencyType() { return CurrencyType; } public SalesForceInvoice setCurrencyType(String value) { this.CurrencyType = value; return this; } public ArrayList getInvoiceItems() { return InvoiceItems; } public SalesForceInvoice setInvoiceItems(ArrayList value) { this.InvoiceItems = value; return this; } public Integer getInvoiceNo() { return InvoiceNo; } public SalesForceInvoice setInvoiceNo(Integer value) { this.InvoiceNo = value; return this; } public BigDecimal getInvoiceAmt() { return InvoiceAmt; } public SalesForceInvoice setInvoiceAmt(BigDecimal value) { this.InvoiceAmt = value; return this; } public String getExternalInvBatchNo() { return ExternalInvBatchNo; } public SalesForceInvoice setExternalInvBatchNo(String value) { this.ExternalInvBatchNo = value; return this; } public Boolean isExemptFromLateFee() { return ExemptFromLateFee; } public SalesForceInvoice setExemptFromLateFee(Boolean value) { this.ExemptFromLateFee = value; return this; } } public static interface IHaveErrorField { public Boolean IsError = null; } public static interface IHaveErrorField { public Boolean IsError = null; } public static class SalesForceInvoiceReply { public String ClassName = null; public String UniqueId = null; public Date CreatedDateTime = null; public Integer ClientId = null; public Integer ErrorCode = null; public String ErrorMessage = null; public Integer InvBatchNo = null; public BigDecimal InvAmount = null; public String getClassName() { return ClassName; } public SalesForceInvoiceReply setClassName(String value) { this.ClassName = value; return this; } public String getUniqueId() { return UniqueId; } public SalesForceInvoiceReply setUniqueId(String value) { this.UniqueId = value; return this; } public Date getCreatedDateTime() { return CreatedDateTime; } public SalesForceInvoiceReply setCreatedDateTime(Date value) { this.CreatedDateTime = value; return this; } public Integer getClientId() { return ClientId; } public SalesForceInvoiceReply setClientId(Integer value) { this.ClientId = value; return this; } public Integer getErrorCode() { return ErrorCode; } public SalesForceInvoiceReply setErrorCode(Integer value) { this.ErrorCode = value; return this; } public String getErrorMessage() { return ErrorMessage; } public SalesForceInvoiceReply setErrorMessage(String value) { this.ErrorMessage = value; return this; } public Integer getInvBatchNo() { return InvBatchNo; } public SalesForceInvoiceReply setInvBatchNo(Integer value) { this.InvBatchNo = value; return this; } public BigDecimal getInvAmount() { return InvAmount; } public SalesForceInvoiceReply setInvAmount(BigDecimal value) { this.InvAmount = value; return this; } } public static class SalesForceInvoiceItem { public String ClassName = null; public String UniqueId = null; public Date CreatedDateTime = null; public Integer ClientId = null; public String ProductName = null; public String AmountDue = null; public String ProductType = null; public Integer ActPatternTypeId = null; public Date TermStartDate = null; public Date TermEndDate = null; public Integer RecognitionPeriod = null; public String RevenueAccount = null; public String AccountsReceivableAccount = null; public String LiabilityAccount = null; public String CreditExpenseAccount = null; public String InvoiceClearingAccount = null; public String CostCenter = null; public String Region = null; public String getClassName() { return ClassName; } public SalesForceInvoiceItem setClassName(String value) { this.ClassName = value; return this; } public String getUniqueId() { return UniqueId; } public SalesForceInvoiceItem setUniqueId(String value) { this.UniqueId = value; return this; } public Date getCreatedDateTime() { return CreatedDateTime; } public SalesForceInvoiceItem setCreatedDateTime(Date value) { this.CreatedDateTime = value; return this; } public Integer getClientId() { return ClientId; } public SalesForceInvoiceItem setClientId(Integer value) { this.ClientId = value; return this; } public String getProductName() { return ProductName; } public SalesForceInvoiceItem setProductName(String value) { this.ProductName = value; return this; } public String getAmountDue() { return AmountDue; } public SalesForceInvoiceItem setAmountDue(String value) { this.AmountDue = value; return this; } public String getProductType() { return ProductType; } public SalesForceInvoiceItem setProductType(String value) { this.ProductType = value; return this; } public Integer getActPatternTypeId() { return ActPatternTypeId; } public SalesForceInvoiceItem setActPatternTypeId(Integer value) { this.ActPatternTypeId = value; return this; } public Date getTermStartDate() { return TermStartDate; } public SalesForceInvoiceItem setTermStartDate(Date value) { this.TermStartDate = value; return this; } public Date getTermEndDate() { return TermEndDate; } public SalesForceInvoiceItem setTermEndDate(Date value) { this.TermEndDate = value; return this; } public Integer getRecognitionPeriod() { return RecognitionPeriod; } public SalesForceInvoiceItem setRecognitionPeriod(Integer value) { this.RecognitionPeriod = value; return this; } public String getRevenueAccount() { return RevenueAccount; } public SalesForceInvoiceItem setRevenueAccount(String value) { this.RevenueAccount = value; return this; } public String getAccountsReceivableAccount() { return AccountsReceivableAccount; } public SalesForceInvoiceItem setAccountsReceivableAccount(String value) { this.AccountsReceivableAccount = value; return this; } public String getLiabilityAccount() { return LiabilityAccount; } public SalesForceInvoiceItem setLiabilityAccount(String value) { this.LiabilityAccount = value; return this; } public String getCreditExpenseAccount() { return CreditExpenseAccount; } public SalesForceInvoiceItem setCreditExpenseAccount(String value) { this.CreditExpenseAccount = value; return this; } public String getInvoiceClearingAccount() { return InvoiceClearingAccount; } public SalesForceInvoiceItem setInvoiceClearingAccount(String value) { this.InvoiceClearingAccount = value; return this; } public String getCostCenter() { return CostCenter; } public SalesForceInvoiceItem setCostCenter(String value) { this.CostCenter = value; return this; } public String getRegion() { return Region; } public SalesForceInvoiceItem setRegion(String value) { this.Region = value; return this; } } }