/* Options: Date: 2026-04-16 00:19:47 Version: 10.06 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://prod-api-agency-orch-mb-dhc.rapp-customers.co.uk //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GetOrderCustomerRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class Order implements IConvertible { String Guid = ""; String Reference = ""; int Status = 0; String CustomerId = ""; String MulesoftReference = ""; String GasId = ""; String OrderDate = ""; String OfferSnapShot = ""; Order({this.Guid,this.Reference,this.Status,this.CustomerId,this.MulesoftReference,this.GasId,this.OrderDate,this.OfferSnapShot}); Order.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Guid = json['Guid']; Reference = json['Reference']; Status = json['Status']; CustomerId = json['CustomerId']; MulesoftReference = json['MulesoftReference']; GasId = json['GasId']; OrderDate = json['OrderDate']; OfferSnapShot = json['OfferSnapShot']; return this; } Map toJson() => { 'Guid': Guid, 'Reference': Reference, 'Status': Status, 'CustomerId': CustomerId, 'MulesoftReference': MulesoftReference, 'GasId': GasId, 'OrderDate': OrderDate, 'OfferSnapShot': OfferSnapShot }; getTypeName() => "Order"; TypeContext? context = _ctx; } class OrderStatus implements IConvertible { int Id = 0; String Description = ""; OrderStatus({this.Id,this.Description}); OrderStatus.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Id = json['Id']; Description = json['Description']; return this; } Map toJson() => { 'Id': Id, 'Description': Description }; getTypeName() => "OrderStatus"; TypeContext? context = _ctx; } class OnlineShowroomStatus implements IConvertible { int Id = 0; String Description = ""; String Slug = ""; bool Current; bool Completed; List OrderStatuses = []; OnlineShowroomStatus({this.Id,this.Description,this.Slug,this.Current,this.Completed,this.OrderStatuses}); OnlineShowroomStatus.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Id = json['Id']; Description = json['Description']; Slug = json['Slug']; Current = json['Current']; Completed = json['Completed']; OrderStatuses = JsonConverters.fromJson(json['OrderStatuses'],'List',context!); return this; } Map toJson() => { 'Id': Id, 'Description': Description, 'Slug': Slug, 'Current': Current, 'Completed': Completed, 'OrderStatuses': JsonConverters.toJson(OrderStatuses,'List',context!) }; getTypeName() => "OnlineShowroomStatus"; TypeContext? context = _ctx; } class Retailer implements IConvertible { int Id = 0; String? GssnId; String? Description; String? Street; String? City; String? District; String? Postcode; String? GoogleMapPostcode; String? Phone; String? Fax; String? Email; String? Website; double Latitude = 0; double Longitude = 0; int? RetailerGroup_Id; String? RetailerGroupId; String? RetailerGroupName; double Distance = 0; String? PaymentServiceGuid; bool? IsOnline; bool? IsNewCarRetailer; bool? IsUsedCarRetailer; bool IsCentralRetailer; bool ChatEnabled; bool TradeInEnabled; String? DisplayPhoneNumberNew; String? DisplayPhoneNumberUsed; RetailerServices? Services; bool smart; String? smartDescription; String? smartWebsite; String? smartEmail; String? smartPhone; String? AdditionalInformation; String? LegacyId; double DriveTime = 0; bool Agent; int? Port; String? PortName; int? MarketAreaId; String? MarketAreaName; String? MaintenanceDate; String? MaintenanceSource; String? STPAccountNumbers; bool? CampaignExcluded; String? DigitalLoungeParentGssnId; bool SendLeadsToDigitalLoungeParent; bool IsExcludedFromImport; RetailerOpeningTimes? OpeningTimes; int? RegionId; String RegionName = ""; Retailer({this.Id,this.GssnId,this.Description,this.Street,this.City,this.District,this.Postcode,this.GoogleMapPostcode,this.Phone,this.Fax,this.Email,this.Website,this.Latitude,this.Longitude,this.RetailerGroup_Id,this.RetailerGroupId,this.RetailerGroupName,this.Distance,this.PaymentServiceGuid,this.IsOnline,this.IsNewCarRetailer,this.IsUsedCarRetailer,this.IsCentralRetailer,this.ChatEnabled,this.TradeInEnabled,this.DisplayPhoneNumberNew,this.DisplayPhoneNumberUsed,this.Services,this.smart,this.smartDescription,this.smartWebsite,this.smartEmail,this.smartPhone,this.AdditionalInformation,this.LegacyId,this.DriveTime,this.Agent,this.Port,this.PortName,this.MarketAreaId,this.MarketAreaName,this.MaintenanceDate,this.MaintenanceSource,this.STPAccountNumbers,this.CampaignExcluded,this.DigitalLoungeParentGssnId,this.SendLeadsToDigitalLoungeParent,this.IsExcludedFromImport,this.OpeningTimes,this.RegionId,this.RegionName}); Retailer.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Id = json['Id']; GssnId = json['GssnId']; Description = json['Description']; Street = json['Street']; City = json['City']; District = json['District']; Postcode = json['Postcode']; GoogleMapPostcode = json['GoogleMapPostcode']; Phone = json['Phone']; Fax = json['Fax']; Email = json['Email']; Website = json['Website']; Latitude = JsonConverters.toDouble(json['Latitude']); Longitude = JsonConverters.toDouble(json['Longitude']); RetailerGroup_Id = json['RetailerGroup_Id']; RetailerGroupId = json['RetailerGroupId']; RetailerGroupName = json['RetailerGroupName']; Distance = JsonConverters.toDouble(json['Distance']); PaymentServiceGuid = json['PaymentServiceGuid']; IsOnline = json['IsOnline']; IsNewCarRetailer = json['IsNewCarRetailer']; IsUsedCarRetailer = json['IsUsedCarRetailer']; IsCentralRetailer = json['IsCentralRetailer']; ChatEnabled = json['ChatEnabled']; TradeInEnabled = json['TradeInEnabled']; DisplayPhoneNumberNew = json['DisplayPhoneNumberNew']; DisplayPhoneNumberUsed = json['DisplayPhoneNumberUsed']; Services = JsonConverters.fromJson(json['Services'],'RetailerServices',context!); smart = json['smart']; smartDescription = json['smartDescription']; smartWebsite = json['smartWebsite']; smartEmail = json['smartEmail']; smartPhone = json['smartPhone']; AdditionalInformation = json['AdditionalInformation']; LegacyId = json['LegacyId']; DriveTime = JsonConverters.toDouble(json['DriveTime']); Agent = json['Agent']; Port = json['Port']; PortName = json['PortName']; MarketAreaId = json['MarketAreaId']; MarketAreaName = json['MarketAreaName']; MaintenanceDate = json['MaintenanceDate']; MaintenanceSource = json['MaintenanceSource']; STPAccountNumbers = json['STPAccountNumbers']; CampaignExcluded = json['CampaignExcluded']; DigitalLoungeParentGssnId = json['DigitalLoungeParentGssnId']; SendLeadsToDigitalLoungeParent = json['SendLeadsToDigitalLoungeParent']; IsExcludedFromImport = json['IsExcludedFromImport']; OpeningTimes = JsonConverters.fromJson(json['OpeningTimes'],'RetailerOpeningTimes',context!); RegionId = json['RegionId']; RegionName = json['RegionName']; return this; } Map toJson() => { 'Id': Id, 'GssnId': GssnId, 'Description': Description, 'Street': Street, 'City': City, 'District': District, 'Postcode': Postcode, 'GoogleMapPostcode': GoogleMapPostcode, 'Phone': Phone, 'Fax': Fax, 'Email': Email, 'Website': Website, 'Latitude': Latitude, 'Longitude': Longitude, 'RetailerGroup_Id': RetailerGroup_Id, 'RetailerGroupId': RetailerGroupId, 'RetailerGroupName': RetailerGroupName, 'Distance': Distance, 'PaymentServiceGuid': PaymentServiceGuid, 'IsOnline': IsOnline, 'IsNewCarRetailer': IsNewCarRetailer, 'IsUsedCarRetailer': IsUsedCarRetailer, 'IsCentralRetailer': IsCentralRetailer, 'ChatEnabled': ChatEnabled, 'TradeInEnabled': TradeInEnabled, 'DisplayPhoneNumberNew': DisplayPhoneNumberNew, 'DisplayPhoneNumberUsed': DisplayPhoneNumberUsed, 'Services': JsonConverters.toJson(Services,'RetailerServices',context!), 'smart': smart, 'smartDescription': smartDescription, 'smartWebsite': smartWebsite, 'smartEmail': smartEmail, 'smartPhone': smartPhone, 'AdditionalInformation': AdditionalInformation, 'LegacyId': LegacyId, 'DriveTime': DriveTime, 'Agent': Agent, 'Port': Port, 'PortName': PortName, 'MarketAreaId': MarketAreaId, 'MarketAreaName': MarketAreaName, 'MaintenanceDate': MaintenanceDate, 'MaintenanceSource': MaintenanceSource, 'STPAccountNumbers': STPAccountNumbers, 'CampaignExcluded': CampaignExcluded, 'DigitalLoungeParentGssnId': DigitalLoungeParentGssnId, 'SendLeadsToDigitalLoungeParent': SendLeadsToDigitalLoungeParent, 'IsExcludedFromImport': IsExcludedFromImport, 'OpeningTimes': JsonConverters.toJson(OpeningTimes,'RetailerOpeningTimes',context!), 'RegionId': RegionId, 'RegionName': RegionName }; getTypeName() => "Retailer"; TypeContext? context = _ctx; } class OnlineShowroomVehicle implements IConvertible { String Vin = ""; int ModelId = 0; String VehicleClass = ""; String TransmissionType = ""; String FuelType = ""; String ImageUrl = ""; String Colour = ""; String Description = ""; String BodyStyle = ""; String UpholsteryType = ""; Retailer Retailer; double OTR = 0; double ActualPrice = 0; double TotalOfferValue = 0; double NetPrice = 0; String VehicleType = ""; String? OfferExpiryDate; OnlineShowroomVehicle({this.Vin,this.ModelId,this.VehicleClass,this.TransmissionType,this.FuelType,this.ImageUrl,this.Colour,this.Description,this.BodyStyle,this.UpholsteryType,this.Retailer,this.OTR,this.ActualPrice,this.TotalOfferValue,this.NetPrice,this.VehicleType,this.OfferExpiryDate}); OnlineShowroomVehicle.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Vin = json['Vin']; ModelId = json['ModelId']; VehicleClass = json['VehicleClass']; TransmissionType = json['TransmissionType']; FuelType = json['FuelType']; ImageUrl = json['ImageUrl']; Colour = json['Colour']; Description = json['Description']; BodyStyle = json['BodyStyle']; UpholsteryType = json['UpholsteryType']; Retailer = JsonConverters.fromJson(json['Retailer'],'Retailer',context!); OTR = JsonConverters.toDouble(json['OTR']); ActualPrice = JsonConverters.toDouble(json['ActualPrice']); TotalOfferValue = JsonConverters.toDouble(json['TotalOfferValue']); NetPrice = JsonConverters.toDouble(json['NetPrice']); VehicleType = json['VehicleType']; OfferExpiryDate = json['OfferExpiryDate']; return this; } Map toJson() => { 'Vin': Vin, 'ModelId': ModelId, 'VehicleClass': VehicleClass, 'TransmissionType': TransmissionType, 'FuelType': FuelType, 'ImageUrl': ImageUrl, 'Colour': Colour, 'Description': Description, 'BodyStyle': BodyStyle, 'UpholsteryType': UpholsteryType, 'Retailer': JsonConverters.toJson(Retailer,'Retailer',context!), 'OTR': OTR, 'ActualPrice': ActualPrice, 'TotalOfferValue': TotalOfferValue, 'NetPrice': NetPrice, 'VehicleType': VehicleType, 'OfferExpiryDate': OfferExpiryDate }; getTypeName() => "OnlineShowroomVehicle"; TypeContext? context = _ctx; } class Payment implements IConvertible { String PaymentType = ""; String PaymentLink = ""; Payment({this.PaymentType,this.PaymentLink}); Payment.fromJson(Map json) { fromMap(json); } fromMap(Map json) { PaymentType = json['PaymentType']; PaymentLink = json['PaymentLink']; return this; } Map toJson() => { 'PaymentType': PaymentType, 'PaymentLink': PaymentLink }; getTypeName() => "Payment"; TypeContext? context = _ctx; } class Refund implements IConvertible { String Name = ""; String Amount = ""; String PaymentType = ""; String CreatedDate = ""; String Status = ""; String RefundMpayTransactionId = ""; Refund({this.Name,this.Amount,this.PaymentType,this.CreatedDate,this.Status,this.RefundMpayTransactionId}); Refund.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Name = json['Name']; Amount = json['Amount']; PaymentType = json['PaymentType']; CreatedDate = json['CreatedDate']; Status = json['Status']; RefundMpayTransactionId = json['RefundMpayTransactionId']; return this; } Map toJson() => { 'Name': Name, 'Amount': Amount, 'PaymentType': PaymentType, 'CreatedDate': CreatedDate, 'Status': Status, 'RefundMpayTransactionId': RefundMpayTransactionId }; getTypeName() => "Refund"; TypeContext? context = _ctx; } class PaymentDetail implements IConvertible { String Name = ""; String MpayTransactionId = ""; String MerchantReference = ""; String PaymentMethod = ""; String Amount = ""; String NewConfirmedAmount = ""; String PaymentType = ""; String PaymentStatus = ""; String RefundType = ""; String PaymentLink = ""; String CreatedDate = ""; String DateTimePaymentConfirmed = ""; List Refunds = []; PaymentDetail({this.Name,this.MpayTransactionId,this.MerchantReference,this.PaymentMethod,this.Amount,this.NewConfirmedAmount,this.PaymentType,this.PaymentStatus,this.RefundType,this.PaymentLink,this.CreatedDate,this.DateTimePaymentConfirmed,this.Refunds}); PaymentDetail.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Name = json['Name']; MpayTransactionId = json['MpayTransactionId']; MerchantReference = json['MerchantReference']; PaymentMethod = json['PaymentMethod']; Amount = json['Amount']; NewConfirmedAmount = json['NewConfirmedAmount']; PaymentType = json['PaymentType']; PaymentStatus = json['PaymentStatus']; RefundType = json['RefundType']; PaymentLink = json['PaymentLink']; CreatedDate = json['CreatedDate']; DateTimePaymentConfirmed = json['DateTimePaymentConfirmed']; Refunds = JsonConverters.fromJson(json['Refunds'],'List',context!); return this; } Map toJson() => { 'Name': Name, 'MpayTransactionId': MpayTransactionId, 'MerchantReference': MerchantReference, 'PaymentMethod': PaymentMethod, 'Amount': Amount, 'NewConfirmedAmount': NewConfirmedAmount, 'PaymentType': PaymentType, 'PaymentStatus': PaymentStatus, 'RefundType': RefundType, 'PaymentLink': PaymentLink, 'CreatedDate': CreatedDate, 'DateTimePaymentConfirmed': DateTimePaymentConfirmed, 'Refunds': JsonConverters.toJson(Refunds,'List',context!) }; getTypeName() => "PaymentDetail"; TypeContext? context = _ctx; } class PaymentGroup implements IConvertible { String OutstandingBalance = ""; String Deposit = ""; String PaymentsReceived = ""; String AmountPaidByMercedesBenz = ""; String Finance = ""; String FinanceDepositContribution = ""; String CombinedFinanceAndFDC = ""; String CombinedFDCUVDReconciliationPayment = ""; PaymentGroup({this.OutstandingBalance,this.Deposit,this.PaymentsReceived,this.AmountPaidByMercedesBenz,this.Finance,this.FinanceDepositContribution,this.CombinedFinanceAndFDC,this.CombinedFDCUVDReconciliationPayment}); PaymentGroup.fromJson(Map json) { fromMap(json); } fromMap(Map json) { OutstandingBalance = json['OutstandingBalance']; Deposit = json['Deposit']; PaymentsReceived = json['PaymentsReceived']; AmountPaidByMercedesBenz = json['AmountPaidByMercedesBenz']; Finance = json['Finance']; FinanceDepositContribution = json['FinanceDepositContribution']; CombinedFinanceAndFDC = json['CombinedFinanceAndFDC']; CombinedFDCUVDReconciliationPayment = json['CombinedFDCUVDReconciliationPayment']; return this; } Map toJson() => { 'OutstandingBalance': OutstandingBalance, 'Deposit': Deposit, 'PaymentsReceived': PaymentsReceived, 'AmountPaidByMercedesBenz': AmountPaidByMercedesBenz, 'Finance': Finance, 'FinanceDepositContribution': FinanceDepositContribution, 'CombinedFinanceAndFDC': CombinedFinanceAndFDC, 'CombinedFDCUVDReconciliationPayment': CombinedFDCUVDReconciliationPayment }; getTypeName() => "PaymentGroup"; TypeContext? context = _ctx; } class OnlineShowroomOrder implements IConvertible { String Guid = ""; String Reference = ""; List Status = []; OnlineShowroomVehicle Vehicle; String ClosedDate = ""; String CustomerId = ""; String HandoverDate = ""; String ClosedReason = ""; String OrderDate = ""; List PaymentLinks = []; List PaymentDetails = []; List PaymentGroups = []; OnlineShowroomOrder({this.Guid,this.Reference,this.Status,this.Vehicle,this.ClosedDate,this.CustomerId,this.HandoverDate,this.ClosedReason,this.OrderDate,this.PaymentLinks,this.PaymentDetails,this.PaymentGroups}); OnlineShowroomOrder.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Guid = json['Guid']; Reference = json['Reference']; Status = JsonConverters.fromJson(json['Status'],'List',context!); Vehicle = JsonConverters.fromJson(json['Vehicle'],'OnlineShowroomVehicle',context!); ClosedDate = json['ClosedDate']; CustomerId = json['CustomerId']; HandoverDate = json['HandoverDate']; ClosedReason = json['ClosedReason']; OrderDate = json['OrderDate']; PaymentLinks = JsonConverters.fromJson(json['PaymentLinks'],'List',context!); PaymentDetails = JsonConverters.fromJson(json['PaymentDetails'],'List',context!); PaymentGroups = JsonConverters.fromJson(json['PaymentGroups'],'List',context!); return this; } Map toJson() => { 'Guid': Guid, 'Reference': Reference, 'Status': JsonConverters.toJson(Status,'List',context!), 'Vehicle': JsonConverters.toJson(Vehicle,'OnlineShowroomVehicle',context!), 'ClosedDate': ClosedDate, 'CustomerId': CustomerId, 'HandoverDate': HandoverDate, 'ClosedReason': ClosedReason, 'OrderDate': OrderDate, 'PaymentLinks': JsonConverters.toJson(PaymentLinks,'List',context!), 'PaymentDetails': JsonConverters.toJson(PaymentDetails,'List',context!), 'PaymentGroups': JsonConverters.toJson(PaymentGroups,'List',context!) }; getTypeName() => "OnlineShowroomOrder"; TypeContext? context = _ctx; } class Retailer implements IConvertible { int Id = 0; String GssnId = ""; String Description = ""; String Street = ""; String City = ""; String Postcode = ""; String GoogleMapPostcode = ""; String Phone = ""; String Fax = ""; String Email = ""; String Website = ""; String RetailerGroupId = ""; String RetailerGroupName = ""; bool IsOnline; bool IsNewCarRetailer; bool IsUsedCarRetailer; bool IsCentralRetailer; bool ChatEnabled; bool TradeInEnabled; bool smart; String DisplayPhoneNumberNew = ""; String DisplayPhoneNumberUsed = ""; double Latitude = 0; double Longitude = 0; String smartDescription = ""; String smartWebsite = ""; String smartPhone = ""; String LegacyId = ""; bool Agent; int MarketAreaId = 0; String? DigitalLoungeParentGssnId; bool SendLeadsToDigitalLoungeParent; RetailerOpeningTimes? OpeningTimes; int RegionId = 0; String RegionName = ""; Retailer({this.Id,this.GssnId,this.Description,this.Street,this.City,this.Postcode,this.GoogleMapPostcode,this.Phone,this.Fax,this.Email,this.Website,this.RetailerGroupId,this.RetailerGroupName,this.IsOnline,this.IsNewCarRetailer,this.IsUsedCarRetailer,this.IsCentralRetailer,this.ChatEnabled,this.TradeInEnabled,this.smart,this.DisplayPhoneNumberNew,this.DisplayPhoneNumberUsed,this.Latitude,this.Longitude,this.smartDescription,this.smartWebsite,this.smartPhone,this.LegacyId,this.Agent,this.MarketAreaId,this.DigitalLoungeParentGssnId,this.SendLeadsToDigitalLoungeParent,this.OpeningTimes,this.RegionId,this.RegionName}); Retailer.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Id = json['Id']; GssnId = json['GssnId']; Description = json['Description']; Street = json['Street']; City = json['City']; Postcode = json['Postcode']; GoogleMapPostcode = json['GoogleMapPostcode']; Phone = json['Phone']; Fax = json['Fax']; Email = json['Email']; Website = json['Website']; RetailerGroupId = json['RetailerGroupId']; RetailerGroupName = json['RetailerGroupName']; IsOnline = json['IsOnline']; IsNewCarRetailer = json['IsNewCarRetailer']; IsUsedCarRetailer = json['IsUsedCarRetailer']; IsCentralRetailer = json['IsCentralRetailer']; ChatEnabled = json['ChatEnabled']; TradeInEnabled = json['TradeInEnabled']; smart = json['smart']; DisplayPhoneNumberNew = json['DisplayPhoneNumberNew']; DisplayPhoneNumberUsed = json['DisplayPhoneNumberUsed']; Latitude = JsonConverters.toDouble(json['Latitude']); Longitude = JsonConverters.toDouble(json['Longitude']); smartDescription = json['smartDescription']; smartWebsite = json['smartWebsite']; smartPhone = json['smartPhone']; LegacyId = json['LegacyId']; Agent = json['Agent']; MarketAreaId = json['MarketAreaId']; DigitalLoungeParentGssnId = json['DigitalLoungeParentGssnId']; SendLeadsToDigitalLoungeParent = json['SendLeadsToDigitalLoungeParent']; OpeningTimes = JsonConverters.fromJson(json['OpeningTimes'],'RetailerOpeningTimes',context!); RegionId = json['RegionId']; RegionName = json['RegionName']; return this; } Map toJson() => { 'Id': Id, 'GssnId': GssnId, 'Description': Description, 'Street': Street, 'City': City, 'Postcode': Postcode, 'GoogleMapPostcode': GoogleMapPostcode, 'Phone': Phone, 'Fax': Fax, 'Email': Email, 'Website': Website, 'RetailerGroupId': RetailerGroupId, 'RetailerGroupName': RetailerGroupName, 'IsOnline': IsOnline, 'IsNewCarRetailer': IsNewCarRetailer, 'IsUsedCarRetailer': IsUsedCarRetailer, 'IsCentralRetailer': IsCentralRetailer, 'ChatEnabled': ChatEnabled, 'TradeInEnabled': TradeInEnabled, 'smart': smart, 'DisplayPhoneNumberNew': DisplayPhoneNumberNew, 'DisplayPhoneNumberUsed': DisplayPhoneNumberUsed, 'Latitude': Latitude, 'Longitude': Longitude, 'smartDescription': smartDescription, 'smartWebsite': smartWebsite, 'smartPhone': smartPhone, 'LegacyId': LegacyId, 'Agent': Agent, 'MarketAreaId': MarketAreaId, 'DigitalLoungeParentGssnId': DigitalLoungeParentGssnId, 'SendLeadsToDigitalLoungeParent': SendLeadsToDigitalLoungeParent, 'OpeningTimes': JsonConverters.toJson(OpeningTimes,'RetailerOpeningTimes',context!), 'RegionId': RegionId, 'RegionName': RegionName }; getTypeName() => "Retailer"; TypeContext? context = _ctx; } class Retailer implements IConvertible { String? Gssn; String? Description; bool CampaignExcluded; Retailer({this.Gssn,this.Description,this.CampaignExcluded}); Retailer.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Gssn = json['Gssn']; Description = json['Description']; CampaignExcluded = json['CampaignExcluded']; return this; } Map toJson() => { 'Gssn': Gssn, 'Description': Description, 'CampaignExcluded': CampaignExcluded }; getTypeName() => "Retailer"; TypeContext? context = _ctx; } class GetOrderCustomerResponse implements IConvertible { List Orders = []; List Completed = []; List Cancelled = []; List InProgress = []; List Archived = []; GetOrderCustomerResponse({this.Orders,this.Completed,this.Cancelled,this.InProgress,this.Archived}); GetOrderCustomerResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Orders = JsonConverters.fromJson(json['Orders'],'List',context!); Completed = JsonConverters.fromJson(json['Completed'],'List',context!); Cancelled = JsonConverters.fromJson(json['Cancelled'],'List',context!); InProgress = JsonConverters.fromJson(json['InProgress'],'List',context!); Archived = JsonConverters.fromJson(json['Archived'],'List',context!); return this; } Map toJson() => { 'Orders': JsonConverters.toJson(Orders,'List',context!), 'Completed': JsonConverters.toJson(Completed,'List',context!), 'Cancelled': JsonConverters.toJson(Cancelled,'List',context!), 'InProgress': JsonConverters.toJson(InProgress,'List',context!), 'Archived': JsonConverters.toJson(Archived,'List',context!) }; getTypeName() => "GetOrderCustomerResponse"; TypeContext? context = _ctx; } // @Route("/v1/order/customer/{CustomerId}", "GET") class GetOrderCustomerRequest implements IReturn, IGet, IConvertible { String CustomerId = ""; GetOrderCustomerRequest({this.CustomerId}); GetOrderCustomerRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { CustomerId = json['CustomerId']; return this; } Map toJson() => { 'CustomerId': CustomerId }; createResponse() => GetOrderCustomerResponse(); getResponseTypeName() => "GetOrderCustomerResponse"; getTypeName() => "GetOrderCustomerRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'prod_api_agency_orch_mb_dhc.rapp_customers.co.uk', types: { 'Order': TypeInfo(TypeOf.Class, create:() => Order()), 'OrderStatus': TypeInfo(TypeOf.Class, create:() => OrderStatus()), 'OnlineShowroomStatus': TypeInfo(TypeOf.Class, create:() => OnlineShowroomStatus()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'Retailer': TypeInfo(TypeOf.Class, create:() => Retailer()), 'RetailerServices': TypeInfo(TypeOf.Class, create:() => RetailerServices()), 'RetailerOpeningTimes': TypeInfo(TypeOf.Class, create:() => RetailerOpeningTimes()), 'OnlineShowroomVehicle': TypeInfo(TypeOf.Class, create:() => OnlineShowroomVehicle()), 'Payment': TypeInfo(TypeOf.Class, create:() => Payment()), 'Refund': TypeInfo(TypeOf.Class, create:() => Refund()), 'PaymentDetail': TypeInfo(TypeOf.Class, create:() => PaymentDetail()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'PaymentGroup': TypeInfo(TypeOf.Class, create:() => PaymentGroup()), 'OnlineShowroomOrder': TypeInfo(TypeOf.Class, create:() => OnlineShowroomOrder()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'GetOrderCustomerResponse': TypeInfo(TypeOf.Class, create:() => GetOrderCustomerResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'GetOrderCustomerRequest': TypeInfo(TypeOf.Class, create:() => GetOrderCustomerRequest()), });