/* Options: Date: 2026-08-27 07:10:39 Version: 10.08 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: GetPurchaseItems.* //ExcludeTypes: //InitializeCollections: False //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.* */ import java.math.* import java.util.* import java.io.InputStream import net.servicestack.client.* @Route(Path="/purchaseItem/{brand}", Verbs="GET") open class GetPurchaseItems : IReturn, IPagedRequest { /** * Brand */ @ApiMember(Description="Brand", IsRequired=true) open var brand:String? = null /** * POS Legacy */ @ApiMember(Description="POS Legacy", IsRequired=true) open var posCodes:ArrayList = ArrayList() /** * Article Codes */ @ApiMember(Description="Article Codes") open var articleCodes:ArrayList? = null /** * ERP Order Codes */ @ApiMember(Description="ERP Order Codes") open var erpOrderCodes:ArrayList? = null /** * Index of the result set returned */ @ApiMember(Description="Index of the result set returned") override var page:Int? = null /** * Size of the result set returned */ @ApiMember(Description="Size of the result set returned") override var items:Int? = null /** * Omit precise record count - save on performance */ @ApiMember(Description="Omit precise record count - save on performance") override var noCount:Boolean? = null /** * Sorting expression */ @ApiMember(Description="Sorting expression") override var sortBy:String? = null companion object { private val responseType = GetPurchaseItemsResponse::class.java } override fun getResponseType(): Any? = GetPurchaseItems.responseType } open class GetPurchaseItemsResponse { /** * Total Pages */ @ApiMember(Description="Total Pages", IsRequired=true) open var totalPages:Int? = null /** * Total Results */ @ApiMember(Description="Total Results", IsRequired=true) open var totalResults:Int? = null /** * Index of the result set returned */ @ApiMember(Description="Index of the result set returned", IsRequired=true) open var page:Int? = null /** * Size of the result set returned */ @ApiMember(Description="Size of the result set returned", IsRequired=true) open var items:Int? = null /** * List of purchase items */ @ApiMember(Description="List of purchase items", IsRequired=true) open var elements:ArrayList? = null } interface IPagedRequest { var page:Int? var items:Int? var noCount:Boolean? var sortBy:String? } open class PurchaseItem { /** * Pos Code */ @ApiMember(Description="Pos Code", IsRequired=true) open var posCode:String? = null /** * Pos Code To Be Displayed */ @ApiMember(Description="Pos Code To Be Displayed", IsRequired=true) open var posCodeToBeDisplayed:String? = null /** * Erp Order Id */ @ApiMember(Description="Erp Order Id", IsRequired=true) open var erpOrderId:Int? = null /** * Line number */ @ApiMember(Description="Line number", IsRequired=true) open var lineNumber:Int? = null /** * Order Date */ @ApiMember(Description="Order Date", IsRequired=true) open var orderDate:String? = null /** * Origin Order Id */ @ApiMember(Description="Origin Order Id") open var originOrderId:Int? = null /** * Article Code */ @ApiMember(Description="Article Code", IsRequired=true) open var articleCode:String? = null /** * Ordered Quantity */ @ApiMember(Description="Ordered Quantity", IsRequired=true) open var orderedQuantity:Int? = null /** * Open Quantity */ @ApiMember(Description="Open Quantity", IsRequired=true) open var openQuantity:Int? = null /** * Order status */ @ApiMember(Description="Order status", IsRequired=true) open var status:String? = null /** * Net Amount */ @ApiMember(Description="Net Amount", IsRequired=true) open var netAmount:Amount? = null /** * Customer Reference */ @ApiMember(Description="Customer Reference", IsRequired=true) open var customerReference:String? = null /** * Speaking Article Code */ @ApiMember(Description="Speaking Article Code", IsRequired=true) open var speakingArticleCode:String? = null /** * Expected Delivery Date */ @ApiMember(Description="Expected Delivery Date", IsRequired=true) open var expectedDeliveryDate:String? = null /** * Is Strap Vip Order */ @ApiMember(Description="Is Strap Vip Order", IsRequired=true) open var isStrapVipOrder:Boolean? = null /** * Order Type */ @ApiMember(Description="Order Type", IsRequired=true) open var orderType:String? = null } open class Amount { /** * Value */ @ApiMember(Description="Value", IsRequired=true) open var value:BigDecimal? = null /** * Currency */ @ApiMember(Description="Currency", IsRequired=true) open var currency:String? = null }