/* Options: Date: 2026-11-08 11:31:29 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: UserObligationsRequest.* //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/recurringInvoices/obligation", Verbs="GET") public static class UserObligationsRequest implements IReturn { public String GroupId = null; public String UserId = null; public Integer FiscalYear = null; public Boolean ShowHistory = null; public String getGroupId() { return GroupId; } public UserObligationsRequest setGroupId(String value) { this.GroupId = value; return this; } public String getUserId() { return UserId; } public UserObligationsRequest setUserId(String value) { this.UserId = value; return this; } public Integer getFiscalYear() { return FiscalYear; } public UserObligationsRequest setFiscalYear(Integer value) { this.FiscalYear = value; return this; } public Boolean isShowHistory() { return ShowHistory; } public UserObligationsRequest setShowHistory(Boolean value) { this.ShowHistory = value; return this; } private static Object responseType = ObligationUser.class; public Object getResponseType() { return responseType; } } public static class ObligationUser { public String UserId = null; public String GroupId = null; public ArrayList FiscalYears = null; public String getUserId() { return UserId; } public ObligationUser setUserId(String value) { this.UserId = value; return this; } public String getGroupId() { return GroupId; } public ObligationUser setGroupId(String value) { this.GroupId = value; return this; } public ArrayList getFiscalYears() { return FiscalYears; } public ObligationUser setFiscalYears(ArrayList value) { this.FiscalYears = value; return this; } } public static class ObligationLineItem { public Integer ChartOfAccountId = null; public String ChartOfAccountRefId = null; public BigDecimal Amount = null; public Integer getChartOfAccountId() { return ChartOfAccountId; } public ObligationLineItem setChartOfAccountId(Integer value) { this.ChartOfAccountId = value; return this; } public String getChartOfAccountRefId() { return ChartOfAccountRefId; } public ObligationLineItem setChartOfAccountRefId(String value) { this.ChartOfAccountRefId = value; return this; } public BigDecimal getAmount() { return Amount; } public ObligationLineItem setAmount(BigDecimal value) { this.Amount = value; return this; } } public static class ObligationYear { public Integer FiscalYear = null; public ArrayList Obligations = null; public Integer getFiscalYear() { return FiscalYear; } public ObligationYear setFiscalYear(Integer value) { this.FiscalYear = value; return this; } public ArrayList getObligations() { return Obligations; } public ObligationYear setObligations(ArrayList value) { this.Obligations = value; return this; } } public static class Obligation { public Date CreatedDate = null; public Date LastUpdateDate = null; public Boolean IsActive = null; public ArrayList LineItems = null; public Date getCreatedDate() { return CreatedDate; } public Obligation setCreatedDate(Date value) { this.CreatedDate = value; return this; } public Date getLastUpdateDate() { return LastUpdateDate; } public Obligation setLastUpdateDate(Date value) { this.LastUpdateDate = value; return this; } public Boolean getIsActive() { return IsActive; } public Obligation setIsActive(Boolean value) { this.IsActive = value; return this; } public ArrayList getLineItems() { return LineItems; } public Obligation setLineItems(ArrayList value) { this.LineItems = value; return this; } } public static class ObligationLineItem { public String ChartOfAccountRefId = null; public BigDecimal Amount = null; public String getChartOfAccountRefId() { return ChartOfAccountRefId; } public ObligationLineItem setChartOfAccountRefId(String value) { this.ChartOfAccountRefId = value; return this; } public BigDecimal getAmount() { return Amount; } public ObligationLineItem setAmount(BigDecimal value) { this.Amount = value; return this; } } }