/* Options: Date: 2026-11-08 11:31:37 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: UserObligations.* //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="PUT") public static class UserObligation implements IReturn { public String UserId = null; public Integer FiscalYear = null; public String GroupId = null; public ArrayList LineItems = null; public Boolean OptedToPayCTADues = null; public String getUserId() { return UserId; } public UserObligation setUserId(String value) { this.UserId = value; return this; } public Integer getFiscalYear() { return FiscalYear; } public UserObligation setFiscalYear(Integer value) { this.FiscalYear = value; return this; } public String getGroupId() { return GroupId; } public UserObligation setGroupId(String value) { this.GroupId = value; return this; } public ArrayList getLineItems() { return LineItems; } public UserObligation setLineItems(ArrayList value) { this.LineItems = value; return this; } public Boolean isOptedToPayCTADues() { return OptedToPayCTADues; } public UserObligation setOptedToPayCTADues(Boolean value) { this.OptedToPayCTADues = value; return this; } private static Object responseType = ObligationResponse.class; public Object getResponseType() { return responseType; } } @Route(Path="/invoices/recurringInvoices/obligations", Verbs="PUT") public static class UserObligations extends ArrayList implements IReturn { private static Object responseType = ObligationResponse.class; public Object getResponseType() { return responseType; } } public static class ObligationResponse implements IHaveErrorField { public ArrayList ErrorDetails = null; public Boolean IsError = null; public Integer MemberCount = null; public BigDecimal TotalAmount = null; public ArrayList getErrorDetails() { return ErrorDetails; } public ObligationResponse setErrorDetails(ArrayList value) { this.ErrorDetails = value; return this; } public Boolean getIsError() { return IsError; } public ObligationResponse setIsError(Boolean value) { this.IsError = value; return this; } public Integer getMemberCount() { return MemberCount; } public ObligationResponse setMemberCount(Integer value) { this.MemberCount = value; return this; } public BigDecimal getTotalAmount() { return TotalAmount; } public ObligationResponse setTotalAmount(BigDecimal value) { this.TotalAmount = value; return this; } } public static interface IHaveErrorField { public Boolean IsError = null; } public static class ErrorDetail { public Integer Id = null; public String Message = null; public String Value = null; public Integer getId() { return Id; } public ErrorDetail setId(Integer value) { this.Id = value; return this; } public String getMessage() { return Message; } public ErrorDetail setMessage(String value) { this.Message = value; return this; } public String getValue() { return Value; } public ErrorDetail setValue(String value) { this.Value = value; return this; } } public static interface IHaveErrorField { public Boolean IsError = null; } }