/* Options: Date: 2026-09-21 22:56:07 Version: 8.52 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: http://clouddemo.pickeos.com:1337 //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: MissionAddDetail.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; // @Route("/MissionAddDetail/{MissionName}/{Reference}/{Label}/{Quantity}") class MissionAddDetail implements IConvertible, IPost { /** * Mission name */ // @ApiMember(Description="Mission name", IsRequired=true) String? MissionName; /** * Detail reference */ // @ApiMember(Description="Detail reference", IsRequired=true) String? Reference; /** * Detail label */ // @ApiMember(Description="Detail label", IsRequired=true) String? Label; /** * Quantity */ // @ApiMember(Description="Quantity", IsRequired=true) double? Quantity; /** * QuantityPrepared */ // @ApiMember(Description="QuantityPrepared") double? QuantityPrepared; /** * Mission info */ // @ApiMember(Description="Mission info") String? MissionInfo; /** * Tray key */ // @ApiMember(Description="Tray key") String? Tray; /** * Stock Location */ // @ApiMember(Description="Stock Location") String? StockLocation; /** * To be used to identify with certitude a specific line in the mission result repport. */ // @ApiMember(Description="To be used to identify with certitude a specific line in the mission result repport.") int? LineNumber; /** * Info about article (Max 100 chars) */ // @ApiMember(Description="Info about article (Max 100 chars)") String? Info; /** * Position of article (Max 50 chars) */ // @ApiMember(Description="Position of article (Max 50 chars)") String? GTIN; /** * Product reference used by supplier */ // @ApiMember(Description="Product reference used by supplier") String? SupplierReference; /** * Can be used to optimize picking. The mission will be sorted using this value */ // @ApiMember(Description="Can be used to optimize picking. The mission will be sorted using this value") int? PickingIndex; /** * Defines if an article is substitutable */ // @ApiMember(Description="Defines if an article is substitutable") bool? Substitutable; /** * Defines the new Reference of substituted article */ // @ApiMember(Description="Defines the new Reference of substituted article") String? SubstitutionRef; /** * Unique reference of a containing package */ // @ApiMember(Description="Unique reference of a containing package") String? PackageReference; /** * Number of articles contained in the package */ // @ApiMember(Description="Number of articles contained in the package") int? NbSKUInPackage; /** * Unique reference of a containing package (additional) */ // @ApiMember(Description="Unique reference of a containing package (additional)") String? PackageReference2; /** * Number of articles contained in the package (additional) */ // @ApiMember(Description="Number of articles contained in the package (additional)") int? NbSKUInPackage2; /** * Uses GTIN to resovle StockLocation from Stock DB Table. Takes only the first stock location found in Stock DB. */ // @ApiMember(Description="Uses GTIN to resovle StockLocation from Stock DB Table. Takes only the first stock location found in Stock DB.") bool? ResolveStockLocation; /** * Weight per Item in Kg */ // @ApiMember(Description="Weight per Item in Kg") double? WeightPerItemInKg; /** * Volume per Item in m3 */ // @ApiMember(Description="Volume per Item in m3") double? VolumePerItemInM3; /** * URL of picture */ // @ApiMember(Description="URL of picture") String? PictureURL; /** * Mesure of the item if it is by weight or by piece */ // @ApiMember(Description="Mesure of the item if it is by weight or by piece") String? QuantityUnit; /** * Product versions */ // @ApiMember(Description="Product versions") List? Versions = []; /** * Use to know if product need force scan EAN or not */ // @ApiMember(Description="Use to know if product need force scan EAN or not") bool? IsProductCritical; /** * Mission type */ // @ApiMember(Description="Mission type") String? MissionType; MissionAddDetail({this.MissionName,this.Reference,this.Label,this.Quantity,this.QuantityPrepared,this.MissionInfo,this.Tray,this.StockLocation,this.LineNumber,this.Info,this.GTIN,this.SupplierReference,this.PickingIndex,this.Substitutable,this.SubstitutionRef,this.PackageReference,this.NbSKUInPackage,this.PackageReference2,this.NbSKUInPackage2,this.ResolveStockLocation,this.WeightPerItemInKg,this.VolumePerItemInM3,this.PictureURL,this.QuantityUnit,this.Versions,this.IsProductCritical,this.MissionType}); MissionAddDetail.fromJson(Map json) { fromMap(json); } fromMap(Map json) { MissionName = json['MissionName']; Reference = json['Reference']; Label = json['Label']; Quantity = JsonConverters.toDouble(json['Quantity']); QuantityPrepared = JsonConverters.toDouble(json['QuantityPrepared']); MissionInfo = json['MissionInfo']; Tray = json['Tray']; StockLocation = json['StockLocation']; LineNumber = json['LineNumber']; Info = json['Info']; GTIN = json['GTIN']; SupplierReference = json['SupplierReference']; PickingIndex = json['PickingIndex']; Substitutable = json['Substitutable']; SubstitutionRef = json['SubstitutionRef']; PackageReference = json['PackageReference']; NbSKUInPackage = json['NbSKUInPackage']; PackageReference2 = json['PackageReference2']; NbSKUInPackage2 = json['NbSKUInPackage2']; ResolveStockLocation = json['ResolveStockLocation']; WeightPerItemInKg = JsonConverters.toDouble(json['WeightPerItemInKg']); VolumePerItemInM3 = JsonConverters.toDouble(json['VolumePerItemInM3']); PictureURL = json['PictureURL']; QuantityUnit = json['QuantityUnit']; Versions = JsonConverters.fromJson(json['Versions'],'List',context!); IsProductCritical = json['IsProductCritical']; MissionType = json['MissionType']; return this; } Map toJson() => { 'MissionName': MissionName, 'Reference': Reference, 'Label': Label, 'Quantity': Quantity, 'QuantityPrepared': QuantityPrepared, 'MissionInfo': MissionInfo, 'Tray': Tray, 'StockLocation': StockLocation, 'LineNumber': LineNumber, 'Info': Info, 'GTIN': GTIN, 'SupplierReference': SupplierReference, 'PickingIndex': PickingIndex, 'Substitutable': Substitutable, 'SubstitutionRef': SubstitutionRef, 'PackageReference': PackageReference, 'NbSKUInPackage': NbSKUInPackage, 'PackageReference2': PackageReference2, 'NbSKUInPackage2': NbSKUInPackage2, 'ResolveStockLocation': ResolveStockLocation, 'WeightPerItemInKg': WeightPerItemInKg, 'VolumePerItemInM3': VolumePerItemInM3, 'PictureURL': PictureURL, 'QuantityUnit': QuantityUnit, 'Versions': JsonConverters.toJson(Versions,'List',context!), 'IsProductCritical': IsProductCritical, 'MissionType': MissionType }; getTypeName() => "MissionAddDetail"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'clouddemo.pickeos.com', types: { 'MissionAddDetail': TypeInfo(TypeOf.Class, create:() => MissionAddDetail()), });