/* Options: Date: 2026-08-27 08:00:35 SwiftVersion: 6.0 Version: 10.08 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://dev-api-booster.richemont.com //BaseClass: //AddModelExtensions: True //AddServiceStackTypes: True //MakePropertiesOptional: True IncludeTypes: GetStockLookup.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: False //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/stock/{brand}/lookup", "GET") public class GetStockLookup : IReturn, Codable { public typealias Return = GetStockLookupResponse /** * Brand */ // @ApiMember(Description="Brand", IsRequired=true) public var brand:String? /** * Article Code */ // @ApiMember(Description="Article Code", IsRequired=true) public var articleCode:String? /** * Serial Number */ // @ApiMember(Description="Serial Number", IsRequired=true) public var serialNumber:String? /** * Storage Location Identifier e.g. CPO, NEW, REP */ // @ApiMember(Description="Storage Location Identifier e.g. CPO, NEW, REP") public var storageLocationId:String? /** * Inventory segment e.g. CPO or null */ // @ApiMember(Description="Inventory segment e.g. CPO or null") public var inventorySegment:String? required public init(){} } public class GetStockLookupResponse : Codable { /** * Exists in Stock? */ // @ApiMember(Description="Exists in Stock?", IsRequired=true) public var existsInStock:Bool? /** * Stock Locations / POSes */ // @ApiMember(Description="Stock Locations / POSes", IsRequired=true) public var stockLocation:Pos? required public init(){} } public class Pos : Codable { /** * POS Code */ // @ApiMember(Description="POS Code", IsRequired=true) public var posCode:String? /** * Name of the POS */ // @ApiMember(Description="Name of the POS", IsRequired=true) public var name:String? /** * City of the POS */ // @ApiMember(Description="City of the POS", IsRequired=true) public var city:String? /** * Address of the POS */ // @ApiMember(Description="Address of the POS", IsRequired=true) public var address:String? /** * Country of the POS */ // @ApiMember(Description="Country of the POS", IsRequired=true) public var country:String? /** * Brand of the POS */ // @ApiMember(Description="Brand of the POS", IsRequired=true) public var brand:String? required public init(){} } public class Pos : Codable { /** * Name of the POS */ // @ApiMember(Description="Name of the POS", IsRequired=true) public var name:String? /** * POS Code */ // @ApiMember(Description="POS Code", IsRequired=true) public var posCode:String? /** * Pos Code To Be Displayed */ // @ApiMember(Description="Pos Code To Be Displayed", IsRequired=true) public var posCodeToBeDisplayed:String? /** * Country of the POS */ // @ApiMember(Description="Country of the POS", IsRequired=true) public var country:String? /** * City of the POS */ // @ApiMember(Description="City of the POS", IsRequired=true) public var city:String? /** * Postal Code */ // @ApiMember(Description="Postal Code", IsRequired=true) public var postalCode:String? /** * State */ // @ApiMember(Description="State", IsRequired=true) public var state:String? /** * Street */ // @ApiMember(Description="Street", IsRequired=true) public var street:String? required public init(){} }