/* Options: Date: 2024-12-03 17:29:31 Version: 6.40 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://cip-reporting-preview.chargeitpro.com //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: ReconTotalSummary.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class ReconSummary implements IConvertible { DateTime? BizDate; String? ComputerName; String? SerialNumber; String? TransactionType; double? Amount; double? Debit; double? Amex; double? NoAmex; double? DebitCount; double? AmexCount; double? NoAmexCount; String? LocationId; String? LocationName; double? ReconAmt; String? Notes; String? _id; bool? inMongo; String? Route; int? UniqueTransID; bool? MissingTransaction; int? TotalCount; int? MaxUniqueTransID; DateTime? ComputerDateTime; DateTime? TerminalDateTime; int? CompTermMinDiff; DateTime? DepDate; String? CipServerTrans; ReconSummary({this.BizDate,this.ComputerName,this.SerialNumber,this.TransactionType,this.Amount,this.Debit,this.Amex,this.NoAmex,this.DebitCount,this.AmexCount,this.NoAmexCount,this.LocationId,this.LocationName,this.ReconAmt,this.Notes,this._id,this.inMongo,this.Route,this.UniqueTransID,this.MissingTransaction,this.TotalCount,this.MaxUniqueTransID,this.ComputerDateTime,this.TerminalDateTime,this.CompTermMinDiff,this.DepDate,this.CipServerTrans}); ReconSummary.fromJson(Map json) { fromMap(json); } fromMap(Map json) { BizDate = JsonConverters.fromJson(json['BizDate'],'DateTime',context!); ComputerName = json['ComputerName']; SerialNumber = json['SerialNumber']; TransactionType = json['TransactionType']; Amount = JsonConverters.toDouble(json['Amount']); Debit = JsonConverters.toDouble(json['Debit']); Amex = JsonConverters.toDouble(json['Amex']); NoAmex = JsonConverters.toDouble(json['NoAmex']); DebitCount = JsonConverters.toDouble(json['DebitCount']); AmexCount = JsonConverters.toDouble(json['AmexCount']); NoAmexCount = JsonConverters.toDouble(json['NoAmexCount']); LocationId = json['LocationId']; LocationName = json['LocationName']; ReconAmt = JsonConverters.toDouble(json['ReconAmt']); Notes = json['Notes']; _id = json['_id']; inMongo = json['inMongo']; Route = json['Route']; UniqueTransID = json['UniqueTransID']; MissingTransaction = json['MissingTransaction']; TotalCount = json['TotalCount']; MaxUniqueTransID = json['MaxUniqueTransID']; ComputerDateTime = JsonConverters.fromJson(json['ComputerDateTime'],'DateTime',context!); TerminalDateTime = JsonConverters.fromJson(json['TerminalDateTime'],'DateTime',context!); CompTermMinDiff = json['CompTermMinDiff']; DepDate = JsonConverters.fromJson(json['DepDate'],'DateTime',context!); CipServerTrans = json['CipServerTrans']; return this; } Map toJson() => { 'BizDate': JsonConverters.toJson(BizDate,'DateTime',context!), 'ComputerName': ComputerName, 'SerialNumber': SerialNumber, 'TransactionType': TransactionType, 'Amount': Amount, 'Debit': Debit, 'Amex': Amex, 'NoAmex': NoAmex, 'DebitCount': DebitCount, 'AmexCount': AmexCount, 'NoAmexCount': NoAmexCount, 'LocationId': LocationId, 'LocationName': LocationName, 'ReconAmt': ReconAmt, 'Notes': Notes, '_id': _id, 'inMongo': inMongo, 'Route': Route, 'UniqueTransID': UniqueTransID, 'MissingTransaction': MissingTransaction, 'TotalCount': TotalCount, 'MaxUniqueTransID': MaxUniqueTransID, 'ComputerDateTime': JsonConverters.toJson(ComputerDateTime,'DateTime',context!), 'TerminalDateTime': JsonConverters.toJson(TerminalDateTime,'DateTime',context!), 'CompTermMinDiff': CompTermMinDiff, 'DepDate': JsonConverters.toJson(DepDate,'DateTime',context!), 'CipServerTrans': CipServerTrans }; getTypeName() => "ReconSummary"; TypeContext? context = _ctx; } class ReconSummaryDate implements IConvertible { DateTime? BizDate; double? SubTotal; double? DebitTotal; double? AmexTotal; double? NoAmexTotal; int? DebitCount; int? AmexCount; int? NoAmexCount; List? ReconSummary; DateTime? DepDate; ReconSummaryDate({this.BizDate,this.SubTotal,this.DebitTotal,this.AmexTotal,this.NoAmexTotal,this.DebitCount,this.AmexCount,this.NoAmexCount,this.ReconSummary,this.DepDate}); ReconSummaryDate.fromJson(Map json) { fromMap(json); } fromMap(Map json) { BizDate = JsonConverters.fromJson(json['BizDate'],'DateTime',context!); SubTotal = JsonConverters.toDouble(json['SubTotal']); DebitTotal = JsonConverters.toDouble(json['DebitTotal']); AmexTotal = JsonConverters.toDouble(json['AmexTotal']); NoAmexTotal = JsonConverters.toDouble(json['NoAmexTotal']); DebitCount = json['DebitCount']; AmexCount = json['AmexCount']; NoAmexCount = json['NoAmexCount']; ReconSummary = JsonConverters.fromJson(json['ReconSummary'],'List',context!); DepDate = JsonConverters.fromJson(json['DepDate'],'DateTime',context!); return this; } Map toJson() => { 'BizDate': JsonConverters.toJson(BizDate,'DateTime',context!), 'SubTotal': SubTotal, 'DebitTotal': DebitTotal, 'AmexTotal': AmexTotal, 'NoAmexTotal': NoAmexTotal, 'DebitCount': DebitCount, 'AmexCount': AmexCount, 'NoAmexCount': NoAmexCount, 'ReconSummary': JsonConverters.toJson(ReconSummary,'List',context!), 'DepDate': JsonConverters.toJson(DepDate,'DateTime',context!) }; getTypeName() => "ReconSummaryDate"; TypeContext? context = _ctx; } // @Route("/Recon") class ReconTotalSummary implements IConvertible { List? ReconSummaryDate; String? Lid; String? LocationName; ReconTotalSummary({this.ReconSummaryDate,this.Lid,this.LocationName}); ReconTotalSummary.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ReconSummaryDate = JsonConverters.fromJson(json['ReconSummaryDate'],'List',context!); Lid = json['Lid']; LocationName = json['LocationName']; return this; } Map toJson() => { 'ReconSummaryDate': JsonConverters.toJson(ReconSummaryDate,'List',context!), 'Lid': Lid, 'LocationName': LocationName }; getTypeName() => "ReconTotalSummary"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'cip_reporting_preview.chargeitpro.com', types: { 'ReconSummary': TypeInfo(TypeOf.Class, create:() => ReconSummary()), 'ReconSummaryDate': TypeInfo(TypeOf.Class, create:() => ReconSummaryDate()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'ReconTotalSummary': TypeInfo(TypeOf.Class, create:() => ReconTotalSummary()), 'List': TypeInfo(TypeOf.Class, create:() => []), });