/* Options: Date: 2026-05-19 09:51:30 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: CreateOrderV2.* //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.SharedModels; using Richemont.Booster2.PublicApi.Purchase.ServiceModel; namespace Richemont.Booster2.PublicApi.Purchase.ServiceModel { public partial class CreateOrderItemRequestV2 { /// ///Line Number /// [ApiMember(Description="Line Number", IsRequired=true)] public virtual int lineNumber { get; set; } /// ///Reference ID of the article/product, e.g. 'CRWB520003' /// [ApiMember(Description="Reference ID of the article/product, e.g. 'CRWB520003'", IsRequired=true)] public virtual string articleCode { get; set; } /// ///Desired quantity of the article /// [ApiMember(Description="Desired quantity of the article", IsRequired=true)] public virtual int quantity { get; set; } /// ///Requested Delivery Date of the Item, e.g. '2020-12-30' /// [ApiMember(Description="Requested Delivery Date of the Item, e.g. '2020-12-30'")] public virtual DateTime? requestedDeliveryDate { get; set; } /// ///Strap definition /// [ApiMember(Description="Strap definition")] public virtual StrapItem strap { get; set; } /// ///Purchase order type, e.g. 'WCFS', null. Null for ordinary order /// [ApiMember(Description="Purchase order type, e.g. 'WCFS', null. Null for ordinary order")] public virtual string orderType { get; set; } /// ///DeliveryPlantId of item, e.g.: CHD6 /// [ApiMember(Description="DeliveryPlantId of item, e.g.: CHD6")] public virtual string deliveryPlantId { get; set; } /// ///Reason Code /// [ApiMember(Description="Reason Code", IsRequired=true)] public virtual string reasonCode { get; set; } /// ///Order Delivery Priority, e.g.: 10, 20, 30, 40, 50 /// [ApiMember(Description="Order Delivery Priority, e.g.: 10, 20, 30, 40, 50")] public virtual int? orderDeliveryPriority { get; set; } /// ///Buckle Summary, can be get from order simulation /// [ApiMember(Description="Buckle Summary, can be get from order simulation")] public virtual string buckleSummary { get; set; } /// ///Material Summary, can be get from order simulation /// [ApiMember(Description="Material Summary, can be get from order simulation")] public virtual string materialSummary { get; set; } /// ///Content Summary, can be get from order simulation /// [ApiMember(Description="Content Summary, can be get from order simulation")] public virtual string contentSummary { get; set; } /// ///Strap Summary, can be get from order simulation /// [ApiMember(Description="Strap Summary, can be get from order simulation")] public virtual string strapSummary { get; set; } } [Route("/purchase/v2", "POST")] public partial class CreateOrderV2 { public CreateOrderV2() { SplittedOrders = new List{}; } /// ///Purchase order ID, total length-max with x-booster-App header: 99 /// [ApiMember(Description="Purchase order ID, total length-max with x-booster-App header: 99", IsRequired=true)] public virtual string orderId { get; set; } /// ///Global Pos Code for the intended Order e.g. ES100:102048 /// [ApiMember(Description="Global Pos Code for the intended Order e.g. ES100:102048", IsRequired=true)] public virtual string posCode { get; set; } /// ///Brand Trigram of the intended Order, e.g. 'IWC', 'CAR', etc. /// [ApiMember(Description="Brand Trigram of the intended Order, e.g. 'IWC', 'CAR', etc.", IsRequired=true)] public virtual string brand { get; set; } /// ///Additional Notes regarding the Order /// [ApiMember(Description="Additional Notes regarding the Order")] public virtual string notes { get; set; } /// ///Customer Reference /// [ApiMember(Description="Customer Reference")] public virtual string customerReference { get; set; } /// ///Customer Reference for Consignment Order /// [ApiMember(Description="Customer Reference for Consignment Order")] public virtual string customerReferenceConsignment { get; set; } /// ///Purchase order date, e.g. '2020-12-31' /// [ApiMember(Description="Purchase order date, e.g. '2020-12-31'")] public virtual DateTime? orderDate { get; set; } /// ///Details of the end Customer /// [ApiMember(Description="Details of the end Customer")] public virtual List SplittedOrders { get; set; } /// ///Booster1 ID of the end Customer /// [ApiMember(Description="Booster1 ID of the end Customer")] public virtual string endCustomerBooster1Id { get; set; } /// ///Details of the end Customer /// [ApiMember(Description="Details of the end Customer")] public virtual EndCustomerDetails endCustomerDetails { get; set; } } public partial class SplittedOrder { public SplittedOrder() { orderItems = new List{}; } /// ///Ship To Pos Code /// [ApiMember(Description="Ship To Pos Code", IsRequired=true)] public virtual string shipToId { get; set; } /// ///Final Ship To Pos Code /// [ApiMember(Description="Final Ship To Pos Code")] public virtual string finalShipToId { get; set; } /// ///Bill To Pos Code /// [ApiMember(Description="Bill To Pos Code", IsRequired=true)] public virtual string billToId { get; set; } /// ///Sold To Pos Code /// [ApiMember(Description="Sold To Pos Code", IsRequired=true)] public virtual string soldToId { get; set; } /// ///Sales Representative Code /// [ApiMember(Description="Sales Representative Code")] public virtual string salesRepresentativeId { get; set; } /// ///List of Articles to be created /// [ApiMember(Description="List of Articles to be created", IsRequired=true)] public virtual List orderItems { get; set; } } } namespace Richemont.Booster2.PublicApi.Purchase.ServiceModel.SharedModels { public partial class EndCustomerDetails { /// ///Title of the end Customer, e.g. 'MR', 'MRS'. /// [ApiMember(Description="Title of the end Customer, e.g. 'MR', 'MRS'.")] public virtual string title { get; set; } /// ///First Name of the end Customer /// [ApiMember(Description="First Name of the end Customer", IsRequired=true)] public virtual string firstName { get; set; } /// ///Last Name of the end Customer /// [ApiMember(Description="Last Name of the end Customer", IsRequired=true)] public virtual string lastName { get; set; } /// ///Email of the end Customer /// [ApiMember(Description="Email of the end Customer")] public virtual string email { get; set; } /// ///Phone number of the end Customer, e.g. '0032477123456'. /// [ApiMember(Description="Phone number of the end Customer, e.g. '0032477123456'. ")] public virtual string phone { get; set; } /// ///Countr code in the shipping address, e.g. 'BE' (ISO Code) /// [ApiMember(Description="Countr code in the shipping address, e.g. 'BE' (ISO Code)", IsRequired=true)] public virtual string country { get; set; } /// ///City name in the shipping address /// [ApiMember(Description="City name in the shipping address", IsRequired=true)] public virtual string city { get; set; } /// ///Street name in the shipping address /// [ApiMember(Description="Street name in the shipping address", IsRequired=true)] public virtual string street { get; set; } /// ///House number in the shipping address /// [ApiMember(Description="House number in the shipping address")] public virtual string houseNumber { get; set; } /// ///Building number in the shipping address /// [ApiMember(Description="Building number in the shipping address")] public virtual string building { get; set; } /// ///Postal code in the shipping address /// [ApiMember(Description="Postal code in the shipping address")] public virtual string postalCode { get; set; } /// ///Region code in the shipping address, e.g. 'VL' (ISO Code) /// [ApiMember(Description="Region code in the shipping address, e.g. 'VL' (ISO Code)")] public virtual string region { get; set; } /// ///District name in the shipping address /// [ApiMember(Description="District name in the shipping address")] public virtual string district { get; set; } /// ///Additional Info number to the shipping address /// [ApiMember(Description="Additional Info number to the shipping address")] public virtual string additionalInfo { get; set; } } public partial class StrapItem { /// ///Article reference /// [ApiMember(Description="Article reference")] public virtual string speakingArticleCode { get; set; } /// ///Buckle type Description /// [ApiMember(Description="Buckle type Description")] public virtual string buckleTypeDescription { get; set; } /// ///Buckle type /// [ApiMember(Description="Buckle type")] public virtual string buckleTypeCode { get; set; } /// ///watch 6 Length /// [ApiMember(Description="watch 6 Length")] public virtual int? watch6Length { get; set; } /// ///watch 12 Length /// [ApiMember(Description="watch 12 Length")] public virtual int? watch12Length { get; set; } /// ///Article Material Code /// [ApiMember(Description="Article Material Code")] public virtual string materialCode { get; set; } /// ///Article Material Description /// [ApiMember(Description="Article Material Description")] public virtual string materialDescription { get; set; } /// ///Article Color Code /// [ApiMember(Description="Article Color Code")] public virtual string colorCode { get; set; } /// ///Article Color Description /// [ApiMember(Description="Article Color Description")] public virtual string colorDescription { get; set; } /// ///Buckle Witdh /// [ApiMember(Description="Buckle Witdh")] public virtual string buckleWidth { get; set; } /// ///Article Lining Code /// [ApiMember(Description="Article Lining Code")] public virtual string liningCode { get; set; } /// ///Article Lining Description /// [ApiMember(Description="Article Lining Description")] public virtual string liningDescription { get; set; } /// ///Article Stitching Code /// [ApiMember(Description="Article Stitching Code")] public virtual string stitchingCode { get; set; } /// ///Article Stitching Description /// [ApiMember(Description="Article Stitching Description")] public virtual string stitchingDescription { get; set; } /// ///Article Edge Code /// [ApiMember(Description="Article Edge Code")] public virtual string edgeCode { get; set; } /// ///Article Edge Description /// [ApiMember(Description="Article Edge Description")] public virtual string edgeDescription { get; set; } /// ///Article Padding Code /// [ApiMember(Description="Article Padding Code")] public virtual string paddingCode { get; set; } /// ///Article Padding Description /// [ApiMember(Description="Article Padding Description")] public virtual string paddingDescription { get; set; } /// ///Article Speciality Code /// [ApiMember(Description="Article Speciality Code")] public virtual string specialtyCode { get; set; } /// ///Article Speciality Description /// [ApiMember(Description="Article Speciality Description")] public virtual string specialtyDescription { get; set; } /// ///Nuancier Code /// [ApiMember(Description="Nuancier Code")] public virtual string nuancierCode { get; set; } /// ///Strap Vip Order /// [ApiMember(Description="Strap Vip Order")] public virtual bool? isStrapVipOrder { get; set; } } }