/* Options: Date: 2026-10-11 23:58:29 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: CourierOrderCreateRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class CourierOrderRuleView implements IConvertible { int? PingSecs; int? MissedWaitMin; double? MissedFee; double? CancelFee; bool? MissedAutoRebook; bool? MissedRequireContact; bool? MissedRequirePhoto; String? PayTiming; bool? FinalPriceAfterCount; String? PayPlanName; double? PerPickup; double? PerStop; double? PerMissed; double? PerCancel; DateTime? AcceptedUtc; Map? Proof = {}; CourierOrderRuleView({this.PingSecs,this.MissedWaitMin,this.MissedFee,this.CancelFee,this.MissedAutoRebook,this.MissedRequireContact,this.MissedRequirePhoto,this.PayTiming,this.FinalPriceAfterCount,this.PayPlanName,this.PerPickup,this.PerStop,this.PerMissed,this.PerCancel,this.AcceptedUtc,this.Proof}); CourierOrderRuleView.fromJson(Map json) { fromMap(json); } fromMap(Map json) { PingSecs = json['PingSecs']; MissedWaitMin = json['MissedWaitMin']; MissedFee = JsonConverters.toDouble(json['MissedFee']); CancelFee = JsonConverters.toDouble(json['CancelFee']); MissedAutoRebook = json['MissedAutoRebook']; MissedRequireContact = json['MissedRequireContact']; MissedRequirePhoto = json['MissedRequirePhoto']; PayTiming = json['PayTiming']; FinalPriceAfterCount = json['FinalPriceAfterCount']; PayPlanName = json['PayPlanName']; PerPickup = JsonConverters.toDouble(json['PerPickup']); PerStop = JsonConverters.toDouble(json['PerStop']); PerMissed = JsonConverters.toDouble(json['PerMissed']); PerCancel = JsonConverters.toDouble(json['PerCancel']); AcceptedUtc = JsonConverters.fromJson(json['AcceptedUtc'],'DateTime',context!); Proof = JsonConverters.toStringMap(json['Proof']); return this; } Map toJson() => { 'PingSecs': PingSecs, 'MissedWaitMin': MissedWaitMin, 'MissedFee': MissedFee, 'CancelFee': CancelFee, 'MissedAutoRebook': MissedAutoRebook, 'MissedRequireContact': MissedRequireContact, 'MissedRequirePhoto': MissedRequirePhoto, 'PayTiming': PayTiming, 'FinalPriceAfterCount': FinalPriceAfterCount, 'PayPlanName': PayPlanName, 'PerPickup': PerPickup, 'PerStop': PerStop, 'PerMissed': PerMissed, 'PerCancel': PerCancel, 'AcceptedUtc': JsonConverters.toJson(AcceptedUtc,'DateTime',context!), 'Proof': Proof }; getTypeName() => "CourierOrderRuleView"; TypeContext? context = _ctx; } class CourierItemView implements IConvertible { int? CourierItemID; int? DispatchOdRequestID; int? Seq; String? TagCode; String? Custody; bool? IsOpen; bool? IsMissing; String? MissingReason; bool? IsManual; bool? ReTagFlag; bool? Scanned; CourierItemView({this.CourierItemID,this.DispatchOdRequestID,this.Seq,this.TagCode,this.Custody,this.IsOpen,this.IsMissing,this.MissingReason,this.IsManual,this.ReTagFlag,this.Scanned}); CourierItemView.fromJson(Map json) { fromMap(json); } fromMap(Map json) { CourierItemID = json['CourierItemID']; DispatchOdRequestID = json['DispatchOdRequestID']; Seq = json['Seq']; TagCode = json['TagCode']; Custody = json['Custody']; IsOpen = json['IsOpen']; IsMissing = json['IsMissing']; MissingReason = json['MissingReason']; IsManual = json['IsManual']; ReTagFlag = json['ReTagFlag']; Scanned = json['Scanned']; return this; } Map toJson() => { 'CourierItemID': CourierItemID, 'DispatchOdRequestID': DispatchOdRequestID, 'Seq': Seq, 'TagCode': TagCode, 'Custody': Custody, 'IsOpen': IsOpen, 'IsMissing': IsMissing, 'MissingReason': MissingReason, 'IsManual': IsManual, 'ReTagFlag': ReTagFlag, 'Scanned': Scanned }; getTypeName() => "CourierItemView"; TypeContext? context = _ctx; } class CourierScanView implements IConvertible { String? TagCode; String? Stage; String? Result; DateTime? AtUtc; CourierScanView({this.TagCode,this.Stage,this.Result,this.AtUtc}); CourierScanView.fromJson(Map json) { fromMap(json); } fromMap(Map json) { TagCode = json['TagCode']; Stage = json['Stage']; Result = json['Result']; AtUtc = JsonConverters.fromJson(json['AtUtc'],'DateTime',context!); return this; } Map toJson() => { 'TagCode': TagCode, 'Stage': Stage, 'Result': Result, 'AtUtc': JsonConverters.toJson(AtUtc,'DateTime',context!) }; getTypeName() => "CourierScanView"; TypeContext? context = _ctx; } class CourierProofResultView implements IConvertible { String? Stage; String? StepKey; String? Value; DateTime? AtUtc; CourierProofResultView({this.Stage,this.StepKey,this.Value,this.AtUtc}); CourierProofResultView.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Stage = json['Stage']; StepKey = json['StepKey']; Value = json['Value']; AtUtc = JsonConverters.fromJson(json['AtUtc'],'DateTime',context!); return this; } Map toJson() => { 'Stage': Stage, 'StepKey': StepKey, 'Value': Value, 'AtUtc': JsonConverters.toJson(AtUtc,'DateTime',context!) }; getTypeName() => "CourierProofResultView"; TypeContext? context = _ctx; } class CourierEventView implements IConvertible { String? Kind; String? Party; String? Body; DateTime? AtUtc; CourierEventView({this.Kind,this.Party,this.Body,this.AtUtc}); CourierEventView.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Kind = json['Kind']; Party = json['Party']; Body = json['Body']; AtUtc = JsonConverters.fromJson(json['AtUtc'],'DateTime',context!); return this; } Map toJson() => { 'Kind': Kind, 'Party': Party, 'Body': Body, 'AtUtc': JsonConverters.toJson(AtUtc,'DateTime',context!) }; getTypeName() => "CourierEventView"; TypeContext? context = _ctx; } class CourierPhotoView implements IConvertible { int? PhotoId; String? Kind; String? FileName; String? Url; DateTime? TakenUtc; CourierPhotoView({this.PhotoId,this.Kind,this.FileName,this.Url,this.TakenUtc}); CourierPhotoView.fromJson(Map json) { fromMap(json); } fromMap(Map json) { PhotoId = json['PhotoId']; Kind = json['Kind']; FileName = json['FileName']; Url = json['Url']; TakenUtc = JsonConverters.fromJson(json['TakenUtc'],'DateTime',context!); return this; } Map toJson() => { 'PhotoId': PhotoId, 'Kind': Kind, 'FileName': FileName, 'Url': Url, 'TakenUtc': JsonConverters.toJson(TakenUtc,'DateTime',context!) }; getTypeName() => "CourierPhotoView"; TypeContext? context = _ctx; } class CourierPayLineView implements IConvertible { int? DispatchLoadID; String? Kind; String? Label; double? Qty; double? Rate; double? Amount; CourierPayLineView({this.DispatchLoadID,this.Kind,this.Label,this.Qty,this.Rate,this.Amount}); CourierPayLineView.fromJson(Map json) { fromMap(json); } fromMap(Map json) { DispatchLoadID = json['DispatchLoadID']; Kind = json['Kind']; Label = json['Label']; Qty = JsonConverters.toDouble(json['Qty']); Rate = JsonConverters.toDouble(json['Rate']); Amount = JsonConverters.toDouble(json['Amount']); return this; } Map toJson() => { 'DispatchLoadID': DispatchLoadID, 'Kind': Kind, 'Label': Label, 'Qty': Qty, 'Rate': Rate, 'Amount': Amount }; getTypeName() => "CourierPayLineView"; TypeContext? context = _ctx; } class CourierOrderView implements IConvertible { int? DispatchOdRequestID; String? Code; int? CourierProfileId; String? ProfileName; String? RouteShape; String? UnitOne; String? UnitMany; int? CourierFacilityId; String? FacilityName; String? ServiceLevelCode; String? LevelName; String? Source; String? Address; String? Unit; String? City; String? Zip; String? Zone; String? PickupContactName; String? DropoffAddress; String? DropoffUnit; String? DropoffCity; String? DropoffZip; String? DropoffContactName; double? Miles; int? Units; int? UnitsFound; String? Stage; String? CourierStep; String? StepLabel; String? DriverCode; String? DriverName; int? DriverContactId; int? CourierRunId; String? RunCode; int? StopSequence; int? QueueSequence; bool? IsAsap; DateTime? WindowStartUtc; DateTime? WindowEndUtc; String? WindowText; DateTime? DueUtc; String? DueText; DateTime? PingAfterUtc; DateTime? PingExpiresUtc; String? CandidateCode; String? HeldReason; DateTime? HeldUtc; String? CustomerName; String? CustomerPhone; String? Handoff; String? GateCode; String? Instructions; String? DamageNote; String? DeliveredToName; String? PayMode; double? Fare; double? FinalPrice; double? TipAmount; String? CancelledBy; String? CancelReason; double? CancelFeeApplied; double? MissedFeeApplied; String? CaptureMode; double? AuthorizedAmount; double? CapturedAmount; double? RefundedAmount; String? ChargeError; DateTime? CreatedAt; DateTime? ArrivedUtc; DateTime? PickedUpUtc; DateTime? IntakeUtc; DateTime? ReadyUtc; DateTime? OutForDeliveryUtc; DateTime? DeliveredUtc; DateTime? MissedUtc; DateTime? CancelledUtc; bool? IsClosed; int? RebookOfId; int? RecurrenceId; int? PickupLoadId; CourierOrderRuleView? Rule; List? Items = []; List? Scans = []; List? Proof = []; List? Events = []; List? Photos = []; List? PayLines = []; CourierOrderView({this.DispatchOdRequestID,this.Code,this.CourierProfileId,this.ProfileName,this.RouteShape,this.UnitOne,this.UnitMany,this.CourierFacilityId,this.FacilityName,this.ServiceLevelCode,this.LevelName,this.Source,this.Address,this.Unit,this.City,this.Zip,this.Zone,this.PickupContactName,this.DropoffAddress,this.DropoffUnit,this.DropoffCity,this.DropoffZip,this.DropoffContactName,this.Miles,this.Units,this.UnitsFound,this.Stage,this.CourierStep,this.StepLabel,this.DriverCode,this.DriverName,this.DriverContactId,this.CourierRunId,this.RunCode,this.StopSequence,this.QueueSequence,this.IsAsap,this.WindowStartUtc,this.WindowEndUtc,this.WindowText,this.DueUtc,this.DueText,this.PingAfterUtc,this.PingExpiresUtc,this.CandidateCode,this.HeldReason,this.HeldUtc,this.CustomerName,this.CustomerPhone,this.Handoff,this.GateCode,this.Instructions,this.DamageNote,this.DeliveredToName,this.PayMode,this.Fare,this.FinalPrice,this.TipAmount,this.CancelledBy,this.CancelReason,this.CancelFeeApplied,this.MissedFeeApplied,this.CaptureMode,this.AuthorizedAmount,this.CapturedAmount,this.RefundedAmount,this.ChargeError,this.CreatedAt,this.ArrivedUtc,this.PickedUpUtc,this.IntakeUtc,this.ReadyUtc,this.OutForDeliveryUtc,this.DeliveredUtc,this.MissedUtc,this.CancelledUtc,this.IsClosed,this.RebookOfId,this.RecurrenceId,this.PickupLoadId,this.Rule,this.Items,this.Scans,this.Proof,this.Events,this.Photos,this.PayLines}); CourierOrderView.fromJson(Map json) { fromMap(json); } fromMap(Map json) { DispatchOdRequestID = json['DispatchOdRequestID']; Code = json['Code']; CourierProfileId = json['CourierProfileId']; ProfileName = json['ProfileName']; RouteShape = json['RouteShape']; UnitOne = json['UnitOne']; UnitMany = json['UnitMany']; CourierFacilityId = json['CourierFacilityId']; FacilityName = json['FacilityName']; ServiceLevelCode = json['ServiceLevelCode']; LevelName = json['LevelName']; Source = json['Source']; Address = json['Address']; Unit = json['Unit']; City = json['City']; Zip = json['Zip']; Zone = json['Zone']; PickupContactName = json['PickupContactName']; DropoffAddress = json['DropoffAddress']; DropoffUnit = json['DropoffUnit']; DropoffCity = json['DropoffCity']; DropoffZip = json['DropoffZip']; DropoffContactName = json['DropoffContactName']; Miles = JsonConverters.toDouble(json['Miles']); Units = json['Units']; UnitsFound = json['UnitsFound']; Stage = json['Stage']; CourierStep = json['CourierStep']; StepLabel = json['StepLabel']; DriverCode = json['DriverCode']; DriverName = json['DriverName']; DriverContactId = json['DriverContactId']; CourierRunId = json['CourierRunId']; RunCode = json['RunCode']; StopSequence = json['StopSequence']; QueueSequence = json['QueueSequence']; IsAsap = json['IsAsap']; WindowStartUtc = JsonConverters.fromJson(json['WindowStartUtc'],'DateTime',context!); WindowEndUtc = JsonConverters.fromJson(json['WindowEndUtc'],'DateTime',context!); WindowText = json['WindowText']; DueUtc = JsonConverters.fromJson(json['DueUtc'],'DateTime',context!); DueText = json['DueText']; PingAfterUtc = JsonConverters.fromJson(json['PingAfterUtc'],'DateTime',context!); PingExpiresUtc = JsonConverters.fromJson(json['PingExpiresUtc'],'DateTime',context!); CandidateCode = json['CandidateCode']; HeldReason = json['HeldReason']; HeldUtc = JsonConverters.fromJson(json['HeldUtc'],'DateTime',context!); CustomerName = json['CustomerName']; CustomerPhone = json['CustomerPhone']; Handoff = json['Handoff']; GateCode = json['GateCode']; Instructions = json['Instructions']; DamageNote = json['DamageNote']; DeliveredToName = json['DeliveredToName']; PayMode = json['PayMode']; Fare = JsonConverters.toDouble(json['Fare']); FinalPrice = JsonConverters.toDouble(json['FinalPrice']); TipAmount = JsonConverters.toDouble(json['TipAmount']); CancelledBy = json['CancelledBy']; CancelReason = json['CancelReason']; CancelFeeApplied = JsonConverters.toDouble(json['CancelFeeApplied']); MissedFeeApplied = JsonConverters.toDouble(json['MissedFeeApplied']); CaptureMode = json['CaptureMode']; AuthorizedAmount = JsonConverters.toDouble(json['AuthorizedAmount']); CapturedAmount = JsonConverters.toDouble(json['CapturedAmount']); RefundedAmount = JsonConverters.toDouble(json['RefundedAmount']); ChargeError = json['ChargeError']; CreatedAt = JsonConverters.fromJson(json['CreatedAt'],'DateTime',context!); ArrivedUtc = JsonConverters.fromJson(json['ArrivedUtc'],'DateTime',context!); PickedUpUtc = JsonConverters.fromJson(json['PickedUpUtc'],'DateTime',context!); IntakeUtc = JsonConverters.fromJson(json['IntakeUtc'],'DateTime',context!); ReadyUtc = JsonConverters.fromJson(json['ReadyUtc'],'DateTime',context!); OutForDeliveryUtc = JsonConverters.fromJson(json['OutForDeliveryUtc'],'DateTime',context!); DeliveredUtc = JsonConverters.fromJson(json['DeliveredUtc'],'DateTime',context!); MissedUtc = JsonConverters.fromJson(json['MissedUtc'],'DateTime',context!); CancelledUtc = JsonConverters.fromJson(json['CancelledUtc'],'DateTime',context!); IsClosed = json['IsClosed']; RebookOfId = json['RebookOfId']; RecurrenceId = json['RecurrenceId']; PickupLoadId = json['PickupLoadId']; Rule = JsonConverters.fromJson(json['Rule'],'CourierOrderRuleView',context!); Items = JsonConverters.fromJson(json['Items'],'List',context!); Scans = JsonConverters.fromJson(json['Scans'],'List',context!); Proof = JsonConverters.fromJson(json['Proof'],'List',context!); Events = JsonConverters.fromJson(json['Events'],'List',context!); Photos = JsonConverters.fromJson(json['Photos'],'List',context!); PayLines = JsonConverters.fromJson(json['PayLines'],'List',context!); return this; } Map toJson() => { 'DispatchOdRequestID': DispatchOdRequestID, 'Code': Code, 'CourierProfileId': CourierProfileId, 'ProfileName': ProfileName, 'RouteShape': RouteShape, 'UnitOne': UnitOne, 'UnitMany': UnitMany, 'CourierFacilityId': CourierFacilityId, 'FacilityName': FacilityName, 'ServiceLevelCode': ServiceLevelCode, 'LevelName': LevelName, 'Source': Source, 'Address': Address, 'Unit': Unit, 'City': City, 'Zip': Zip, 'Zone': Zone, 'PickupContactName': PickupContactName, 'DropoffAddress': DropoffAddress, 'DropoffUnit': DropoffUnit, 'DropoffCity': DropoffCity, 'DropoffZip': DropoffZip, 'DropoffContactName': DropoffContactName, 'Miles': Miles, 'Units': Units, 'UnitsFound': UnitsFound, 'Stage': Stage, 'CourierStep': CourierStep, 'StepLabel': StepLabel, 'DriverCode': DriverCode, 'DriverName': DriverName, 'DriverContactId': DriverContactId, 'CourierRunId': CourierRunId, 'RunCode': RunCode, 'StopSequence': StopSequence, 'QueueSequence': QueueSequence, 'IsAsap': IsAsap, 'WindowStartUtc': JsonConverters.toJson(WindowStartUtc,'DateTime',context!), 'WindowEndUtc': JsonConverters.toJson(WindowEndUtc,'DateTime',context!), 'WindowText': WindowText, 'DueUtc': JsonConverters.toJson(DueUtc,'DateTime',context!), 'DueText': DueText, 'PingAfterUtc': JsonConverters.toJson(PingAfterUtc,'DateTime',context!), 'PingExpiresUtc': JsonConverters.toJson(PingExpiresUtc,'DateTime',context!), 'CandidateCode': CandidateCode, 'HeldReason': HeldReason, 'HeldUtc': JsonConverters.toJson(HeldUtc,'DateTime',context!), 'CustomerName': CustomerName, 'CustomerPhone': CustomerPhone, 'Handoff': Handoff, 'GateCode': GateCode, 'Instructions': Instructions, 'DamageNote': DamageNote, 'DeliveredToName': DeliveredToName, 'PayMode': PayMode, 'Fare': Fare, 'FinalPrice': FinalPrice, 'TipAmount': TipAmount, 'CancelledBy': CancelledBy, 'CancelReason': CancelReason, 'CancelFeeApplied': CancelFeeApplied, 'MissedFeeApplied': MissedFeeApplied, 'CaptureMode': CaptureMode, 'AuthorizedAmount': AuthorizedAmount, 'CapturedAmount': CapturedAmount, 'RefundedAmount': RefundedAmount, 'ChargeError': ChargeError, 'CreatedAt': JsonConverters.toJson(CreatedAt,'DateTime',context!), 'ArrivedUtc': JsonConverters.toJson(ArrivedUtc,'DateTime',context!), 'PickedUpUtc': JsonConverters.toJson(PickedUpUtc,'DateTime',context!), 'IntakeUtc': JsonConverters.toJson(IntakeUtc,'DateTime',context!), 'ReadyUtc': JsonConverters.toJson(ReadyUtc,'DateTime',context!), 'OutForDeliveryUtc': JsonConverters.toJson(OutForDeliveryUtc,'DateTime',context!), 'DeliveredUtc': JsonConverters.toJson(DeliveredUtc,'DateTime',context!), 'MissedUtc': JsonConverters.toJson(MissedUtc,'DateTime',context!), 'CancelledUtc': JsonConverters.toJson(CancelledUtc,'DateTime',context!), 'IsClosed': IsClosed, 'RebookOfId': RebookOfId, 'RecurrenceId': RecurrenceId, 'PickupLoadId': PickupLoadId, 'Rule': JsonConverters.toJson(Rule,'CourierOrderRuleView',context!), 'Items': JsonConverters.toJson(Items,'List',context!), 'Scans': JsonConverters.toJson(Scans,'List',context!), 'Proof': JsonConverters.toJson(Proof,'List',context!), 'Events': JsonConverters.toJson(Events,'List',context!), 'Photos': JsonConverters.toJson(Photos,'List',context!), 'PayLines': JsonConverters.toJson(PayLines,'List',context!) }; getTypeName() => "CourierOrderView"; TypeContext? context = _ctx; } class CourierOrderResponse implements IConvertible { List? Orders = []; CourierOrderView? Order; String? Message; ResponseStatus? ResponseStatus; CourierOrderResponse({this.Orders,this.Order,this.Message,this.ResponseStatus}); CourierOrderResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Orders = JsonConverters.fromJson(json['Orders'],'List',context!); Order = JsonConverters.fromJson(json['Order'],'CourierOrderView',context!); Message = json['Message']; ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'Orders': JsonConverters.toJson(Orders,'List',context!), 'Order': JsonConverters.toJson(Order,'CourierOrderView',context!), 'Message': Message, 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!) }; getTypeName() => "CourierOrderResponse"; TypeContext? context = _ctx; } // @Route("/v1/dispatch/courier/orders", "POST,OPTIONS") class CourierOrderCreateRequest implements IReturn, IConvertible, IPost { int? ProfileId; String? FacilityCode; String? LevelCode; String? Date; String? WindowStart; String? WindowEnd; String? Address; String? Unit; String? City; String? Zip; String? Zone; double? Lat; double? Lng; String? PickupContactName; String? DropoffAddress; String? DropoffUnit; String? DropoffCity; String? DropoffZip; double? DropoffLat; double? DropoffLng; String? DropoffContactName; int? Units; String? CustomerName; String? CustomerPhone; int? CustomerContactId; String? Handoff; String? GateCode; String? Instructions; String? Note; String? AccountCode; CourierOrderCreateRequest({this.ProfileId,this.FacilityCode,this.LevelCode,this.Date,this.WindowStart,this.WindowEnd,this.Address,this.Unit,this.City,this.Zip,this.Zone,this.Lat,this.Lng,this.PickupContactName,this.DropoffAddress,this.DropoffUnit,this.DropoffCity,this.DropoffZip,this.DropoffLat,this.DropoffLng,this.DropoffContactName,this.Units,this.CustomerName,this.CustomerPhone,this.CustomerContactId,this.Handoff,this.GateCode,this.Instructions,this.Note,this.AccountCode}); CourierOrderCreateRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ProfileId = json['ProfileId']; FacilityCode = json['FacilityCode']; LevelCode = json['LevelCode']; Date = json['Date']; WindowStart = json['WindowStart']; WindowEnd = json['WindowEnd']; Address = json['Address']; Unit = json['Unit']; City = json['City']; Zip = json['Zip']; Zone = json['Zone']; Lat = JsonConverters.toDouble(json['Lat']); Lng = JsonConverters.toDouble(json['Lng']); PickupContactName = json['PickupContactName']; DropoffAddress = json['DropoffAddress']; DropoffUnit = json['DropoffUnit']; DropoffCity = json['DropoffCity']; DropoffZip = json['DropoffZip']; DropoffLat = JsonConverters.toDouble(json['DropoffLat']); DropoffLng = JsonConverters.toDouble(json['DropoffLng']); DropoffContactName = json['DropoffContactName']; Units = json['Units']; CustomerName = json['CustomerName']; CustomerPhone = json['CustomerPhone']; CustomerContactId = json['CustomerContactId']; Handoff = json['Handoff']; GateCode = json['GateCode']; Instructions = json['Instructions']; Note = json['Note']; AccountCode = json['AccountCode']; return this; } Map toJson() => { 'ProfileId': ProfileId, 'FacilityCode': FacilityCode, 'LevelCode': LevelCode, 'Date': Date, 'WindowStart': WindowStart, 'WindowEnd': WindowEnd, 'Address': Address, 'Unit': Unit, 'City': City, 'Zip': Zip, 'Zone': Zone, 'Lat': Lat, 'Lng': Lng, 'PickupContactName': PickupContactName, 'DropoffAddress': DropoffAddress, 'DropoffUnit': DropoffUnit, 'DropoffCity': DropoffCity, 'DropoffZip': DropoffZip, 'DropoffLat': DropoffLat, 'DropoffLng': DropoffLng, 'DropoffContactName': DropoffContactName, 'Units': Units, 'CustomerName': CustomerName, 'CustomerPhone': CustomerPhone, 'CustomerContactId': CustomerContactId, 'Handoff': Handoff, 'GateCode': GateCode, 'Instructions': Instructions, 'Note': Note, 'AccountCode': AccountCode }; createResponse() => CourierOrderResponse(); getResponseTypeName() => "CourierOrderResponse"; getTypeName() => "CourierOrderCreateRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'CourierOrderRuleView': TypeInfo(TypeOf.Class, create:() => CourierOrderRuleView()), 'CourierItemView': TypeInfo(TypeOf.Class, create:() => CourierItemView()), 'CourierScanView': TypeInfo(TypeOf.Class, create:() => CourierScanView()), 'CourierProofResultView': TypeInfo(TypeOf.Class, create:() => CourierProofResultView()), 'CourierEventView': TypeInfo(TypeOf.Class, create:() => CourierEventView()), 'CourierPhotoView': TypeInfo(TypeOf.Class, create:() => CourierPhotoView()), 'CourierPayLineView': TypeInfo(TypeOf.Class, create:() => CourierPayLineView()), 'CourierOrderView': TypeInfo(TypeOf.Class, create:() => CourierOrderView()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'CourierOrderResponse': TypeInfo(TypeOf.Class, create:() => CourierOrderResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'CourierOrderCreateRequest': TypeInfo(TypeOf.Class, create:() => CourierOrderCreateRequest()), });