' Options: 'Date: 2026-05-19 09:52:06 '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 '''MakeDataContractsExtensible: False '''AddReturnMarker: True '''AddDescriptionAsComments: True '''AddDataContractAttributes: False '''AddIndexesToDataMembers: False '''AddGeneratedCodeAttributes: False '''AddResponseStatus: False '''AddImplicitVersion: '''InitializeCollections: True '''ExportValueTypes: False 'IncludeTypes: SimulateOrderV2.* '''ExcludeTypes: '''AddNamespaces: '''AddDefaultXmlNamespace: http://schemas.servicestack.net/types Imports System Imports System.Collections Imports System.Collections.Generic Imports System.Runtime.Serialization Imports ServiceStack Imports ServiceStack.DataAnnotations Imports Richemont.Booster2.PublicApi.CRM.ServiceModel Imports Richemont.Booster2.PublicApi.Purchase.ServiceModel Imports Richemont.Booster2.PublicApi.Purchase.ServiceModel.SharedModels Namespace Global Namespace Richemont.Booster2.PublicApi.CRM.ServiceModel Public Partial Class Address ''' '''Address type e.g. Home, Office, Shipping ''' Public Overridable Property addressType As String ''' '''Country Id e.g. it, cn, az, gb, de ''' Public Overridable Property countryId As String ''' '''House Number ''' Public Overridable Property houseNumber As String ''' '''Region/State ''' Public Overridable Property stateId As String ''' '''City Name ''' Public Overridable Property city As String ''' '''Postal Code ''' Public Overridable Property zipCode As String ''' '''Street Name and Number ''' Public Overridable Property street As String ''' '''Street 2 ''' Public Overridable Property street2 As String ''' '''Street 3 ''' Public Overridable Property street3 As String ''' '''Street 4 ''' Public Overridable Property street4 As String ''' '''Street 5 ''' Public Overridable Property street5 As String ''' '''Main Address ''' Public Overridable Property isMainAddress As Boolean ''' '''Post Office Box ''' Public Overridable Property poBox As String ''' '''Additional Information ''' Public Overridable Property additionalInformation As String End Class End Namespace Namespace Richemont.Booster2.PublicApi.Purchase.ServiceModel Public Partial Class Address ''' '''Country ID ''' Public Overridable Property countryId As String ''' '''State ID ''' Public Overridable Property stateId As String ''' '''City Name ''' Public Overridable Property city As String ''' '''Street Name and Number ''' Public Overridable Property street As String ''' '''Postal Code ''' Public Overridable Property zipCode As String End Class Public Partial Class Amount ''' '''Value ''' Public Overridable Property value As Decimal ''' '''Currency ''' Public Overridable Property currency As String End Class Public Partial Class AmountAndQuantity ''' '''Amount ''' Public Overridable Property amount As Amount ''' '''Base Quantity ''' Public Overridable Property baseQuantity As Quantity End Class Public Partial Class ItemTotalValues ''' '''Requested Quantity ''' Public Overridable Property requestedQuantity As Quantity ''' '''Confirmed Quantity ''' Public Overridable Property confirmedQuantity As Quantity ''' '''Available Quantity ''' Public Overridable Property availableQuantity As Quantity ''' '''Gross Weight ''' Public Overridable Property grossWeightMeasure As Quantity ''' '''Net Weight ''' Public Overridable Property netWeightMeasure As Quantity ''' '''Volume ''' Public Overridable Property volumeMeasure As Quantity ''' '''Net Amount Line Total ''' Public Overridable Property netAmount As Amount ''' '''Net Price Line Total ''' Public Overridable Property netPrice As AmountAndQuantity ''' '''Tax Amount Line Total ''' Public Overridable Property taxAmount As Amount ''' '''Retail Sales Price Line Total ''' Public Overridable Property retailSalesPriceAmount As Amount End Class Public Partial Class Party ''' '''Internal ID of the Element ''' Public Overridable Property id As String ''' '''Formatted Name of the Element ''' Public Overridable Property name As String ''' '''Geographic Address of the Element ''' Public Overridable Property address As Address End Class Public Partial Class Quantity ''' '''Unit ''' Public Overridable Property unit As String ''' '''Value ''' Public Overridable Property value As Decimal End Class Public Partial Class SimulateOrderItemRequestV2 ''' '''Line Number ''' Public Overridable Property lineNumber As Integer ''' '''Reference ID of the article/product, e.g. 'CRWB520003' ''' Public Overridable Property articleCode As String ''' '''Desired quantity of the article ''' Public Overridable Property quantity As Integer ''' '''Requested Delivery Date of the Item, e.g. '2020-12-30' ''' Public Overridable Property requestedDeliveryDate As Nullable(Of Date) ''' '''Purchase order type, e.g. 'WCFS', null. Null for ordinary order ''' Public Overridable Property orderType As String ''' '''Final Ship To Pos Code ''' Public Overridable Property finalShipToId As String ''' '''Strap definition ''' Public Overridable Property strap As StrapItem End Class Public Partial Class SimulateOrderItemResponseV2 Public Sub New() warnings = New List(Of Warning) End Sub ''' '''Line Number, e.g 20, 40, 21, 41 ''' Public Overridable Property lineNumber As Integer ''' '''Parent Line Number, e.g 20, 40 ''' Public Overridable Property parentLineNumber As Nullable(Of Integer) ''' '''Original line number in the request. Line numbers are remapped after the split ''' Public Overridable Property requestLineNumber As Integer ''' '''Reference No of item, e.g.: CRWB521234 ''' Public Overridable Property articleCode As String ''' '''Substituted reference No of item, e.g.: CRWB520003 ''' Public Overridable Property substitutedArticleCode As String ''' '''DeliveryPlantId of item, e.g.: CHD6 ''' Public Overridable Property deliveryPlantId As String ''' '''Expected Delivery Date, e.g. '2020-12-30' ''' Public Overridable Property expectedDeliveryDate As String ''' '''Buckle Summary, need to be forwarded to order creation ''' Public Overridable Property buckleSummary As String ''' '''Material Summary, need to be forwarded to order creation ''' Public Overridable Property materialSummary As String ''' '''Content Summary, need to be forwarded to order creation ''' Public Overridable Property contentSummary As String ''' '''Strap Summary, need to be forwarded to order creation ''' Public Overridable Property strapSummary As String ''' '''Item Total Values ''' Public Overridable Property totalValues As ItemTotalValues ''' '''Warning list ''' Public Overridable Property warnings As List(Of Warning) End Class Public Partial Class SimulateOrderResponseV2 Public Sub New() results = New Dictionary(Of String, SplittedSimulateOrderResponse) shipTo = New List(Of Party) finalShipTo = New List(Of Party) billTo = New List(Of Party) End Sub ''' '''List of splitted order simulation results ''' Public Overridable Property results As Dictionary(Of String, SplittedSimulateOrderResponse) ''' '''Addresses which order can be shipped to (common list for all splitted orders) ''' Public Overridable Property shipTo As List(Of Party) ''' '''Addresses which order can be final shipped to (common list for all splitted orders) ''' Public Overridable Property finalShipTo As List(Of Party) ''' '''Addresses which order can be billed to (common list for all splitted orders) ''' Public Overridable Property billTo As List(Of Party) ''' '''Address which order is made to (common list for all splitted orders) ''' Public Overridable Property soldTo As Party ''' '''Sales representatives (common list for all splitted orders) ''' Public Overridable Property salesRepresentative As Party End Class Public Partial Class SimulateOrderV2 Implements IReturn(Of SimulateOrderResponseV2) Public Sub New() orderItems = New List(Of SimulateOrderItemRequestV2) End Sub ''' '''Brand Trigram of the intended Order, e.g. 'IWC', 'CAR', etc. ''' Public Overridable Property brand As String ''' '''Global Pos Code for the intended Order e.g. ES100:102048 ''' Public Overridable Property posCode As String ''' '''Customer Reference ''' Public Overridable Property customerReference As String ''' '''Additional Notes regarding the Order ''' Public Overridable Property notes As String ''' '''Purchase order date, e.g. '2020-12-31' ''' Public Overridable Property orderDate As Nullable(Of Date) ''' '''List of Articles to be simulated ''' Public Overridable Property orderItems As List(Of SimulateOrderItemRequestV2) ''' '''Booster1 ID of the end Customer ''' Public Overridable Property endCustomerBooster1Id As String ''' '''Details of the end Customer ''' Public Overridable Property endCustomerDetails As EndCustomerDetails End Class Public Partial Class SplittedSimulateOrderResponse Public Sub New() orderItems = New List(Of SimulateOrderItemResponseV2) shipTo = New List(Of Party) finalShipTo = New List(Of Party) billTo = New List(Of Party) warnings = New List(Of Warning) End Sub ''' '''Order Type ''' Public Overridable Property orderType As String ''' '''Product Type ''' Public Overridable Property productType As String ''' '''List of Articles simulated ''' Public Overridable Property orderItems As List(Of SimulateOrderItemResponseV2) ''' '''Total Values ''' Public Overridable Property totalValues As TotalValues ''' '''Addresses which order can be shipped to ''' Public Overridable Property shipTo As List(Of Party) ''' '''Addresses which order can be final shipped to ''' Public Overridable Property finalShipTo As List(Of Party) ''' '''Addresses which order can be billed to ''' Public Overridable Property billTo As List(Of Party) ''' '''Address which order is made to ''' Public Overridable Property soldTo As Party ''' '''Sales Representative ''' Public Overridable Property salesRepresentative As Party ''' '''Warning list ''' Public Overridable Property warnings As List(Of Warning) End Class Public Partial Class TotalValues ''' '''Gross Weight ''' Public Overridable Property grossWeightMeasure As Quantity ''' '''Net Weight ''' Public Overridable Property netWeightMeasure As Quantity ''' '''Gross Volume ''' Public Overridable Property grossVolumeMeasure As Quantity ''' '''Gross Amount ''' Public Overridable Property grossAmount As Amount ''' '''Net Amount ''' Public Overridable Property netAmount As Amount ''' '''Tax Amount ''' Public Overridable Property taxAmount As Amount End Class Public Partial Class Warning ''' '''Id ''' Public Overridable Property id As String ''' '''Message ''' Public Overridable Property message As String ''' '''Severity code, possible values: 1, 2, 3, 4 ''' Public Overridable Property severityCode As Integer End Class End Namespace Namespace Richemont.Booster2.PublicApi.Purchase.ServiceModel.SharedModels Public Partial Class EndCustomerDetails ''' '''Title of the end Customer, e.g. 'MR', 'MRS'. ''' Public Overridable Property title As String ''' '''First Name of the end Customer ''' Public Overridable Property firstName As String ''' '''Last Name of the end Customer ''' Public Overridable Property lastName As String ''' '''Email of the end Customer ''' Public Overridable Property email As String ''' '''Phone number of the end Customer, e.g. '0032477123456'. ''' Public Overridable Property phone As String ''' '''Countr code in the shipping address, e.g. 'BE' (ISO Code) ''' Public Overridable Property country As String ''' '''City name in the shipping address ''' Public Overridable Property city As String ''' '''Street name in the shipping address ''' Public Overridable Property street As String ''' '''House number in the shipping address ''' Public Overridable Property houseNumber As String ''' '''Building number in the shipping address ''' Public Overridable Property building As String ''' '''Postal code in the shipping address ''' Public Overridable Property postalCode As String ''' '''Region code in the shipping address, e.g. 'VL' (ISO Code) ''' Public Overridable Property region As String ''' '''District name in the shipping address ''' Public Overridable Property district As String ''' '''Additional Info number to the shipping address ''' Public Overridable Property additionalInfo As String End Class Public Partial Class StrapItem ''' '''Article reference ''' Public Overridable Property speakingArticleCode As String ''' '''Buckle type Description ''' Public Overridable Property buckleTypeDescription As String ''' '''Buckle type ''' Public Overridable Property buckleTypeCode As String ''' '''watch 6 Length ''' Public Overridable Property watch6Length As Nullable(Of Integer) ''' '''watch 12 Length ''' Public Overridable Property watch12Length As Nullable(Of Integer) ''' '''Article Material Code ''' Public Overridable Property materialCode As String ''' '''Article Material Description ''' Public Overridable Property materialDescription As String ''' '''Article Color Code ''' Public Overridable Property colorCode As String ''' '''Article Color Description ''' Public Overridable Property colorDescription As String ''' '''Buckle Witdh ''' Public Overridable Property buckleWidth As String ''' '''Article Lining Code ''' Public Overridable Property liningCode As String ''' '''Article Lining Description ''' Public Overridable Property liningDescription As String ''' '''Article Stitching Code ''' Public Overridable Property stitchingCode As String ''' '''Article Stitching Description ''' Public Overridable Property stitchingDescription As String ''' '''Article Edge Code ''' Public Overridable Property edgeCode As String ''' '''Article Edge Description ''' Public Overridable Property edgeDescription As String ''' '''Article Padding Code ''' Public Overridable Property paddingCode As String ''' '''Article Padding Description ''' Public Overridable Property paddingDescription As String ''' '''Article Speciality Code ''' Public Overridable Property specialtyCode As String ''' '''Article Speciality Description ''' Public Overridable Property specialtyDescription As String ''' '''Nuancier Code ''' Public Overridable Property nuancierCode As String ''' '''Strap Vip Order ''' Public Overridable Property isStrapVipOrder As Nullable(Of Boolean) End Class End Namespace End Namespace