/* Options: Date: 2026-10-14 07:27:32 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: CustomerAppRecurringEditRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; abstract class CustomerAppSessionRequest { String? Slug; String? Profile; CustomerAppSessionRequest({this.Slug,this.Profile}); CustomerAppSessionRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Slug = json['Slug']; Profile = json['Profile']; return this; } Map toJson() => { 'Slug': Slug, 'Profile': Profile }; getTypeName() => "CustomerAppSessionRequest"; TypeContext? context = _ctx; } class CourierTrackBusiness implements IConvertible { String? Name; String? Phone; CourierTrackBusiness({this.Name,this.Phone}); CourierTrackBusiness.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Name = json['Name']; Phone = json['Phone']; return this; } Map toJson() => { 'Name': Name, 'Phone': Phone }; getTypeName() => "CourierTrackBusiness"; TypeContext? context = _ctx; } class CourierBookLevel implements IConvertible { String? Code; String? Name; String? Ready; int? WithinMin; String? InBy; double? Surcharge; List? Days = []; int? DeadlineMin; CourierBookLevel({this.Code,this.Name,this.Ready,this.WithinMin,this.InBy,this.Surcharge,this.Days,this.DeadlineMin}); CourierBookLevel.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Code = json['Code']; Name = json['Name']; Ready = json['Ready']; WithinMin = json['WithinMin']; InBy = json['InBy']; Surcharge = JsonConverters.toDouble(json['Surcharge']); Days = JsonConverters.fromJson(json['Days'],'List',context!); DeadlineMin = json['DeadlineMin']; return this; } Map toJson() => { 'Code': Code, 'Name': Name, 'Ready': Ready, 'WithinMin': WithinMin, 'InBy': InBy, 'Surcharge': Surcharge, 'Days': JsonConverters.toJson(Days,'List',context!), 'DeadlineMin': DeadlineMin }; getTypeName() => "CourierBookLevel"; TypeContext? context = _ctx; } class HandoffOptions implements IConvertible { bool? Hand; bool? Porch; bool? Desk; bool? SigRequired; bool? IdRequired; bool? CodeRequired; HandoffOptions({this.Hand,this.Porch,this.Desk,this.SigRequired,this.IdRequired,this.CodeRequired}); HandoffOptions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Hand = json['Hand']; Porch = json['Porch']; Desk = json['Desk']; SigRequired = json['SigRequired']; IdRequired = json['IdRequired']; CodeRequired = json['CodeRequired']; return this; } Map toJson() => { 'Hand': Hand, 'Porch': Porch, 'Desk': Desk, 'SigRequired': SigRequired, 'IdRequired': IdRequired, 'CodeRequired': CodeRequired }; getTypeName() => "HandoffOptions"; TypeContext? context = _ctx; } class CourierBookProfile implements IConvertible { String? Code; String? Name; String? Shape; String? Template; String? UnitOne; String? UnitMany; String? UnitOneEs; String? UnitManyEs; String? FacilityNoun; String? FacilityNounEs; String? FacilityName; List? Levels = []; bool? Asap; bool? Recurring; String? PayTiming; bool? FinalAfterCount; double? CancelFee; double? MissedFee; int? MissedWaitMin; List? ServiceArea = []; List? Zips = []; HandoffOptions? Handoffs; CourierBookProfile({this.Code,this.Name,this.Shape,this.Template,this.UnitOne,this.UnitMany,this.UnitOneEs,this.UnitManyEs,this.FacilityNoun,this.FacilityNounEs,this.FacilityName,this.Levels,this.Asap,this.Recurring,this.PayTiming,this.FinalAfterCount,this.CancelFee,this.MissedFee,this.MissedWaitMin,this.ServiceArea,this.Zips,this.Handoffs}); CourierBookProfile.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Code = json['Code']; Name = json['Name']; Shape = json['Shape']; Template = json['Template']; UnitOne = json['UnitOne']; UnitMany = json['UnitMany']; UnitOneEs = json['UnitOneEs']; UnitManyEs = json['UnitManyEs']; FacilityNoun = json['FacilityNoun']; FacilityNounEs = json['FacilityNounEs']; FacilityName = json['FacilityName']; Levels = JsonConverters.fromJson(json['Levels'],'List',context!); Asap = json['Asap']; Recurring = json['Recurring']; PayTiming = json['PayTiming']; FinalAfterCount = json['FinalAfterCount']; CancelFee = JsonConverters.toDouble(json['CancelFee']); MissedFee = JsonConverters.toDouble(json['MissedFee']); MissedWaitMin = json['MissedWaitMin']; ServiceArea = JsonConverters.fromJson(json['ServiceArea'],'List',context!); Zips = JsonConverters.fromJson(json['Zips'],'List',context!); Handoffs = JsonConverters.fromJson(json['Handoffs'],'HandoffOptions',context!); return this; } Map toJson() => { 'Code': Code, 'Name': Name, 'Shape': Shape, 'Template': Template, 'UnitOne': UnitOne, 'UnitMany': UnitMany, 'UnitOneEs': UnitOneEs, 'UnitManyEs': UnitManyEs, 'FacilityNoun': FacilityNoun, 'FacilityNounEs': FacilityNounEs, 'FacilityName': FacilityName, 'Levels': JsonConverters.toJson(Levels,'List',context!), 'Asap': Asap, 'Recurring': Recurring, 'PayTiming': PayTiming, 'FinalAfterCount': FinalAfterCount, 'CancelFee': CancelFee, 'MissedFee': MissedFee, 'MissedWaitMin': MissedWaitMin, 'ServiceArea': JsonConverters.toJson(ServiceArea,'List',context!), 'Zips': JsonConverters.toJson(Zips,'List',context!), 'Handoffs': JsonConverters.toJson(Handoffs,'HandoffOptions',context!) }; getTypeName() => "CourierBookProfile"; TypeContext? context = _ctx; } class CourierBookProfileLink implements IConvertible { String? Code; String? Name; String? Shape; CourierBookProfileLink({this.Code,this.Name,this.Shape}); CourierBookProfileLink.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Code = json['Code']; Name = json['Name']; Shape = json['Shape']; return this; } Map toJson() => { 'Code': Code, 'Name': Name, 'Shape': Shape }; getTypeName() => "CourierBookProfileLink"; TypeContext? context = _ctx; } class CourierBookPageView implements IConvertible { bool? Available; bool? BookingOn; CourierTrackBusiness? Business; CourierBookProfile? Profile; List? Profiles = []; bool? CardEnabled; String? PublishableKey; String? AppUrl; String? Today; int? Weekday; int? NowMin; CourierBookPageView({this.Available,this.BookingOn,this.Business,this.Profile,this.Profiles,this.CardEnabled,this.PublishableKey,this.AppUrl,this.Today,this.Weekday,this.NowMin}); CourierBookPageView.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Available = json['Available']; BookingOn = json['BookingOn']; Business = JsonConverters.fromJson(json['Business'],'CourierTrackBusiness',context!); Profile = JsonConverters.fromJson(json['Profile'],'CourierBookProfile',context!); Profiles = JsonConverters.fromJson(json['Profiles'],'List',context!); CardEnabled = json['CardEnabled']; PublishableKey = json['PublishableKey']; AppUrl = json['AppUrl']; Today = json['Today']; Weekday = json['Weekday']; NowMin = json['NowMin']; return this; } Map toJson() => { 'Available': Available, 'BookingOn': BookingOn, 'Business': JsonConverters.toJson(Business,'CourierTrackBusiness',context!), 'Profile': JsonConverters.toJson(Profile,'CourierBookProfile',context!), 'Profiles': JsonConverters.toJson(Profiles,'List',context!), 'CardEnabled': CardEnabled, 'PublishableKey': PublishableKey, 'AppUrl': AppUrl, 'Today': Today, 'Weekday': Weekday, 'NowMin': NowMin }; getTypeName() => "CourierBookPageView"; TypeContext? context = _ctx; } class CustomerAppBoot implements IConvertible { String? Profile; bool? Available; String? Reason; String? AuthMethod; String? Slug; CourierBookPageView? Page; String? ManifestUrl; CustomerAppBoot({this.Profile,this.Available,this.Reason,this.AuthMethod,this.Slug,this.Page,this.ManifestUrl}); CustomerAppBoot.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Profile = json['Profile']; Available = json['Available']; Reason = json['Reason']; AuthMethod = json['AuthMethod']; Slug = json['Slug']; Page = JsonConverters.fromJson(json['Page'],'CourierBookPageView',context!); ManifestUrl = json['ManifestUrl']; return this; } Map toJson() => { 'Profile': Profile, 'Available': Available, 'Reason': Reason, 'AuthMethod': AuthMethod, 'Slug': Slug, 'Page': JsonConverters.toJson(Page,'CourierBookPageView',context!), 'ManifestUrl': ManifestUrl }; getTypeName() => "CustomerAppBoot"; TypeContext? context = _ctx; } class CustomerAppAddress implements IConvertible { int? Id; String? Label; String? Street; String? Unit; String? City; String? Zip; double? Lat; double? Lng; bool? InArea; CustomerAppAddress({this.Id,this.Label,this.Street,this.Unit,this.City,this.Zip,this.Lat,this.Lng,this.InArea}); CustomerAppAddress.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Id = json['Id']; Label = json['Label']; Street = json['Street']; Unit = json['Unit']; City = json['City']; Zip = json['Zip']; Lat = JsonConverters.toDouble(json['Lat']); Lng = JsonConverters.toDouble(json['Lng']); InArea = json['InArea']; return this; } Map toJson() => { 'Id': Id, 'Label': Label, 'Street': Street, 'Unit': Unit, 'City': City, 'Zip': Zip, 'Lat': Lat, 'Lng': Lng, 'InArea': InArea }; getTypeName() => "CustomerAppAddress"; TypeContext? context = _ctx; } class CustomerAppCard implements IConvertible { int? Id; String? Label; String? Brand; String? Last4; bool? IsDefault; CustomerAppCard({this.Id,this.Label,this.Brand,this.Last4,this.IsDefault}); CustomerAppCard.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Id = json['Id']; Label = json['Label']; Brand = json['Brand']; Last4 = json['Last4']; IsDefault = json['IsDefault']; return this; } Map toJson() => { 'Id': Id, 'Label': Label, 'Brand': Brand, 'Last4': Last4, 'IsDefault': IsDefault }; getTypeName() => "CustomerAppCard"; TypeContext? context = _ctx; } class CustomerAppNotif implements IConvertible { bool? Texts; bool? Push; bool? Promos; CustomerAppNotif({this.Texts,this.Push,this.Promos}); CustomerAppNotif.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Texts = json['Texts']; Push = json['Push']; Promos = json['Promos']; return this; } Map toJson() => { 'Texts': Texts, 'Push': Push, 'Promos': Promos }; getTypeName() => "CustomerAppNotif"; TypeContext? context = _ctx; } class CustomerAppStep implements IConvertible { String? Key; bool? Done; String? Time; CustomerAppStep({this.Key,this.Done,this.Time}); CustomerAppStep.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Key = json['Key']; Done = json['Done']; Time = json['Time']; return this; } Map toJson() => { 'Key': Key, 'Done': Done, 'Time': Time }; getTypeName() => "CustomerAppStep"; TypeContext? context = _ctx; } class CustomerAppOrder implements IConvertible { int? Id; String? Code; String? Status; String? State; bool? Active; String? LevelCode; String? LevelName; int? Units; int? UnitsFound; String? Address; String? Unit; String? Zip; String? DropAddress; String? RecipientName; String? Handoff; bool? IsAsap; int? DayIx; String? DateText; int? StartMin; int? EndMin; String? DriverFirstName; int? EtaMin; String? Promise; String? PayMode; double? Amount; double? Charged; double? Tip; String? CardLast4; int? RecurrenceId; List? Steps = []; CustomerAppOrder({this.Id,this.Code,this.Status,this.State,this.Active,this.LevelCode,this.LevelName,this.Units,this.UnitsFound,this.Address,this.Unit,this.Zip,this.DropAddress,this.RecipientName,this.Handoff,this.IsAsap,this.DayIx,this.DateText,this.StartMin,this.EndMin,this.DriverFirstName,this.EtaMin,this.Promise,this.PayMode,this.Amount,this.Charged,this.Tip,this.CardLast4,this.RecurrenceId,this.Steps}); CustomerAppOrder.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Id = json['Id']; Code = json['Code']; Status = json['Status']; State = json['State']; Active = json['Active']; LevelCode = json['LevelCode']; LevelName = json['LevelName']; Units = json['Units']; UnitsFound = json['UnitsFound']; Address = json['Address']; Unit = json['Unit']; Zip = json['Zip']; DropAddress = json['DropAddress']; RecipientName = json['RecipientName']; Handoff = json['Handoff']; IsAsap = json['IsAsap']; DayIx = json['DayIx']; DateText = json['DateText']; StartMin = json['StartMin']; EndMin = json['EndMin']; DriverFirstName = json['DriverFirstName']; EtaMin = json['EtaMin']; Promise = json['Promise']; PayMode = json['PayMode']; Amount = JsonConverters.toDouble(json['Amount']); Charged = JsonConverters.toDouble(json['Charged']); Tip = JsonConverters.toDouble(json['Tip']); CardLast4 = json['CardLast4']; RecurrenceId = json['RecurrenceId']; Steps = JsonConverters.fromJson(json['Steps'],'List',context!); return this; } Map toJson() => { 'Id': Id, 'Code': Code, 'Status': Status, 'State': State, 'Active': Active, 'LevelCode': LevelCode, 'LevelName': LevelName, 'Units': Units, 'UnitsFound': UnitsFound, 'Address': Address, 'Unit': Unit, 'Zip': Zip, 'DropAddress': DropAddress, 'RecipientName': RecipientName, 'Handoff': Handoff, 'IsAsap': IsAsap, 'DayIx': DayIx, 'DateText': DateText, 'StartMin': StartMin, 'EndMin': EndMin, 'DriverFirstName': DriverFirstName, 'EtaMin': EtaMin, 'Promise': Promise, 'PayMode': PayMode, 'Amount': Amount, 'Charged': Charged, 'Tip': Tip, 'CardLast4': CardLast4, 'RecurrenceId': RecurrenceId, 'Steps': JsonConverters.toJson(Steps,'List',context!) }; getTypeName() => "CustomerAppOrder"; TypeContext? context = _ctx; } class CustomerAppRecurrence implements IConvertible { int? Id; int? Weekday; int? StartMin; int? EndMin; String? Cadence; String? LevelCode; int? Units; String? Handoff; String? Address; bool? Paused; String? PayMode; String? CardLast4; String? NextDate; String? SkippedDate; int? AheadDays; CustomerAppRecurrence({this.Id,this.Weekday,this.StartMin,this.EndMin,this.Cadence,this.LevelCode,this.Units,this.Handoff,this.Address,this.Paused,this.PayMode,this.CardLast4,this.NextDate,this.SkippedDate,this.AheadDays}); CustomerAppRecurrence.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Id = json['Id']; Weekday = json['Weekday']; StartMin = json['StartMin']; EndMin = json['EndMin']; Cadence = json['Cadence']; LevelCode = json['LevelCode']; Units = json['Units']; Handoff = json['Handoff']; Address = json['Address']; Paused = json['Paused']; PayMode = json['PayMode']; CardLast4 = json['CardLast4']; NextDate = json['NextDate']; SkippedDate = json['SkippedDate']; AheadDays = json['AheadDays']; return this; } Map toJson() => { 'Id': Id, 'Weekday': Weekday, 'StartMin': StartMin, 'EndMin': EndMin, 'Cadence': Cadence, 'LevelCode': LevelCode, 'Units': Units, 'Handoff': Handoff, 'Address': Address, 'Paused': Paused, 'PayMode': PayMode, 'CardLast4': CardLast4, 'NextDate': NextDate, 'SkippedDate': SkippedDate, 'AheadDays': AheadDays }; getTypeName() => "CustomerAppRecurrence"; TypeContext? context = _ctx; } class CustomerAppInvoice implements IConvertible { String? Uid; String? Number; String? DateText; double? Total; double? Balance; bool? Paid; CustomerAppInvoice({this.Uid,this.Number,this.DateText,this.Total,this.Balance,this.Paid}); CustomerAppInvoice.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Uid = json['Uid']; Number = json['Number']; DateText = json['DateText']; Total = JsonConverters.toDouble(json['Total']); Balance = JsonConverters.toDouble(json['Balance']); Paid = json['Paid']; return this; } Map toJson() => { 'Uid': Uid, 'Number': Number, 'DateText': DateText, 'Total': Total, 'Balance': Balance, 'Paid': Paid }; getTypeName() => "CustomerAppInvoice"; TypeContext? context = _ctx; } class CustomerAppMe implements IConvertible { int? ContactId; String? FirstName; String? LastName; String? Name; String? Phone; bool? NeedsName; String? BillingMode; String? AccountCode; List? Addresses = []; List? Cards = []; CustomerAppNotif? Notif; List? Orders = []; List? Recurring = []; List? Invoices = []; String? Today; int? NowMin; CustomerAppMe({this.ContactId,this.FirstName,this.LastName,this.Name,this.Phone,this.NeedsName,this.BillingMode,this.AccountCode,this.Addresses,this.Cards,this.Notif,this.Orders,this.Recurring,this.Invoices,this.Today,this.NowMin}); CustomerAppMe.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ContactId = json['ContactId']; FirstName = json['FirstName']; LastName = json['LastName']; Name = json['Name']; Phone = json['Phone']; NeedsName = json['NeedsName']; BillingMode = json['BillingMode']; AccountCode = json['AccountCode']; Addresses = JsonConverters.fromJson(json['Addresses'],'List',context!); Cards = JsonConverters.fromJson(json['Cards'],'List',context!); Notif = JsonConverters.fromJson(json['Notif'],'CustomerAppNotif',context!); Orders = JsonConverters.fromJson(json['Orders'],'List',context!); Recurring = JsonConverters.fromJson(json['Recurring'],'List',context!); Invoices = JsonConverters.fromJson(json['Invoices'],'List',context!); Today = json['Today']; NowMin = json['NowMin']; return this; } Map toJson() => { 'ContactId': ContactId, 'FirstName': FirstName, 'LastName': LastName, 'Name': Name, 'Phone': Phone, 'NeedsName': NeedsName, 'BillingMode': BillingMode, 'AccountCode': AccountCode, 'Addresses': JsonConverters.toJson(Addresses,'List',context!), 'Cards': JsonConverters.toJson(Cards,'List',context!), 'Notif': JsonConverters.toJson(Notif,'CustomerAppNotif',context!), 'Orders': JsonConverters.toJson(Orders,'List',context!), 'Recurring': JsonConverters.toJson(Recurring,'List',context!), 'Invoices': JsonConverters.toJson(Invoices,'List',context!), 'Today': Today, 'NowMin': NowMin }; getTypeName() => "CustomerAppMe"; TypeContext? context = _ctx; } class CourierCustomerRow implements IConvertible { int? ContactId; String? Name; String? Phone; String? BillingMode; String? AccountCode; int? Orders; DateTime? LastOrderAt; int? Unbilled; double? UnbilledAmount; int? Cards; CourierCustomerRow({this.ContactId,this.Name,this.Phone,this.BillingMode,this.AccountCode,this.Orders,this.LastOrderAt,this.Unbilled,this.UnbilledAmount,this.Cards}); CourierCustomerRow.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ContactId = json['ContactId']; Name = json['Name']; Phone = json['Phone']; BillingMode = json['BillingMode']; AccountCode = json['AccountCode']; Orders = json['Orders']; LastOrderAt = JsonConverters.fromJson(json['LastOrderAt'],'DateTime',context!); Unbilled = json['Unbilled']; UnbilledAmount = JsonConverters.toDouble(json['UnbilledAmount']); Cards = json['Cards']; return this; } Map toJson() => { 'ContactId': ContactId, 'Name': Name, 'Phone': Phone, 'BillingMode': BillingMode, 'AccountCode': AccountCode, 'Orders': Orders, 'LastOrderAt': JsonConverters.toJson(LastOrderAt,'DateTime',context!), 'Unbilled': Unbilled, 'UnbilledAmount': UnbilledAmount, 'Cards': Cards }; getTypeName() => "CourierCustomerRow"; TypeContext? context = _ctx; } class RunResult implements IConvertible { int? Invoices; int? Orders; double? Total; List? Skipped = []; RunResult({this.Invoices,this.Orders,this.Total,this.Skipped}); RunResult.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Invoices = json['Invoices']; Orders = json['Orders']; Total = JsonConverters.toDouble(json['Total']); Skipped = JsonConverters.fromJson(json['Skipped'],'List',context!); return this; } Map toJson() => { 'Invoices': Invoices, 'Orders': Orders, 'Total': Total, 'Skipped': JsonConverters.toJson(Skipped,'List',context!) }; getTypeName() => "RunResult"; TypeContext? context = _ctx; } class CourierBookOrderResponse implements IConvertible { bool? Done; bool? NeedsAction; String? ClientSecret; String? SetupIntentId; String? Code; String? TrackUrl; String? IcsUrl; String? WindowText; String? Promise; double? Total; String? PayTiming; String? CardLast4; String? Repeats; String? LinkSentBy; String? ReopenStep; ResponseStatus? ResponseStatus; CourierBookOrderResponse({this.Done,this.NeedsAction,this.ClientSecret,this.SetupIntentId,this.Code,this.TrackUrl,this.IcsUrl,this.WindowText,this.Promise,this.Total,this.PayTiming,this.CardLast4,this.Repeats,this.LinkSentBy,this.ReopenStep,this.ResponseStatus}); CourierBookOrderResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Done = json['Done']; NeedsAction = json['NeedsAction']; ClientSecret = json['ClientSecret']; SetupIntentId = json['SetupIntentId']; Code = json['Code']; TrackUrl = json['TrackUrl']; IcsUrl = json['IcsUrl']; WindowText = json['WindowText']; Promise = json['Promise']; Total = JsonConverters.toDouble(json['Total']); PayTiming = json['PayTiming']; CardLast4 = json['CardLast4']; Repeats = json['Repeats']; LinkSentBy = json['LinkSentBy']; ReopenStep = json['ReopenStep']; ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'Done': Done, 'NeedsAction': NeedsAction, 'ClientSecret': ClientSecret, 'SetupIntentId': SetupIntentId, 'Code': Code, 'TrackUrl': TrackUrl, 'IcsUrl': IcsUrl, 'WindowText': WindowText, 'Promise': Promise, 'Total': Total, 'PayTiming': PayTiming, 'CardLast4': CardLast4, 'Repeats': Repeats, 'LinkSentBy': LinkSentBy, 'ReopenStep': ReopenStep, 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!) }; getTypeName() => "CourierBookOrderResponse"; TypeContext? context = _ctx; } class CustomerAppResponse implements IConvertible { CustomerAppBoot? Boot; CustomerAppMe? Customer; List? Addresses = []; List? Cards = []; CustomerAppNotif? Notif; List? Recurring = []; CourierBookOrderResponse? Booked; bool? Sent; String? Token; bool? NeedsName; String? Name; String? Url; String? ClientSecret; String? PublishableKey; String? Message; String? ReopenStep; List? Customers = []; RunResult? Run; ResponseStatus? ResponseStatus; CustomerAppResponse({this.Boot,this.Customer,this.Addresses,this.Cards,this.Notif,this.Recurring,this.Booked,this.Sent,this.Token,this.NeedsName,this.Name,this.Url,this.ClientSecret,this.PublishableKey,this.Message,this.ReopenStep,this.Customers,this.Run,this.ResponseStatus}); CustomerAppResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Boot = JsonConverters.fromJson(json['Boot'],'CustomerAppBoot',context!); Customer = JsonConverters.fromJson(json['Customer'],'CustomerAppMe',context!); Addresses = JsonConverters.fromJson(json['Addresses'],'List',context!); Cards = JsonConverters.fromJson(json['Cards'],'List',context!); Notif = JsonConverters.fromJson(json['Notif'],'CustomerAppNotif',context!); Recurring = JsonConverters.fromJson(json['Recurring'],'List',context!); Booked = JsonConverters.fromJson(json['Booked'],'CourierBookOrderResponse',context!); Sent = json['Sent']; Token = json['Token']; NeedsName = json['NeedsName']; Name = json['Name']; Url = json['Url']; ClientSecret = json['ClientSecret']; PublishableKey = json['PublishableKey']; Message = json['Message']; ReopenStep = json['ReopenStep']; Customers = JsonConverters.fromJson(json['Customers'],'List',context!); Run = JsonConverters.fromJson(json['Run'],'RunResult',context!); ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'Boot': JsonConverters.toJson(Boot,'CustomerAppBoot',context!), 'Customer': JsonConverters.toJson(Customer,'CustomerAppMe',context!), 'Addresses': JsonConverters.toJson(Addresses,'List',context!), 'Cards': JsonConverters.toJson(Cards,'List',context!), 'Notif': JsonConverters.toJson(Notif,'CustomerAppNotif',context!), 'Recurring': JsonConverters.toJson(Recurring,'List',context!), 'Booked': JsonConverters.toJson(Booked,'CourierBookOrderResponse',context!), 'Sent': Sent, 'Token': Token, 'NeedsName': NeedsName, 'Name': Name, 'Url': Url, 'ClientSecret': ClientSecret, 'PublishableKey': PublishableKey, 'Message': Message, 'ReopenStep': ReopenStep, 'Customers': JsonConverters.toJson(Customers,'List',context!), 'Run': JsonConverters.toJson(Run,'RunResult',context!), 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!) }; getTypeName() => "CustomerAppResponse"; TypeContext? context = _ctx; } // @Route("/v1/c/app/recurring/{Id}", "PUT") class CustomerAppRecurringEditRequest extends CustomerAppSessionRequest implements IReturn, IConvertible, IPut { int? Id; String? Level; String? WindowId; String? Recur; int? Units; String? Handoff; String? GateCode; String? Note; CustomerAppRecurringEditRequest({this.Id,this.Level,this.WindowId,this.Recur,this.Units,this.Handoff,this.GateCode,this.Note}); CustomerAppRecurringEditRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Id = json['Id']; Level = json['Level']; WindowId = json['WindowId']; Recur = json['Recur']; Units = json['Units']; Handoff = json['Handoff']; GateCode = json['GateCode']; Note = json['Note']; return this; } Map toJson() => super.toJson()..addAll({ 'Id': Id, 'Level': Level, 'WindowId': WindowId, 'Recur': Recur, 'Units': Units, 'Handoff': Handoff, 'GateCode': GateCode, 'Note': Note }); createResponse() => CustomerAppResponse(); getResponseTypeName() => "CustomerAppResponse"; getTypeName() => "CustomerAppRecurringEditRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'CustomerAppSessionRequest': TypeInfo(TypeOf.AbstractClass), 'CourierTrackBusiness': TypeInfo(TypeOf.Class, create:() => CourierTrackBusiness()), 'CourierBookLevel': TypeInfo(TypeOf.Class, create:() => CourierBookLevel()), 'HandoffOptions': TypeInfo(TypeOf.Class, create:() => HandoffOptions()), 'CourierBookProfile': TypeInfo(TypeOf.Class, create:() => CourierBookProfile()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'CourierBookProfileLink': TypeInfo(TypeOf.Class, create:() => CourierBookProfileLink()), 'CourierBookPageView': TypeInfo(TypeOf.Class, create:() => CourierBookPageView()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'CustomerAppBoot': TypeInfo(TypeOf.Class, create:() => CustomerAppBoot()), 'CustomerAppAddress': TypeInfo(TypeOf.Class, create:() => CustomerAppAddress()), 'CustomerAppCard': TypeInfo(TypeOf.Class, create:() => CustomerAppCard()), 'CustomerAppNotif': TypeInfo(TypeOf.Class, create:() => CustomerAppNotif()), 'CustomerAppStep': TypeInfo(TypeOf.Class, create:() => CustomerAppStep()), 'CustomerAppOrder': TypeInfo(TypeOf.Class, create:() => CustomerAppOrder()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'CustomerAppRecurrence': TypeInfo(TypeOf.Class, create:() => CustomerAppRecurrence()), 'CustomerAppInvoice': TypeInfo(TypeOf.Class, create:() => CustomerAppInvoice()), 'CustomerAppMe': TypeInfo(TypeOf.Class, create:() => CustomerAppMe()), '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:() => []), 'CourierCustomerRow': TypeInfo(TypeOf.Class, create:() => CourierCustomerRow()), 'RunResult': TypeInfo(TypeOf.Class, create:() => RunResult()), 'CourierBookOrderResponse': TypeInfo(TypeOf.Class, create:() => CourierBookOrderResponse()), 'CustomerAppResponse': TypeInfo(TypeOf.Class, create:() => CustomerAppResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'CustomerAppRecurringEditRequest': TypeInfo(TypeOf.Class, create:() => CustomerAppRecurringEditRequest()), });