/* Options: Date: 2026-09-21 23:51:44 SwiftVersion: 6.0 Version: 8.52 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: http://clouddemo.pickeos.com:1337 //BaseClass: //AddModelExtensions: True //AddServiceStackTypes: True //MakePropertiesOptional: True IncludeTypes: StockCreate.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: False //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/CreateStock") // @Route("/StockCreate") public class StockCreate : Codable { /** * 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...)") public var gtin:String? /** * Location of main stock or stock address */ // @ApiMember(Description="Location of main stock or stock address", IsRequired=true) public var stockLocation:String? /** * Quantity physically stocked at this location */ // @ApiMember(Description="Quantity physically stocked at this location", IsRequired=true) public var physicalQuantityStockLocation:Double? /** * Location of reserve stock (2nd stock location address) */ // @ApiMember(Description="Location of reserve stock (2nd stock location address)") public var reserveStockLocation:String? /** * Quantity physically stocked at this location */ // @ApiMember(Description="Quantity physically stocked at this location") public var physicalQuantityReserveStockLocation:Double? /** * Product ID */ // @ApiMember(Description="Product ID") public var productID:String? /** * Second product ID E.g. in case of variant */ // @ApiMember(Description="Second product ID E.g. in case of variant") public var productAttributeID:String? /** * Product reference */ // @ApiMember(Description="Product reference") public var reference:String? /** * GTIN of variant */ // @ApiMember(Description="GTIN of variant") public var gtinAttribute:String? /** * Product label */ // @ApiMember(Description="Product label") public var label:String? required public init(){} }