' Options:
'Date: 2025-07-07 15:27:11
'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: CreateCustomer.*
'''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
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
Public Partial Class CreateCustomer
Inherits Customer
Implements IReturn(Of CreateCustomerResponse)
'''
'''Privacy policy acceptance for data storage
'''
Public Overridable Property privacyPolicyAcceptanceStorage As Boolean
'''
'''Privacy policy acceptance of data storage for TimeVallée
'''
Public Overridable Property tvPrivacyPolicyAcceptanceStorage As Nullable(Of Boolean)
End Class
Public Partial Class CreateCustomerResponse
'''
'''Booster Customer ID
'''
Public Overridable Property boosterCustomerId As Integer
End Class
Public Partial Class Customer
Public Sub New()
emails = New List(Of Email)
phones = New List(Of Phone)
addresses = New List(Of Address)
events = New List(Of Event)
interests = New List(Of Interest)
hobbies = New List(Of Hobby)
productCollections = New List(Of ProductCollection)
End Sub
'''
'''Title e.g. 'Mr & Mrs', 'Mr.', 'Mrs.', 'Sama', 'Captain' - Mandatory only when customer type is 'PRIVATE'
'''
Public Overridable Property title As String
'''
'''First Name
'''
Public Overridable Property firstName As String
'''
'''Last Name - Mandatory only when customer type is 'PRIVATE'
'''
Public Overridable Property lastName As String
'''
'''First Name Not Latin
'''
Public Overridable Property firstNameNotLatin As String
'''
'''Last Name Not Latin
'''
Public Overridable Property lastNameNotLatin As String
'''
'''Middle Name
'''
Public Overridable Property middleName As String
'''
'''Name Suffix
'''
Public Overridable Property nameSuffix As String
'''
'''Can be Contacted by Maison e.g. true or false
'''
Public Overridable Property canBeContactedByMaison As Boolean
'''
'''Customer Type e.g. 'PRIVATE' or 'COMPANY'
'''
Public Overridable Property clientType As String
'''
'''Company Name - Mandatory only when customer type is 'COMPANY'
'''
Public Overridable Property companyName As String
'''
'''Language Id e.g. ita, chi, aze, eng, ger - Mandatory only when customer type is 'PRIVATE'
'''
Public Overridable Property languageId As String
'''
'''Gender e.g. M, F - Mandatory only when customer type is 'PRIVATE'
'''
Public Overridable Property gender As String
'''
'''Country Id e.g. it, cn, az, gb, de
'''
Public Overridable Property countryId As String
'''
'''Birth Date e.g. '2020-12-30'
'''
Public Overridable Property birthDate As Nullable(Of Date)
'''
'''Customer reference
'''
Public Overridable Property customerReference As String
'''
'''POS Code e.g. ES100:102048
'''
Public Overridable Property posCode As String
'''
'''Brand e.g. CAR, MTB
'''
Public Overridable Property brand As String
'''
'''Wedding Date, e.g. '2020-01-18'
'''
Public Overridable Property weddingDate As Nullable(Of Date)
'''
'''Preferred Contact Method e.g. 'Fax', 'Tel', 'EMail', 'Mail', 'Survey'
'''
Public Overridable Property preferredContactMethod As String
'''
'''Provide 'true' if you want to be contacted by email. Leave empty or 'false' if you do not.
'''
Public Overridable Property contactByEmailFlag As Boolean
'''
'''Provide 'true' if you want to be contacted by mail. Leave empty or 'false' if you do not.
'''
Public Overridable Property contactByMailFlag As Boolean
'''
'''Provide 'true' if you want to be contacted by phone. Leave empty or 'false' if you do not.
'''
Public Overridable Property contactByPhoneFlag As Boolean
'''
'''Provide 'true' if you want to be contacted by SMS. Leave empty or 'false' if you do not.
'''
Public Overridable Property contactBySMSFlag As Boolean
'''
'''Provide 'true' if you want to be contacted by social media. Leave empty or 'false' if you do not.
'''
Public Overridable Property contactBySocialMediaFlag As Boolean
'''
'''Sale Representative Email e.g. rauf.aliyev@richemont.com
'''
Public Overridable Property saleRepresentativeEmail As String
'''
'''Consent for allowing Cross Border Data Transfer
'''
Public Overridable Property allowStoreDataAbroad As Nullable(Of Boolean)
'''
'''Consent for allowing Cross Border Data Transfer For TimeVallée
'''
Public Overridable Property tvAllowStoreDataAbroad As Nullable(Of Boolean)
'''
'''Customer emails
'''
Public Overridable Property emails As List(Of Email)
'''
'''Customer phones
'''
Public Overridable Property phones As List(Of Phone)
'''
'''Customer addresses
'''
Public Overridable Property addresses As List(Of Address)
'''
'''Customer events
'''
Public Overridable Property events As List(Of Event)
'''
'''Customer interests
'''
Public Overridable Property interests As List(Of Interest)
'''
'''Customer hobbies
'''
Public Overridable Property hobbies As List(Of Hobby)
'''
'''Customer product collections
'''
Public Overridable Property productCollections As List(Of ProductCollection)
'''
'''Provide 'true' if you allow data sharing consent. Leave empty or 'false' if you do not.
'''
Public Overridable Property dataSharingConsent As Nullable(Of Boolean)
'''
'''Notes
'''
Public Overridable Property notes As String
'''
'''Reference Sale Representative Email
'''
Public Overridable Property referenceSaleRepresentativeEmail As String
'''
'''Registration Date
'''
Public Overridable Property registrationDate As Nullable(Of Date)
End Class
Public Partial Class Email
'''
'''Email
'''
Public Overridable Property email As String
'''
'''Main email
'''
Public Overridable Property isMainEmail As Boolean
End Class
Public Partial Class Event
'''
'''Event type e.g. 'Birthday', 'Wedding', 'Anniversary', 'Barmitza', 'Other'
'''
Public Overridable Property eventType As String
'''
'''Event date e.g. '2021-01-20'
'''
Public Overridable Property eventDate As Date
'''
'''Event notes
'''
Public Overridable Property eventNotes As String
'''
'''Event other name
'''
Public Overridable Property eventOtherName As String
End Class
Public Partial Class Hobby
'''
'''Hobby description
'''
Public Overridable Property hobby As String
'''
'''SAP Hobby ID, e.g. 'ART'
'''
Public Overridable Property sapHobbyId As String
'''
'''Hobby description translation
'''
Public Overridable Property translation As String
End Class
Public Partial Class Interest
'''
'''Interest description
'''
Public Overridable Property interest As String
'''
'''SAP Interest ID, e.g. 'CA-1'
'''
Public Overridable Property sapInterestId As String
'''
'''Interest description translation
'''
Public Overridable Property translation As String
End Class
Public Partial Class Phone
'''
'''Phone e.g. cn: 13888889999, jp: 352858088, kr: 023123456
'''
Public Overridable Property phone As String
'''
'''Prefix Country Id e.g. it, fr, az
'''
Public Overridable Property countryPrefix As String
'''
'''Phone type e.g. 'Home', 'Mobile', 'Work', 'Other', 'Secondary Address'
'''
Public Overridable Property phoneType As String
'''
'''Main Phone
'''
Public Overridable Property isMainPhone As Boolean
End Class
Public Partial Class ProductCollection
'''
'''Product Collection description
'''
Public Overridable Property productCollection As String
'''
'''SAP ProductCollection ID, e.g. 'CA-1'
'''
Public Overridable Property sapProductCollectionId As String
'''
'''Product Collection description translation
'''
Public Overridable Property translation 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
End Namespace
End Namespace