/* Options: Date: 2026-11-08 11:38: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: SalesForceMemberCollection.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class RecurringInvoiceSettings implements IConvertible { String? DonationAmount; RecurringInvoiceSettings({this.DonationAmount}); RecurringInvoiceSettings.fromJson(Map json) { fromMap(json); } fromMap(Map json) { DonationAmount = json['DonationAmount']; return this; } Map toJson() => { 'DonationAmount': DonationAmount }; getTypeName() => "RecurringInvoiceSettings"; TypeContext? context = _ctx; } class SubscriberFormField implements IConvertible { int? FormTemplateFieldID; String? Name; String? Value; SubscriberFormField({this.FormTemplateFieldID,this.Name,this.Value}); SubscriberFormField.fromJson(Map json) { fromMap(json); } fromMap(Map json) { FormTemplateFieldID = json['FormTemplateFieldID']; Name = json['Name']; Value = json['Value']; return this; } Map toJson() => { 'FormTemplateFieldID': FormTemplateFieldID, 'Name': Name, 'Value': Value }; getTypeName() => "SubscriberFormField"; TypeContext? context = _ctx; } class AttributeItem implements IConvertible { String? Name; String? Value; AttributeItem({this.Name,this.Value}); AttributeItem.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Name = json['Name']; Value = json['Value']; return this; } Map toJson() => { 'Name': Name, 'Value': Value }; getTypeName() => "AttributeItem"; TypeContext? context = _ctx; } class Chapter implements IConvertible { String? GroupId; Chapter({this.GroupId}); Chapter.fromJson(Map json) { fromMap(json); } fromMap(Map json) { GroupId = json['GroupId']; return this; } Map toJson() => { 'GroupId': GroupId }; getTypeName() => "Chapter"; TypeContext? context = _ctx; } class SalesForceMember implements IConvertible { String? ClassName; String? UniqueId; DateTime? CreatedDateTime; int? ClientId; String? GroupId; String? UserId; String? AlternateUserId; int? BhUserId; String? FirstName; String? LastName; String? MiddleName; String? PreferredEmailAddress; String? OtherEmailAddress; String? PreferredPhoneNumber; String? PreferredAddress1; String? PreferredAddress2; String? PreferredCity; String? PreferredState; String? PreferredZip; String? PreferredCountry; String? AccessLevel; String? MemberStatus; String? MemberTypeClient; String? BillingType; int? FiscalYear; String? WorkLocation; DateTime? DOB; String? Paperless; String? DisplayName; String? DisableLogin; RecurringInvoiceSettings? RecurringInvoiceSettings; List? FormFields; List? Attributes; List? GroupList; SalesForceMember({this.ClassName,this.UniqueId,this.CreatedDateTime,this.ClientId,this.GroupId,this.UserId,this.AlternateUserId,this.BhUserId,this.FirstName,this.LastName,this.MiddleName,this.PreferredEmailAddress,this.OtherEmailAddress,this.PreferredPhoneNumber,this.PreferredAddress1,this.PreferredAddress2,this.PreferredCity,this.PreferredState,this.PreferredZip,this.PreferredCountry,this.AccessLevel,this.MemberStatus,this.MemberTypeClient,this.BillingType,this.FiscalYear,this.WorkLocation,this.DOB,this.Paperless,this.DisplayName,this.DisableLogin,this.RecurringInvoiceSettings,this.FormFields,this.Attributes,this.GroupList}); SalesForceMember.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ClassName = json['ClassName']; UniqueId = json['UniqueId']; CreatedDateTime = JsonConverters.fromJson(json['CreatedDateTime'],'DateTime',context!); ClientId = json['ClientId']; GroupId = json['GroupId']; UserId = json['UserId']; AlternateUserId = json['AlternateUserId']; BhUserId = json['BhUserId']; FirstName = json['FirstName']; LastName = json['LastName']; MiddleName = json['MiddleName']; PreferredEmailAddress = json['PreferredEmailAddress']; OtherEmailAddress = json['OtherEmailAddress']; PreferredPhoneNumber = json['PreferredPhoneNumber']; PreferredAddress1 = json['PreferredAddress1']; PreferredAddress2 = json['PreferredAddress2']; PreferredCity = json['PreferredCity']; PreferredState = json['PreferredState']; PreferredZip = json['PreferredZip']; PreferredCountry = json['PreferredCountry']; AccessLevel = json['AccessLevel']; MemberStatus = json['MemberStatus']; MemberTypeClient = json['MemberTypeClient']; BillingType = json['BillingType']; FiscalYear = json['FiscalYear']; WorkLocation = json['WorkLocation']; DOB = JsonConverters.fromJson(json['DOB'],'DateTime',context!); Paperless = json['Paperless']; DisplayName = json['DisplayName']; DisableLogin = json['DisableLogin']; RecurringInvoiceSettings = JsonConverters.fromJson(json['RecurringInvoiceSettings'],'RecurringInvoiceSettings',context!); FormFields = JsonConverters.fromJson(json['FormFields'],'List',context!); Attributes = JsonConverters.fromJson(json['Attributes'],'List',context!); GroupList = JsonConverters.fromJson(json['GroupList'],'List',context!); return this; } Map toJson() => { 'ClassName': ClassName, 'UniqueId': UniqueId, 'CreatedDateTime': JsonConverters.toJson(CreatedDateTime,'DateTime',context!), 'ClientId': ClientId, 'GroupId': GroupId, 'UserId': UserId, 'AlternateUserId': AlternateUserId, 'BhUserId': BhUserId, 'FirstName': FirstName, 'LastName': LastName, 'MiddleName': MiddleName, 'PreferredEmailAddress': PreferredEmailAddress, 'OtherEmailAddress': OtherEmailAddress, 'PreferredPhoneNumber': PreferredPhoneNumber, 'PreferredAddress1': PreferredAddress1, 'PreferredAddress2': PreferredAddress2, 'PreferredCity': PreferredCity, 'PreferredState': PreferredState, 'PreferredZip': PreferredZip, 'PreferredCountry': PreferredCountry, 'AccessLevel': AccessLevel, 'MemberStatus': MemberStatus, 'MemberTypeClient': MemberTypeClient, 'BillingType': BillingType, 'FiscalYear': FiscalYear, 'WorkLocation': WorkLocation, 'DOB': JsonConverters.toJson(DOB,'DateTime',context!), 'Paperless': Paperless, 'DisplayName': DisplayName, 'DisableLogin': DisableLogin, 'RecurringInvoiceSettings': JsonConverters.toJson(RecurringInvoiceSettings,'RecurringInvoiceSettings',context!), 'FormFields': JsonConverters.toJson(FormFields,'List',context!), 'Attributes': JsonConverters.toJson(Attributes,'List',context!), 'GroupList': JsonConverters.toJson(GroupList,'List',context!) }; getTypeName() => "SalesForceMember"; TypeContext? context = _ctx; } abstract class IHaveErrorField { bool? IsError; } abstract class IHaveErrorField { bool? IsError; } class SalesForceMemberReply implements IConvertible { String? ClassName; String? UniqueId; DateTime? CreatedDateTime; int? ClientId; int? ErrorCode; String? ErrorMessage; int? BillhighwayuserId; String? UserId; String? GroupId; SalesForceMemberReply({this.ClassName,this.UniqueId,this.CreatedDateTime,this.ClientId,this.ErrorCode,this.ErrorMessage,this.BillhighwayuserId,this.UserId,this.GroupId}); SalesForceMemberReply.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ClassName = json['ClassName']; UniqueId = json['UniqueId']; CreatedDateTime = JsonConverters.fromJson(json['CreatedDateTime'],'DateTime',context!); ClientId = json['ClientId']; ErrorCode = json['ErrorCode']; ErrorMessage = json['ErrorMessage']; BillhighwayuserId = json['BillhighwayuserId']; UserId = json['UserId']; GroupId = json['GroupId']; return this; } Map toJson() => { 'ClassName': ClassName, 'UniqueId': UniqueId, 'CreatedDateTime': JsonConverters.toJson(CreatedDateTime,'DateTime',context!), 'ClientId': ClientId, 'ErrorCode': ErrorCode, 'ErrorMessage': ErrorMessage, 'BillhighwayuserId': BillhighwayuserId, 'UserId': UserId, 'GroupId': GroupId }; getTypeName() => "SalesForceMemberReply"; TypeContext? context = _ctx; } class SubscriberFormField implements IConvertible { String? Name; String? Value; SubscriberFormField({this.Name,this.Value}); SubscriberFormField.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Name = json['Name']; Value = json['Value']; return this; } Map toJson() => { 'Name': Name, 'Value': Value }; getTypeName() => "SubscriberFormField"; TypeContext? context = _ctx; } class AttributeItem implements IConvertible { String? Name; String? Value; AttributeItem({this.Name,this.Value}); AttributeItem.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Name = json['Name']; Value = json['Value']; return this; } Map toJson() => { 'Name': Name, 'Value': Value }; getTypeName() => "AttributeItem"; TypeContext? context = _ctx; } class SalesForceMemberReplyCollection implements IHaveErrorField, IConvertible { List? MemberReply; bool? IsError; SalesForceMemberReplyCollection({this.MemberReply,this.IsError}); SalesForceMemberReplyCollection.fromJson(Map json) { fromMap(json); } fromMap(Map json) { MemberReply = JsonConverters.fromJson(json['MemberReply'],'List',context!); IsError = json['IsError']; return this; } Map toJson() => { 'MemberReply': JsonConverters.toJson(MemberReply,'List',context!), 'IsError': IsError }; getTypeName() => "SalesForceMemberReplyCollection"; TypeContext? context = _ctx; } // @Route("/api/SalesForce/Member", "POST") class SalesForceMemberCollection implements IReturn, IConvertible { List? Members; SalesForceMemberCollection({this.Members}); SalesForceMemberCollection.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Members = JsonConverters.fromJson(json['Members'],'List',context!); return this; } Map toJson() => { 'Members': JsonConverters.toJson(Members,'List',context!) }; createResponse() => SalesForceMemberReplyCollection(); getResponseTypeName() => "SalesForceMemberReplyCollection"; getTypeName() => "SalesForceMemberCollection"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'devapi.billhighway.com', types: { 'RecurringInvoiceSettings': TypeInfo(TypeOf.Class, create:() => RecurringInvoiceSettings()), 'SubscriberFormField': TypeInfo(TypeOf.Class, create:() => SubscriberFormField()), 'AttributeItem': TypeInfo(TypeOf.Class, create:() => AttributeItem()), 'Chapter': TypeInfo(TypeOf.Class, create:() => Chapter()), 'SalesForceMember': TypeInfo(TypeOf.Class, create:() => SalesForceMember()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'IHaveErrorField': TypeInfo(TypeOf.Interface), 'SalesForceMemberReply': TypeInfo(TypeOf.Class, create:() => SalesForceMemberReply()), 'SalesForceMemberReplyCollection': TypeInfo(TypeOf.Class, create:() => SalesForceMemberReplyCollection()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'SalesForceMemberCollection': TypeInfo(TypeOf.Class, create:() => SalesForceMemberCollection()), 'List': TypeInfo(TypeOf.Class, create:() => []), });