/* Options: Date: 2026-05-19 09:53:23 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: GetWarehouseStock.* //ExcludeTypes: //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.* import java.util.* import net.servicestack.client.* @Route(Path="/warehouseItems/{brand}/{posCode}", Verbs="GET") open class GetWarehouseStock : IReturn, IPagedRequest { /** * Brand */ @ApiMember(Description="Brand", IsRequired=true) var brand:String? = null /** * POS Legacy */ @ApiMember(Description="POS Legacy", IsRequired=true) var posCode:String? = null /** * List of Article Codes */ @ApiMember(Description="List of Article Codes") var articleCodes:ArrayList = ArrayList() /** * Index of the result set returned */ @ApiMember(Description="Index of the result set returned") var page:Int? = null /** * Size of the result set returned */ @ApiMember(Description="Size of the result set returned") var items:Int? = null /** * Omit precise record count - save on performance */ @ApiMember(Description="Omit precise record count - save on performance") var noCount:Boolean? = null /** * Sorting expression */ @ApiMember(Description="Sorting expression") var sortBy:String? = null companion object { private val responseType = GetWarehouseStockResponse::class.java } override fun getResponseType(): Any? = GetWarehouseStock.responseType } open class GetWarehouseStockResponse { /** * Total Pages */ @ApiMember(Description="Total Pages", IsRequired=true) var totalPages:Int? = null /** * Total Results */ @ApiMember(Description="Total Results", IsRequired=true) var totalResults:Int? = null /** * Index of the result set returned */ @ApiMember(Description="Index of the result set returned", IsRequired=true) var page:Int? = null /** * Size of the result set returned */ @ApiMember(Description="Size of the result set returned", IsRequired=true) var items:Int? = null /** * List of movements */ @ApiMember(Description="List of movements", IsRequired=true) var elements:ArrayList = ArrayList() } open interface IPagedRequest { var page:Int? var items:Int? var noCount:Boolean? var sortBy:String? } open class WarehouseStockElement { /** * Article Code */ @ApiMember(Description="Article Code", IsRequired=true) var articleCode:String? = null /** * Current Stock Quantity */ @ApiMember(Description="Current Stock Quantity", IsRequired=true) var atpQuantity:Int? = null }