/* Options: Date: 2025-05-05 19:06:55 Version: 8.61 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: GetOrderDetailByGuidRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class OrderDetailByGuid implements IConvertible { String? Guid; String? BackOrderReference; String? Reference; String? Agent; String? Vin; String? Description; String? ImageUrl; String? OutrightPurchaseCorporation; String? NetPrice; String? OtrPrice; String? ActualPrice; String? CommissionNumber; String? BodyStyle; String? Line; String? Engine; String? Transmission; String? Fuel; String? Colour; String? Upholstery; String? Package; String? FullModelYearCode; String? PortArrivalDate; String? ProductionDate; List? PersonalisedOffer = []; OrderDetailByGuid({this.Guid,this.BackOrderReference,this.Reference,this.Agent,this.Vin,this.Description,this.ImageUrl,this.OutrightPurchaseCorporation,this.NetPrice,this.OtrPrice,this.ActualPrice,this.CommissionNumber,this.BodyStyle,this.Line,this.Engine,this.Transmission,this.Fuel,this.Colour,this.Upholstery,this.Package,this.FullModelYearCode,this.PortArrivalDate,this.ProductionDate,this.PersonalisedOffer}); OrderDetailByGuid.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Guid = json['Guid']; BackOrderReference = json['BackOrderReference']; Reference = json['Reference']; Agent = json['Agent']; Vin = json['Vin']; Description = json['Description']; ImageUrl = json['ImageUrl']; OutrightPurchaseCorporation = json['OutrightPurchaseCorporation']; NetPrice = json['NetPrice']; OtrPrice = json['OtrPrice']; ActualPrice = json['ActualPrice']; CommissionNumber = json['CommissionNumber']; BodyStyle = json['BodyStyle']; Line = json['Line']; Engine = json['Engine']; Transmission = json['Transmission']; Fuel = json['Fuel']; Colour = json['Colour']; Upholstery = json['Upholstery']; Package = json['Package']; FullModelYearCode = json['FullModelYearCode']; PortArrivalDate = json['PortArrivalDate']; ProductionDate = json['ProductionDate']; PersonalisedOffer = JsonConverters.fromJson(json['PersonalisedOffer'],'List',context!); return this; } Map toJson() => { 'Guid': Guid, 'BackOrderReference': BackOrderReference, 'Reference': Reference, 'Agent': Agent, 'Vin': Vin, 'Description': Description, 'ImageUrl': ImageUrl, 'OutrightPurchaseCorporation': OutrightPurchaseCorporation, 'NetPrice': NetPrice, 'OtrPrice': OtrPrice, 'ActualPrice': ActualPrice, 'CommissionNumber': CommissionNumber, 'BodyStyle': BodyStyle, 'Line': Line, 'Engine': Engine, 'Transmission': Transmission, 'Fuel': Fuel, 'Colour': Colour, 'Upholstery': Upholstery, 'Package': Package, 'FullModelYearCode': FullModelYearCode, 'PortArrivalDate': PortArrivalDate, 'ProductionDate': ProductionDate, 'PersonalisedOffer': JsonConverters.toJson(PersonalisedOffer,'List',context!) }; getTypeName() => "OrderDetailByGuid"; TypeContext? context = _ctx; } class GetOrderDetailByGuidResponse implements IConvertible { OrderDetailByGuid? Order; GetOrderDetailByGuidResponse({this.Order}); GetOrderDetailByGuidResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Order = JsonConverters.fromJson(json['Order'],'OrderDetailByGuid',context!); return this; } Map toJson() => { 'Order': JsonConverters.toJson(Order,'OrderDetailByGuid',context!) }; getTypeName() => "GetOrderDetailByGuidResponse"; TypeContext? context = _ctx; } // @Route("/v1/order/detail/{OrderGuid}", "GET") class GetOrderDetailByGuidRequest implements IReturn, IConvertible, IGet { String? OrderGuid; GetOrderDetailByGuidRequest({this.OrderGuid}); GetOrderDetailByGuidRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { OrderGuid = json['OrderGuid']; return this; } Map toJson() => { 'OrderGuid': OrderGuid }; createResponse() => GetOrderDetailByGuidResponse(); getResponseTypeName() => "GetOrderDetailByGuidResponse"; getTypeName() => "GetOrderDetailByGuidRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'prod_api_agency_orch_mb_dhc.rapp_customers.co.uk', types: { 'OrderDetailByGuid': TypeInfo(TypeOf.Class, create:() => OrderDetailByGuid()), 'GetOrderDetailByGuidResponse': TypeInfo(TypeOf.Class, create:() => GetOrderDetailByGuidResponse()), 'GetOrderDetailByGuidRequest': TypeInfo(TypeOf.Class, create:() => GetOrderDetailByGuidRequest()), });