/* Options: Date: 2026-05-19 10:56:00 Version: 8.22 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://dev-api-booster.richemont.com //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GetStockLookup.* //ExcludeTypes: //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.* import java.util.* import net.servicestack.client.* @Route(Path="/stock/{brand}/lookup", Verbs="GET") open class GetStockLookup : IReturn { /** * Brand */ @ApiMember(Description="Brand", IsRequired=true) var brand:String? = null /** * Article Code */ @ApiMember(Description="Article Code", IsRequired=true) var articleCode:String? = null /** * Serial Number */ @ApiMember(Description="Serial Number", IsRequired=true) var serialNumber:String? = null companion object { private val responseType = GetStockLookupResponse::class.java } override fun getResponseType(): Any? = GetStockLookup.responseType } open class GetStockLookupResponse { /** * Exists in Stock? */ @ApiMember(Description="Exists in Stock?", IsRequired=true) var existsInStock:Boolean? = null /** * Stock Locations / POSes */ @ApiMember(Description="Stock Locations / POSes", IsRequired=true) var stockLocation:Pos? = null } open class Pos { /** * POS Code */ @ApiMember(Description="POS Code", IsRequired=true) var posCode:String? = null /** * Name of the POS */ @ApiMember(Description="Name of the POS", IsRequired=true) var name:String? = null /** * City of the POS */ @ApiMember(Description="City of the POS", IsRequired=true) var city:String? = null /** * Address of the POS */ @ApiMember(Description="Address of the POS", IsRequired=true) var address:String? = null /** * Country of the POS */ @ApiMember(Description="Country of the POS", IsRequired=true) var country:String? = null /** * Brand of the POS */ @ApiMember(Description="Brand of the POS", IsRequired=true) var brand:String? = null } open class Pos { /** * Name of the POS */ @ApiMember(Description="Name of the POS", IsRequired=true) var name:String? = null /** * POS Code */ @ApiMember(Description="POS Code", IsRequired=true) var posCode:String? = null /** * Pos Code To Be Displayed */ @ApiMember(Description="Pos Code To Be Displayed", IsRequired=true) var posCodeToBeDisplayed:String? = null /** * Country of the POS */ @ApiMember(Description="Country of the POS", IsRequired=true) var country:String? = null /** * City of the POS */ @ApiMember(Description="City of the POS", IsRequired=true) var city:String? = null /** * Postal Code */ @ApiMember(Description="Postal Code", IsRequired=true) var postalCode:String? = null /** * State */ @ApiMember(Description="State", IsRequired=true) var state:String? = null /** * Street */ @ApiMember(Description="Street", IsRequired=true) var street:String? = null }