/* Options: Date: 2026-11-08 12:02:37 Version: 5.140 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://devapi.billhighway.com //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: RecurringObligationTemplateGetRq.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:collection */ import 'package:servicestack/servicestack.dart'; import 'dart:collection'; class RecurringInvoiceModel implements IConvertible { int? ChapID; String? ClientGroupID; int? RecurringInvoiceID; int? MemTypeID; String? BillingTypeName; String? InvoiceDescription; double? Amount; String? ProcessingCurrency; String? FrequencyDescription; DateTime? EffectiveDate; DateTime? EndDate; DateTime? NextDueDate; String? donationCoaNum; String? donationCoaDesc; int? Donation_ChapBillCatID; int? FrequencyID; int? Monthly_DayOfMOnth; int? Weekly_DayOfWeek; int? SemiMonthly_DayOfMonth1; int? SemiMonthly_DayOfMonth2; bool? UseLastDayOfMonth; bool? IsActive; int? NumOccurences; RecurringInvoiceModel({this.ChapID,this.ClientGroupID,this.RecurringInvoiceID,this.MemTypeID,this.BillingTypeName,this.InvoiceDescription,this.Amount,this.ProcessingCurrency,this.FrequencyDescription,this.EffectiveDate,this.EndDate,this.NextDueDate,this.donationCoaNum,this.donationCoaDesc,this.Donation_ChapBillCatID,this.FrequencyID,this.Monthly_DayOfMOnth,this.Weekly_DayOfWeek,this.SemiMonthly_DayOfMonth1,this.SemiMonthly_DayOfMonth2,this.UseLastDayOfMonth,this.IsActive,this.NumOccurences}); RecurringInvoiceModel.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ChapID = json['ChapID']; ClientGroupID = json['ClientGroupID']; RecurringInvoiceID = json['RecurringInvoiceID']; MemTypeID = json['MemTypeID']; BillingTypeName = json['BillingTypeName']; InvoiceDescription = json['InvoiceDescription']; Amount = JsonConverters.toDouble(json['Amount']); ProcessingCurrency = json['ProcessingCurrency']; FrequencyDescription = json['FrequencyDescription']; EffectiveDate = JsonConverters.fromJson(json['EffectiveDate'],'DateTime',context!); EndDate = JsonConverters.fromJson(json['EndDate'],'DateTime',context!); NextDueDate = JsonConverters.fromJson(json['NextDueDate'],'DateTime',context!); donationCoaNum = json['donationCoaNum']; donationCoaDesc = json['donationCoaDesc']; Donation_ChapBillCatID = json['Donation_ChapBillCatID']; FrequencyID = json['FrequencyID']; Monthly_DayOfMOnth = json['Monthly_DayOfMOnth']; Weekly_DayOfWeek = json['Weekly_DayOfWeek']; SemiMonthly_DayOfMonth1 = json['SemiMonthly_DayOfMonth1']; SemiMonthly_DayOfMonth2 = json['SemiMonthly_DayOfMonth2']; UseLastDayOfMonth = json['UseLastDayOfMonth']; IsActive = json['IsActive']; NumOccurences = json['NumOccurences']; return this; } Map toJson() => { 'ChapID': ChapID, 'ClientGroupID': ClientGroupID, 'RecurringInvoiceID': RecurringInvoiceID, 'MemTypeID': MemTypeID, 'BillingTypeName': BillingTypeName, 'InvoiceDescription': InvoiceDescription, 'Amount': Amount, 'ProcessingCurrency': ProcessingCurrency, 'FrequencyDescription': FrequencyDescription, 'EffectiveDate': JsonConverters.toJson(EffectiveDate,'DateTime',context!), 'EndDate': JsonConverters.toJson(EndDate,'DateTime',context!), 'NextDueDate': JsonConverters.toJson(NextDueDate,'DateTime',context!), 'donationCoaNum': donationCoaNum, 'donationCoaDesc': donationCoaDesc, 'Donation_ChapBillCatID': Donation_ChapBillCatID, 'FrequencyID': FrequencyID, 'Monthly_DayOfMOnth': Monthly_DayOfMOnth, 'Weekly_DayOfWeek': Weekly_DayOfWeek, 'SemiMonthly_DayOfMonth1': SemiMonthly_DayOfMonth1, 'SemiMonthly_DayOfMonth2': SemiMonthly_DayOfMonth2, 'UseLastDayOfMonth': UseLastDayOfMonth, 'IsActive': IsActive, 'NumOccurences': NumOccurences }; getTypeName() => "RecurringInvoiceModel"; TypeContext? context = _ctx; } class FiscalYearItem implements IConvertible { int? Year; DateTime? BeginDate; DateTime? EndDate; FiscalYearItem({this.Year,this.BeginDate,this.EndDate}); FiscalYearItem.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Year = json['Year']; BeginDate = JsonConverters.fromJson(json['BeginDate'],'DateTime',context!); EndDate = JsonConverters.fromJson(json['EndDate'],'DateTime',context!); return this; } Map toJson() => { 'Year': Year, 'BeginDate': JsonConverters.toJson(BeginDate,'DateTime',context!), 'EndDate': JsonConverters.toJson(EndDate,'DateTime',context!) }; getTypeName() => "FiscalYearItem"; TypeContext? context = _ctx; } class RecurringObligationInvoiceTemplateItem implements IConvertible { int? RecurringObligationTemplateItemId; int? RecurringObligationInvoiceTemplateItemId; int? RecurringObligationInvoiceTemplateId; double? Amount; int? ChapBillCatId; String? Name; RecurringObligationInvoiceTemplateItem({this.RecurringObligationTemplateItemId,this.RecurringObligationInvoiceTemplateItemId,this.RecurringObligationInvoiceTemplateId,this.Amount,this.ChapBillCatId,this.Name}); RecurringObligationInvoiceTemplateItem.fromJson(Map json) { fromMap(json); } fromMap(Map json) { RecurringObligationTemplateItemId = json['RecurringObligationTemplateItemId']; RecurringObligationInvoiceTemplateItemId = json['RecurringObligationInvoiceTemplateItemId']; RecurringObligationInvoiceTemplateId = json['RecurringObligationInvoiceTemplateId']; Amount = JsonConverters.toDouble(json['Amount']); ChapBillCatId = json['ChapBillCatId']; Name = json['Name']; return this; } Map toJson() => { 'RecurringObligationTemplateItemId': RecurringObligationTemplateItemId, 'RecurringObligationInvoiceTemplateItemId': RecurringObligationInvoiceTemplateItemId, 'RecurringObligationInvoiceTemplateId': RecurringObligationInvoiceTemplateId, 'Amount': Amount, 'ChapBillCatId': ChapBillCatId, 'Name': Name }; getTypeName() => "RecurringObligationInvoiceTemplateItem"; TypeContext? context = _ctx; } class RecurringObligationInvoiceTemplate implements IConvertible { int? RecurringObligationTemplateId; int? RecurringObligationInvoiceTemplateId; int? NationalId; int? MemberTypeClientId; FiscalYearItem? FiscalYear; int? ChapId; bool? IsDeleted; String? Name; List? RecurringObligationInvoiceTemplateItems; RecurringObligationInvoiceTemplate({this.RecurringObligationTemplateId,this.RecurringObligationInvoiceTemplateId,this.NationalId,this.MemberTypeClientId,this.FiscalYear,this.ChapId,this.IsDeleted,this.Name,this.RecurringObligationInvoiceTemplateItems}); RecurringObligationInvoiceTemplate.fromJson(Map json) { fromMap(json); } fromMap(Map json) { RecurringObligationTemplateId = json['RecurringObligationTemplateId']; RecurringObligationInvoiceTemplateId = json['RecurringObligationInvoiceTemplateId']; NationalId = json['NationalId']; MemberTypeClientId = json['MemberTypeClientId']; FiscalYear = JsonConverters.fromJson(json['FiscalYear'],'FiscalYearItem',context!); ChapId = json['ChapId']; IsDeleted = json['IsDeleted']; Name = json['Name']; RecurringObligationInvoiceTemplateItems = JsonConverters.fromJson(json['RecurringObligationInvoiceTemplateItems'],'List',context!); return this; } Map toJson() => { 'RecurringObligationTemplateId': RecurringObligationTemplateId, 'RecurringObligationInvoiceTemplateId': RecurringObligationInvoiceTemplateId, 'NationalId': NationalId, 'MemberTypeClientId': MemberTypeClientId, 'FiscalYear': JsonConverters.toJson(FiscalYear,'FiscalYearItem',context!), 'ChapId': ChapId, 'IsDeleted': IsDeleted, 'Name': Name, 'RecurringObligationInvoiceTemplateItems': JsonConverters.toJson(RecurringObligationInvoiceTemplateItems,'List',context!) }; getTypeName() => "RecurringObligationInvoiceTemplate"; TypeContext? context = _ctx; } class RecurringObligationChapBillCatDetail implements IConvertible { int? ChapBillCatId; String? ChapBillCatDesc; int? NatId; bool? IsContribution; int? CalcTypeId; List>? DonationAmounts; String? ChartOfAccountRefId; RecurringObligationChapBillCatDetail({this.ChapBillCatId,this.ChapBillCatDesc,this.NatId,this.IsContribution,this.CalcTypeId,this.DonationAmounts,this.ChartOfAccountRefId}); RecurringObligationChapBillCatDetail.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ChapBillCatId = json['ChapBillCatId']; ChapBillCatDesc = json['ChapBillCatDesc']; NatId = json['NatId']; IsContribution = json['IsContribution']; CalcTypeId = json['CalcTypeId']; DonationAmounts = JsonConverters.fromJson(json['DonationAmounts'],'List>',context!); ChartOfAccountRefId = json['ChartOfAccountRefId']; return this; } Map toJson() => { 'ChapBillCatId': ChapBillCatId, 'ChapBillCatDesc': ChapBillCatDesc, 'NatId': NatId, 'IsContribution': IsContribution, 'CalcTypeId': CalcTypeId, 'DonationAmounts': JsonConverters.toJson(DonationAmounts,'List>',context!), 'ChartOfAccountRefId': ChartOfAccountRefId }; getTypeName() => "RecurringObligationChapBillCatDetail"; TypeContext? context = _ctx; } class RecurringObligationWrapper implements IConvertible { List? RecurringInvoices; List? RecurringObligationTemplates; List? RecurringObligationChapBillCatDetail; RecurringObligationWrapper({this.RecurringInvoices,this.RecurringObligationTemplates,this.RecurringObligationChapBillCatDetail}); RecurringObligationWrapper.fromJson(Map json) { fromMap(json); } fromMap(Map json) { RecurringInvoices = JsonConverters.fromJson(json['RecurringInvoices'],'List',context!); RecurringObligationTemplates = JsonConverters.fromJson(json['RecurringObligationTemplates'],'List',context!); RecurringObligationChapBillCatDetail = JsonConverters.fromJson(json['RecurringObligationChapBillCatDetail'],'List',context!); return this; } Map toJson() => { 'RecurringInvoices': JsonConverters.toJson(RecurringInvoices,'List',context!), 'RecurringObligationTemplates': JsonConverters.toJson(RecurringObligationTemplates,'List',context!), 'RecurringObligationChapBillCatDetail': JsonConverters.toJson(RecurringObligationChapBillCatDetail,'List',context!) }; getTypeName() => "RecurringObligationWrapper"; TypeContext? context = _ctx; } class RecurringObligationTemplateGetRs implements IConvertible { RecurringObligationWrapper? RecurringObligations; RecurringObligationTemplateGetRs({this.RecurringObligations}); RecurringObligationTemplateGetRs.fromJson(Map json) { fromMap(json); } fromMap(Map json) { RecurringObligations = JsonConverters.fromJson(json['RecurringObligations'],'RecurringObligationWrapper',context!); return this; } Map toJson() => { 'RecurringObligations': JsonConverters.toJson(RecurringObligations,'RecurringObligationWrapper',context!) }; getTypeName() => "RecurringObligationTemplateGetRs"; TypeContext? context = _ctx; } // @Route("/signup/api/nat/{natID}/recurring/obligation/templates", "GET") // @Route("/signup/api/nat/{natID}/group/{groupId}/recurring/obligation/templates", "GET") // @Route("/signup/api/nat/{natID}/group/{groupId}/{usertype}/user/{userid}/recurring/obligation/templates", "GET") class RecurringObligationTemplateGetRq implements IReturn, IConvertible { int? NatID; int? GroupId; String? UserId; String? UserType; RecurringObligationTemplateGetRq({this.NatID,this.GroupId,this.UserId,this.UserType}); RecurringObligationTemplateGetRq.fromJson(Map json) { fromMap(json); } fromMap(Map json) { NatID = json['NatID']; GroupId = json['GroupId']; UserId = json['UserId']; UserType = json['UserType']; return this; } Map toJson() => { 'NatID': NatID, 'GroupId': GroupId, 'UserId': UserId, 'UserType': UserType }; createResponse() => RecurringObligationTemplateGetRs(); getResponseTypeName() => "RecurringObligationTemplateGetRs"; getTypeName() => "RecurringObligationTemplateGetRq"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'devapi.billhighway.com', types: { 'RecurringInvoiceModel': TypeInfo(TypeOf.Class, create:() => RecurringInvoiceModel()), 'FiscalYearItem': TypeInfo(TypeOf.Class, create:() => FiscalYearItem()), 'RecurringObligationInvoiceTemplateItem': TypeInfo(TypeOf.Class, create:() => RecurringObligationInvoiceTemplateItem()), 'RecurringObligationInvoiceTemplate': TypeInfo(TypeOf.Class, create:() => RecurringObligationInvoiceTemplate()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'RecurringObligationChapBillCatDetail': TypeInfo(TypeOf.Class, create:() => RecurringObligationChapBillCatDetail()), 'List>': TypeInfo(TypeOf.Class, create:() => >[]), 'KeyValuePair': TypeInfo(TypeOf.Class, create:() => KeyValuePair()), 'RecurringObligationWrapper': TypeInfo(TypeOf.Class, create:() => RecurringObligationWrapper()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'RecurringObligationTemplateGetRs': TypeInfo(TypeOf.Class, create:() => RecurringObligationTemplateGetRs()), 'RecurringObligationTemplateGetRq': TypeInfo(TypeOf.Class, create:() => RecurringObligationTemplateGetRq()), });