/* Options: Date: 2025-12-06 07:07:10 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.dev.dynamics.trendsic.com //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: AgentRegistrationTempRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class AgentRegistrationTemp implements IConvertible { int? AgentRegistrationTempId; String? ApplicationId; String? Company; String? EIN; String? FirstName; String? MiddleName; String? LastName; String? Address1; String? Address2; String? City; String? State; String? Zip; String? Email; String? HomePhone; String? CellPhone; String? WorkPhone; bool? AgreeToDisclosures; DateTime? AgreeToDate; DateTime? PaidDate; String? AgentNumber; String? Upline1Name; int? Upline1; String? Upline2Name; int? Upline2; String? RecruitedBy; DateTime? CreatedDate; DateTime? DOB; String? SSN; String? Password; double? Upline1Percent; double? Upline2Percent; int? AgentId; String? AccountName; String? AccountType; String? AccountNumber; String? AccountRouting; String? w9_1; String? w9_2; String? w9_3_1; String? w9_3_2; String? w9_3_3; String? w9_3_4; String? w9_3_5; String? w9_3_6; String? w9_3_7; String? w9_3_8; String? w9_4_1; String? w9_4_2; String? w9_5; String? w9_6; String? w9_7; bool? IsSecurityLicensed; String? SecurityLicense; String? Position; String? School; String? District; String? StoreName; AgentRegistrationTemp({this.AgentRegistrationTempId,this.ApplicationId,this.Company,this.EIN,this.FirstName,this.MiddleName,this.LastName,this.Address1,this.Address2,this.City,this.State,this.Zip,this.Email,this.HomePhone,this.CellPhone,this.WorkPhone,this.AgreeToDisclosures,this.AgreeToDate,this.PaidDate,this.AgentNumber,this.Upline1Name,this.Upline1,this.Upline2Name,this.Upline2,this.RecruitedBy,this.CreatedDate,this.DOB,this.SSN,this.Password,this.Upline1Percent,this.Upline2Percent,this.AgentId,this.AccountName,this.AccountType,this.AccountNumber,this.AccountRouting,this.w9_1,this.w9_2,this.w9_3_1,this.w9_3_2,this.w9_3_3,this.w9_3_4,this.w9_3_5,this.w9_3_6,this.w9_3_7,this.w9_3_8,this.w9_4_1,this.w9_4_2,this.w9_5,this.w9_6,this.w9_7,this.IsSecurityLicensed,this.SecurityLicense,this.Position,this.School,this.District,this.StoreName}); AgentRegistrationTemp.fromJson(Map json) { fromMap(json); } fromMap(Map json) { AgentRegistrationTempId = json['AgentRegistrationTempId']; ApplicationId = json['ApplicationId']; Company = json['Company']; EIN = json['EIN']; FirstName = json['FirstName']; MiddleName = json['MiddleName']; LastName = json['LastName']; Address1 = json['Address1']; Address2 = json['Address2']; City = json['City']; State = json['State']; Zip = json['Zip']; Email = json['Email']; HomePhone = json['HomePhone']; CellPhone = json['CellPhone']; WorkPhone = json['WorkPhone']; AgreeToDisclosures = json['AgreeToDisclosures']; AgreeToDate = JsonConverters.fromJson(json['AgreeToDate'],'DateTime',context!); PaidDate = JsonConverters.fromJson(json['PaidDate'],'DateTime',context!); AgentNumber = json['AgentNumber']; Upline1Name = json['Upline1Name']; Upline1 = json['Upline1']; Upline2Name = json['Upline2Name']; Upline2 = json['Upline2']; RecruitedBy = json['RecruitedBy']; CreatedDate = JsonConverters.fromJson(json['CreatedDate'],'DateTime',context!); DOB = JsonConverters.fromJson(json['DOB'],'DateTime',context!); SSN = json['SSN']; Password = json['Password']; Upline1Percent = JsonConverters.toDouble(json['Upline1Percent']); Upline2Percent = JsonConverters.toDouble(json['Upline2Percent']); AgentId = json['AgentId']; AccountName = json['AccountName']; AccountType = json['AccountType']; AccountNumber = json['AccountNumber']; AccountRouting = json['AccountRouting']; w9_1 = json['w9_1']; w9_2 = json['w9_2']; w9_3_1 = json['w9_3_1']; w9_3_2 = json['w9_3_2']; w9_3_3 = json['w9_3_3']; w9_3_4 = json['w9_3_4']; w9_3_5 = json['w9_3_5']; w9_3_6 = json['w9_3_6']; w9_3_7 = json['w9_3_7']; w9_3_8 = json['w9_3_8']; w9_4_1 = json['w9_4_1']; w9_4_2 = json['w9_4_2']; w9_5 = json['w9_5']; w9_6 = json['w9_6']; w9_7 = json['w9_7']; IsSecurityLicensed = json['IsSecurityLicensed']; SecurityLicense = json['SecurityLicense']; Position = json['Position']; School = json['School']; District = json['District']; StoreName = json['StoreName']; return this; } Map toJson() => { 'AgentRegistrationTempId': AgentRegistrationTempId, 'ApplicationId': ApplicationId, 'Company': Company, 'EIN': EIN, 'FirstName': FirstName, 'MiddleName': MiddleName, 'LastName': LastName, 'Address1': Address1, 'Address2': Address2, 'City': City, 'State': State, 'Zip': Zip, 'Email': Email, 'HomePhone': HomePhone, 'CellPhone': CellPhone, 'WorkPhone': WorkPhone, 'AgreeToDisclosures': AgreeToDisclosures, 'AgreeToDate': JsonConverters.toJson(AgreeToDate,'DateTime',context!), 'PaidDate': JsonConverters.toJson(PaidDate,'DateTime',context!), 'AgentNumber': AgentNumber, 'Upline1Name': Upline1Name, 'Upline1': Upline1, 'Upline2Name': Upline2Name, 'Upline2': Upline2, 'RecruitedBy': RecruitedBy, 'CreatedDate': JsonConverters.toJson(CreatedDate,'DateTime',context!), 'DOB': JsonConverters.toJson(DOB,'DateTime',context!), 'SSN': SSN, 'Password': Password, 'Upline1Percent': Upline1Percent, 'Upline2Percent': Upline2Percent, 'AgentId': AgentId, 'AccountName': AccountName, 'AccountType': AccountType, 'AccountNumber': AccountNumber, 'AccountRouting': AccountRouting, 'w9_1': w9_1, 'w9_2': w9_2, 'w9_3_1': w9_3_1, 'w9_3_2': w9_3_2, 'w9_3_3': w9_3_3, 'w9_3_4': w9_3_4, 'w9_3_5': w9_3_5, 'w9_3_6': w9_3_6, 'w9_3_7': w9_3_7, 'w9_3_8': w9_3_8, 'w9_4_1': w9_4_1, 'w9_4_2': w9_4_2, 'w9_5': w9_5, 'w9_6': w9_6, 'w9_7': w9_7, 'IsSecurityLicensed': IsSecurityLicensed, 'SecurityLicense': SecurityLicense, 'Position': Position, 'School': School, 'District': District, 'StoreName': StoreName }; getTypeName() => "AgentRegistrationTemp"; TypeContext? context = _ctx; } class AgentRegistrationTempResponse implements IConvertible { bool? Success; String? Message; ResponseStatus? ResponseStatus; int? AgentRegistrationTempId; AgentRegistrationTempResponse({this.Success,this.Message,this.ResponseStatus,this.AgentRegistrationTempId}); AgentRegistrationTempResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Success = json['Success']; Message = json['Message']; ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); AgentRegistrationTempId = json['AgentRegistrationTempId']; return this; } Map toJson() => { 'Success': Success, 'Message': Message, 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!), 'AgentRegistrationTempId': AgentRegistrationTempId }; getTypeName() => "AgentRegistrationTempResponse"; TypeContext? context = _ctx; } // @Route("/v1/AgentRegistrationTemp", "POST,OPTIONS") class AgentRegistrationTempRequest extends AgentRegistrationTemp implements IReturn, IConvertible, IPost { AgentRegistrationTempRequest(); AgentRegistrationTempRequest.fromJson(Map json) : super.fromJson(json); fromMap(Map json) { super.fromMap(json); return this; } Map toJson() => super.toJson(); createResponse() => AgentRegistrationTempResponse(); getResponseTypeName() => "AgentRegistrationTempResponse"; getTypeName() => "AgentRegistrationTempRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'AgentRegistrationTemp': TypeInfo(TypeOf.Class, create:() => AgentRegistrationTemp()), 'AgentRegistrationTempResponse': TypeInfo(TypeOf.Class, create:() => AgentRegistrationTempResponse()), 'AgentRegistrationTempRequest': TypeInfo(TypeOf.Class, create:() => AgentRegistrationTempRequest()), });