/* Options: Date: 2026-05-19 10:58:10 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: GetStockDetail.* //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.Purchase.ServiceModel; using Richemont.Booster2.PublicApi.Stock.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}/{posCode}/{articleCode}", "GET")] public partial class GetStockDetail : IReturn { /// ///Brand /// [ApiMember(Description="Brand", IsRequired=true)] public virtual string brand { get; set; } /// ///POS Legacy /// [ApiMember(Description="POS Legacy", IsRequired=true)] public virtual string posCode { get; set; } /// ///Article Code /// [ApiMember(Description="Article Code", IsRequired=true)] public virtual string articleCode { get; set; } } public partial class GetStockDetailResponse { public GetStockDetailResponse() { stockPositions = new List{}; } /// ///Article code /// [ApiMember(Description="Article code", IsRequired=true)] public virtual string articleCode { get; set; } /// ///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; } /// ///Current Stock Quantity /// [ApiMember(Description="Current Stock Quantity", IsRequired=true)] public virtual int currentStockQuantity { get; set; } /// ///Shared Stock Location /// [ApiMember(Description="Shared Stock Location", IsRequired=true)] public virtual Pos sharedStockLocation { get; set; } /// ///Stock Positions /// [ApiMember(Description="Stock Positions", IsRequired=true)] public virtual List stockPositions { get; set; } } 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 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 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; } } }