/* Options: Date: 2026-05-19 09:52:15 Version: 8.22 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://dev-api-booster.richemont.com //GlobalNamespace: //MakePartial: True //MakeVirtual: True //MakeInternal: False //MakeDataContractsExtensible: False //AddNullableAnnotations: False //AddReturnMarker: True //AddDescriptionAsComments: True //AddDataContractAttributes: False //AddIndexesToDataMembers: False //AddGeneratedCodeAttributes: False //AddResponseStatus: False //AddImplicitVersion: //InitializeCollections: True //ExportValueTypes: False IncludeTypes: GetStock.* //ExcludeTypes: //AddNamespaces: //AddDefaultXmlNamespace: http://schemas.servicestack.net/types */ using System; using System.Collections; using System.Collections.Generic; using System.Runtime.Serialization; using ServiceStack; using ServiceStack.DataAnnotations; using Richemont.Booster2.PublicApi.Stock.ServiceModel; using Richemont.Booster2.PublicApi.Purchase.ServiceModel; namespace Richemont.Booster2.PublicApi.Purchase.ServiceModel { public partial class Pos { /// ///POS Code /// [ApiMember(Description="POS Code", IsRequired=true)] public virtual string posCode { get; set; } /// ///Name of the POS /// [ApiMember(Description="Name of the POS", IsRequired=true)] public virtual string name { get; set; } /// ///City of the POS /// [ApiMember(Description="City of the POS", IsRequired=true)] public virtual string city { get; set; } /// ///Address of the POS /// [ApiMember(Description="Address of the POS", IsRequired=true)] public virtual string address { get; set; } /// ///Country of the POS /// [ApiMember(Description="Country of the POS", IsRequired=true)] public virtual string country { get; set; } /// ///Brand of the POS /// [ApiMember(Description="Brand of the POS", IsRequired=true)] public virtual string brand { get; set; } } } namespace Richemont.Booster2.PublicApi.Stock.ServiceModel { [Route("/stock/{brand}", "GET")] public partial class GetStock : StockRequest, IReturn { } public partial class GetStockResponse : List { } public partial class Pos { /// ///Name of the POS /// [ApiMember(Description="Name of the POS", IsRequired=true)] public virtual string name { get; set; } /// ///POS Code /// [ApiMember(Description="POS Code", IsRequired=true)] public virtual string posCode { get; set; } /// ///Pos Code To Be Displayed /// [ApiMember(Description="Pos Code To Be Displayed", IsRequired=true)] public virtual string posCodeToBeDisplayed { get; set; } /// ///Country of the POS /// [ApiMember(Description="Country of the POS", IsRequired=true)] public virtual string country { get; set; } /// ///City of the POS /// [ApiMember(Description="City of the POS", IsRequired=true)] public virtual string city { get; set; } /// ///Postal Code /// [ApiMember(Description="Postal Code", IsRequired=true)] public virtual string postalCode { get; set; } /// ///State /// [ApiMember(Description="State", IsRequired=true)] public virtual string state { get; set; } /// ///Street /// [ApiMember(Description="Street", IsRequired=true)] public virtual string street { get; set; } } public partial class PosStockItem { public PosStockItem() { stockItems = new List{}; } /// ///Brand /// [ApiMember(Description="Brand", IsRequired=true)] public virtual string brand { get; set; } /// ///Pos Code /// [ApiMember(Description="Pos Code", IsRequired=true)] public virtual string posCode { get; set; } /// ///Shared Stock Location /// [ApiMember(Description="Shared Stock Location", IsRequired=true)] public virtual Pos sharedStockLocation { get; set; } /// ///Stock Items /// [ApiMember(Description="Stock Items")] public virtual List stockItems { get; set; } } public partial class StockItem { public StockItem() { serialNumbers = new List{}; stockPositions = new List{}; } /// ///Article Code /// [ApiMember(Description="Article Code", IsRequired=true)] public virtual string articleCode { get; set; } /// ///Current Stock Quantity /// [ApiMember(Description="Current Stock Quantity", IsRequired=true)] public virtual int currentStockQuantity { get; set; } /// ///Serial Numbers /// [ApiMember(Description="Serial Numbers")] public virtual List serialNumbers { get; set; } /// ///Stock Item in Details /// [ApiMember(Description="Stock Item in Details", IsRequired=true)] public virtual List stockPositions { get; set; } } public partial class StockPositionItem { /// ///Quantity /// [ApiMember(Description="Quantity", IsRequired=true)] public virtual int quantity { get; set; } /// ///Serial Number /// [ApiMember(Description="Serial Number")] public virtual string serialNumber { get; set; } /// ///Stock Date /// [ApiMember(Description="Stock Date", IsRequired=true)] public virtual string stockDate { get; set; } /// ///Loaded On Date /// [ApiMember(Description="Loaded On Date", IsRequired=true)] public virtual string loadedOnDate { get; set; } /// ///Type e.g. consignment or standard /// [ApiMember(Description="Type e.g. consignment or standard", IsRequired=true)] public virtual string type { get; set; } /// ///Is Consignment Sellable /// [ApiMember(Description="Is Consignment Sellable ", IsRequired=true)] public virtual bool isConsignmentSellable { get; set; } /// ///Sell-In Price. Disclaimer: this data will be arriving empty/null due to DealerCost project still being in test phase. /// [ApiMember(Description="Sell-In Price. Disclaimer: this data will be arriving empty/null due to DealerCost project still being in test phase.")] public virtual UnitNetAmount unitNetAmount { get; set; } /// ///Retail Sales Price /// [ApiMember(Description="Retail Sales Price")] public virtual UnitNetAmount retailSalesPrice { get; set; } } public partial class StockRequest { public StockRequest() { posCodes = new List{}; articleCodes = new List{}; clusterIds = new List{}; } /// ///Brand /// [ApiMember(Description="Brand", IsRequired=true)] public virtual string brand { get; set; } /// ///POS Legacy /// [ApiMember(Description="POS Legacy")] public virtual List posCodes { get; set; } /// ///Article Codes /// [ApiMember(Description="Article Codes")] public virtual List articleCodes { get; set; } /// ///Include Extra Info /// [ApiMember(Description="Include Extra Info")] public virtual bool includeExtraInfo { get; set; } /// ///Cluster Id /// [ApiMember(Description="Cluster Id")] public virtual List clusterIds { get; set; } /// ///Include Consignment NotAuthorized POS /// [ApiMember(Description="Include Consignment NotAuthorized POS")] public virtual bool includeConsignmentNotAuthorizedPOS { get; set; } /// ///Include Retail Sales Price in the Output, by default: false /// [ApiMember(Description="Include Retail Sales Price in the Output, by default: false")] public virtual bool includeRSP { get; set; } /// ///In Stock Since date from /// [ApiMember(Description="In Stock Since date from ")] public virtual DateTime? dateFrom { get; set; } /// ///In Stock Since date to /// [ApiMember(Description="In Stock Since date to")] public virtual DateTime? dateTo { get; set; } /// ///Item type, 'standard' OR 'consigned'. By default, all are coming /// [ApiMember(Description="Item type, 'standard' OR 'consigned'. By default, all are coming")] public virtual string type { get; set; } } public partial class UnitNetAmount { /// ///Currency Iso Code /// [ApiMember(Description="Currency Iso Code", IsRequired=true)] public virtual string currencyIsoCode { get; set; } /// ///Value /// [ApiMember(Description="Value", IsRequired=true)] public virtual decimal? value { get; set; } } }