/* Options: Date: 2026-09-21 22:56:02 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: UpdateGtinStockByRef.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; // @Route("/UpdateGtinStockByRef") class UpdateGtinStockByRef implements IConvertible, IPost { /** * Global Trade Item Number : usually is the barcode of product (EAN, UPC, Gencode, etc...) */ // @ApiMember(Description="Global Trade Item Number : usually is the barcode of product (EAN, UPC, Gencode, etc...)", IsRequired=true) String? Gtin; /** * Quantity moved (delta quantity) */ // @ApiMember(Description="Quantity moved (delta quantity)") String? Reference; UpdateGtinStockByRef({this.Gtin,this.Reference}); UpdateGtinStockByRef.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Gtin = json['Gtin']; Reference = json['Reference']; return this; } Map toJson() => { 'Gtin': Gtin, 'Reference': Reference }; getTypeName() => "UpdateGtinStockByRef"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'clouddemo.pickeos.com', types: { 'UpdateGtinStockByRef': TypeInfo(TypeOf.Class, create:() => UpdateGtinStockByRef()), });