/* Options: Date: 2026-05-19 09:51:13 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: CreateSellOut.* //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.Sellout.ServiceModel; namespace Richemont.Booster2.PublicApi.Sellout.ServiceModel { [Route("/warranty", "POST")] public partial class CreateSellOut : IReturn { public CreateSellOut() { saleRepresentativeEmails = new List{}; } /// ///Brand Trigram, e.g. CAR, IWC; compulsory only if articleCode is not provided /// [ApiMember(Description="Brand Trigram, e.g. CAR, IWC; compulsory only if articleCode is not provided")] public virtual string brand { get; set; } /// ///Richemont POS code /// [ApiMember(Description="Richemont POS code", IsRequired=true)] public virtual string posCode { get; set; } /// ///Receipt or Invoice Number /// [ApiMember(Description="Receipt or Invoice Number")] public virtual string documentNumber { get; set; } /// ///Date of the Sell-out /// [ApiMember(Description="Date of the Sell-out", IsRequired=true)] public virtual DateTime documentDate { get; set; } /// ///Position Number /// [ApiMember(Description="Position Number")] public virtual int? documentLineNumber { get; set; } /// ///Richemont Reference Code of the item /// [ApiMember(Description="Richemont Reference Code of the item", IsRequired=true)] public virtual string articleCode { get; set; } /// ///Serial Number of the item /// [ApiMember(Description="Serial Number of the item")] public virtual string serialNumber { get; set; } /// ///Use positive for standard Sell-out and negative quantity for return /// [ApiMember(Description="Use positive for standard Sell-out and negative quantity for return", IsRequired=true)] public virtual int quantity { get; set; } /// ///Sold Price /// [ApiMember(Description="Sold Price")] public virtual decimal? unitPrice { get; set; } /// ///Currency of the sold price /// [ApiMember(Description="Currency of the sold price")] public virtual string currencyCode { get; set; } /// ///Booster Customer Id /// [ApiMember(Description="Booster Customer Id")] public virtual int? boosterCustomerId { get; set; } /// ///Sale Representative Email e.g. rauf.aliyev@richemont.com /// [ApiMember(Description="Sale Representative Email e.g. rauf.aliyev@richemont.com")] public virtual List saleRepresentativeEmails { get; set; } /// ///Promoter Type ID, e.g. DAI, FIT, GRT /// [ApiMember(Description="Promoter Type ID, e.g. DAI, FIT, GRT")] public virtual string promoterTypeId { get; set; } /// ///Return Reason ID, e.g ADM, CLR, EXC, DEF, OTH /// [ApiMember(Description="Return Reason ID, e.g ADM, CLR, EXC, DEF, OTH")] public virtual string returnReasonId { get; set; } /// ///Sale related comments /// [ApiMember(Description="Sale related comments")] public virtual string comments { get; set; } /// ///Original Sale Detail Id /// [ApiMember(Description="Original Sale Detail Id")] public virtual int? originalSaleDetailId { get; set; } /// ///To have the piece back in stock as consignment in case of consignment sellout return /// [ApiMember(Description="To have the piece back in stock as consignment in case of consignment sellout return")] public virtual bool? consSelloutReturnInStock { get; set; } } public partial class CreateSellOutResponse { public CreateSellOutResponse() { saleDetailIds = new List{}; } /// ///Unique Identifier of the Sell-out item created in Booster /// [ApiMember(Description="Unique Identifier of the Sell-out item created in Booster")] public virtual int? saleDetailId { get; set; } /// ///Unique Identifiers of the Sell-out items created in Booster if more than one /// [ApiMember(Description="Unique Identifiers of the Sell-out items created in Booster if more than one")] public virtual List saleDetailIds { get; set; } /// ///Unique Identifier of the Sell-out header created in Booster /// [ApiMember(Description="Unique Identifier of the Sell-out header created in Booster", IsRequired=true)] public virtual int saleId { get; set; } } }