/* Options: Date: 2026-04-05 18:24:47 Version: 6.110 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://internal.thebunkerbridge.com //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: ETSOrderConfirmationDetails.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class GetETSOrderConfirmationDetailsViewModel implements IConvertible { String? OrderType; String? PaymentTerms; String? PaymentDate; String? DeliveryDate; String? NotesText; bool? IsForward; GetETSOrderConfirmationDetailsViewModel({this.OrderType,this.PaymentTerms,this.PaymentDate,this.DeliveryDate,this.NotesText,this.IsForward}); GetETSOrderConfirmationDetailsViewModel.fromJson(Map json) { fromMap(json); } fromMap(Map json) { OrderType = json['OrderType']; PaymentTerms = json['PaymentTerms']; PaymentDate = json['PaymentDate']; DeliveryDate = json['DeliveryDate']; NotesText = json['NotesText']; IsForward = json['IsForward']; return this; } Map toJson() => { 'OrderType': OrderType, 'PaymentTerms': PaymentTerms, 'PaymentDate': PaymentDate, 'DeliveryDate': DeliveryDate, 'NotesText': NotesText, 'IsForward': IsForward }; getTypeName() => "GetETSOrderConfirmationDetailsViewModel"; TypeContext? context = _ctx; } // @Route("/ETS/Order-Confirmation-Details", "GET") class ETSOrderConfirmationDetails implements IReturn, IConvertible, IGet { String? SupplierName; bool? IsForward; DateTime? ForwardMonthStartingDate; ETSOrderConfirmationDetails({this.SupplierName,this.IsForward,this.ForwardMonthStartingDate}); ETSOrderConfirmationDetails.fromJson(Map json) { fromMap(json); } fromMap(Map json) { SupplierName = json['SupplierName']; IsForward = json['IsForward']; ForwardMonthStartingDate = JsonConverters.fromJson(json['ForwardMonthStartingDate'],'DateTime',context!); return this; } Map toJson() => { 'SupplierName': SupplierName, 'IsForward': IsForward, 'ForwardMonthStartingDate': JsonConverters.toJson(ForwardMonthStartingDate,'DateTime',context!) }; createResponse() => GetETSOrderConfirmationDetailsViewModel(); getResponseTypeName() => "GetETSOrderConfirmationDetailsViewModel"; getTypeName() => "ETSOrderConfirmationDetails"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'internal.thebunkerbridge.com', types: { 'GetETSOrderConfirmationDetailsViewModel': TypeInfo(TypeOf.Class, create:() => GetETSOrderConfirmationDetailsViewModel()), 'ETSOrderConfirmationDetails': TypeInfo(TypeOf.Class, create:() => ETSOrderConfirmationDetails()), });