/* Options: Date: 2026-09-21 22:55:13 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: GetVariantStockByGtinAndID.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; // @Route("/GetVariantStockByGtinAndID") class GetVariantStockByGtinAndID 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...)") String? Gtin; /** * Id of this stock */ // @ApiMember(Description="Id of this stock") int? StockID; GetVariantStockByGtinAndID({this.Gtin,this.StockID}); GetVariantStockByGtinAndID.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Gtin = json['Gtin']; StockID = json['StockID']; return this; } Map toJson() => { 'Gtin': Gtin, 'StockID': StockID }; getTypeName() => "GetVariantStockByGtinAndID"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'clouddemo.pickeos.com', types: { 'GetVariantStockByGtinAndID': TypeInfo(TypeOf.Class, create:() => GetVariantStockByGtinAndID()), });