/* Options: Date: 2026-11-08 11:52:15 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: VerifyTokenRq.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class ApiClientHeader implements IConvertible { int? ClientId; String? Referrer; String? IpAddress; int? LoggedInUserId; int? GroupId; String? Task; String? Machine; String? Location; int? CreatedBy; int? CampaignId; double? ReCaptchaScore; ApiClientHeader({this.ClientId,this.Referrer,this.IpAddress,this.LoggedInUserId,this.GroupId,this.Task,this.Machine,this.Location,this.CreatedBy,this.CampaignId,this.ReCaptchaScore}); ApiClientHeader.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ClientId = json['ClientId']; Referrer = json['Referrer']; IpAddress = json['IpAddress']; LoggedInUserId = json['LoggedInUserId']; GroupId = json['GroupId']; Task = json['Task']; Machine = json['Machine']; Location = json['Location']; CreatedBy = json['CreatedBy']; CampaignId = json['CampaignId']; ReCaptchaScore = JsonConverters.toDouble(json['ReCaptchaScore']); return this; } Map toJson() => { 'ClientId': ClientId, 'Referrer': Referrer, 'IpAddress': IpAddress, 'LoggedInUserId': LoggedInUserId, 'GroupId': GroupId, 'Task': Task, 'Machine': Machine, 'Location': Location, 'CreatedBy': CreatedBy, 'CampaignId': CampaignId, 'ReCaptchaScore': ReCaptchaScore }; getTypeName() => "ApiClientHeader"; TypeContext? context = _ctx; } class VerifyTokenRs implements IConvertible { String? CardRef; bool? Success; String? Message; VerifyTokenRs({this.CardRef,this.Success,this.Message}); VerifyTokenRs.fromJson(Map json) { fromMap(json); } fromMap(Map json) { CardRef = json['CardRef']; Success = json['Success']; Message = json['Message']; return this; } Map toJson() => { 'CardRef': CardRef, 'Success': Success, 'Message': Message }; getTypeName() => "VerifyTokenRs"; TypeContext? context = _ctx; } // @Route("/integrations/api/{integrationType}/core/verifytoken", "POST") class VerifyTokenRq implements IReturn, IConvertible { ApiClientHeader? Header; String? IntegrationType; int? NationalId; int? ChapterId; int? IntegrationPartnerId; String? Token; String? VerificationTypes; VerifyTokenRq({this.Header,this.IntegrationType,this.NationalId,this.ChapterId,this.IntegrationPartnerId,this.Token,this.VerificationTypes}); VerifyTokenRq.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Header = JsonConverters.fromJson(json['Header'],'ApiClientHeader',context!); IntegrationType = json['IntegrationType']; NationalId = json['NationalId']; ChapterId = json['ChapterId']; IntegrationPartnerId = json['IntegrationPartnerId']; Token = json['Token']; VerificationTypes = json['VerificationTypes']; return this; } Map toJson() => { 'Header': JsonConverters.toJson(Header,'ApiClientHeader',context!), 'IntegrationType': IntegrationType, 'NationalId': NationalId, 'ChapterId': ChapterId, 'IntegrationPartnerId': IntegrationPartnerId, 'Token': Token, 'VerificationTypes': VerificationTypes }; createResponse() => VerifyTokenRs(); getResponseTypeName() => "VerifyTokenRs"; getTypeName() => "VerifyTokenRq"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'devapi.billhighway.com', types: { 'ApiClientHeader': TypeInfo(TypeOf.Class, create:() => ApiClientHeader()), 'VerifyTokenRs': TypeInfo(TypeOf.Class, create:() => VerifyTokenRs()), 'VerifyTokenRq': TypeInfo(TypeOf.Class, create:() => VerifyTokenRq()), });