/* Options: Date: 2026-11-08 11:32:12 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: SalesForceCreateApplyCredit.* //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/CreateApplyCredit", Verbs="POST") public static class SalesForceCreateApplyCredit implements IReturn { 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 Integer BhUserId = null; public Integer CreditId = null; public String CurrencyType = null; public String CreditType = null; public String Notes = null; public ArrayList InvoiceDetails = null; public String getClassName() { return ClassName; } public SalesForceCreateApplyCredit setClassName(String value) { this.ClassName = value; return this; } public String getUniqueId() { return UniqueId; } public SalesForceCreateApplyCredit setUniqueId(String value) { this.UniqueId = value; return this; } public Date getCreatedDateTime() { return CreatedDateTime; } public SalesForceCreateApplyCredit setCreatedDateTime(Date value) { this.CreatedDateTime = value; return this; } public Integer getClientId() { return ClientId; } public SalesForceCreateApplyCredit setClientId(Integer value) { this.ClientId = value; return this; } public String getGroupId() { return GroupId; } public SalesForceCreateApplyCredit setGroupId(String value) { this.GroupId = value; return this; } public String getUserId() { return UserId; } public SalesForceCreateApplyCredit setUserId(String value) { this.UserId = value; return this; } public Integer getBhUserId() { return BhUserId; } public SalesForceCreateApplyCredit setBhUserId(Integer value) { this.BhUserId = value; return this; } public Integer getCreditId() { return CreditId; } public SalesForceCreateApplyCredit setCreditId(Integer value) { this.CreditId = value; return this; } public String getCurrencyType() { return CurrencyType; } public SalesForceCreateApplyCredit setCurrencyType(String value) { this.CurrencyType = value; return this; } public String getCreditType() { return CreditType; } public SalesForceCreateApplyCredit setCreditType(String value) { this.CreditType = value; return this; } public String getNotes() { return Notes; } public SalesForceCreateApplyCredit setNotes(String value) { this.Notes = value; return this; } public ArrayList getInvoiceDetails() { return InvoiceDetails; } public SalesForceCreateApplyCredit setInvoiceDetails(ArrayList value) { this.InvoiceDetails = value; return this; } private static Object responseType = SalesForceCreateApplyCreditReply.class; public Object getResponseType() { return responseType; } } public static class SalesForceCreateApplyCreditReply { public Integer ErrorCode = null; public String ErrorMessage = null; public Integer getErrorCode() { return ErrorCode; } public SalesForceCreateApplyCreditReply setErrorCode(Integer value) { this.ErrorCode = value; return this; } public String getErrorMessage() { return ErrorMessage; } public SalesForceCreateApplyCreditReply setErrorMessage(String value) { this.ErrorMessage = value; return this; } } public static class SalesForceCreditInvoiceDetails { public Long Invoice = null; public BigDecimal AmountPaid = null; public String Region = null; public String CostCenter = null; public Long getInvoice() { return Invoice; } public SalesForceCreditInvoiceDetails setInvoice(Long value) { this.Invoice = value; return this; } public BigDecimal getAmountPaid() { return AmountPaid; } public SalesForceCreditInvoiceDetails setAmountPaid(BigDecimal value) { this.AmountPaid = value; return this; } public String getRegion() { return Region; } public SalesForceCreditInvoiceDetails setRegion(String value) { this.Region = value; return this; } public String getCostCenter() { return CostCenter; } public SalesForceCreditInvoiceDetails setCostCenter(String value) { this.CostCenter = value; return this; } } }