/* Options: Date: 2026-09-01 21:52:38 Version: 10.09 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://blazor-gallery.servicestack.net //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: DeleteInvoiceItems.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class InvoiceItems implements IConvertible { int invoiceLineId = 0; int invoiceId = 0; int trackId = 0; double unitPrice = 0; int quantity = 0; InvoiceItems({this.invoiceLineId=0,this.invoiceId=0,this.trackId=0,this.unitPrice=0,this.quantity=0}); InvoiceItems.fromJson(Map json) { fromMap(json); } fromMap(Map json) { invoiceLineId = json['invoiceLineId'] ?? 0; invoiceId = json['invoiceId'] ?? 0; trackId = json['trackId'] ?? 0; unitPrice = JsonConverters.toDouble(json['unitPrice']) ?? 0; quantity = json['quantity'] ?? 0; return this; } Map toJson() => { 'invoiceLineId': invoiceLineId, 'invoiceId': invoiceId, 'trackId': trackId, 'unitPrice': unitPrice, 'quantity': quantity }; getTypeName() => "InvoiceItems"; TypeContext? context = _ctx; } // @Route("/invoiceitems/{InvoiceLineId}", "DELETE") class DeleteInvoiceItems implements IReturn, IDelete, IDeleteDb, IConvertible { int invoiceLineId = 0; DeleteInvoiceItems({this.invoiceLineId=0}); DeleteInvoiceItems.fromJson(Map json) { fromMap(json); } fromMap(Map json) { invoiceLineId = json['invoiceLineId'] ?? 0; return this; } Map toJson() => { 'invoiceLineId': invoiceLineId }; createResponse() => IdResponse(); getResponseTypeName() => "IdResponse"; getTypeName() => "DeleteInvoiceItems"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'blazor_gallery.servicestack.net', types: { 'InvoiceItems': TypeInfo(TypeOf.Class, create:() => InvoiceItems()), 'DeleteInvoiceItems': TypeInfo(TypeOf.Class, create:() => DeleteInvoiceItems()), });