/* Options: Date: 2026-05-19 09:51:36 Version: 8.22 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://dev-api-booster.richemont.com //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: GetCustomerV2.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.*; import java.util.*; import net.servicestack.client.*; public class dtos { @Route(Path="/customer/v2/{customerId}", Verbs="GET") public static class GetCustomerV2 implements IReturn { /** * Booster or Elevate Customer ID */ @ApiMember(Description="Booster or Elevate Customer ID", IsRequired=true) public String customerId = null; public String getCustomerId() { return customerId; } public GetCustomerV2 setCustomerId(String value) { this.customerId = value; return this; } private static Object responseType = GetCustomerV2Response.class; public Object getResponseType() { return responseType; } } public static class GetCustomerV2Response { /** * Booster Customer ID */ @ApiMember(Description="Booster Customer ID") public Integer boosterCustomerId = null; /** * Elevate Customer ID */ @ApiMember(Description="Elevate Customer ID") public String elevateCustomerId = null; /** * SAP ID */ @ApiMember(Description="SAP ID", IsRequired=true) public String sapId = null; /** * Title e.g. 'Mr & Mrs', 'Mr.', 'Mrs.', 'Sama', 'Captain' - Mandatory only when customer type is 'Personal' */ @ApiMember(Description="Title e.g. 'Mr & Mrs', 'Mr.', 'Mrs.', 'Sama', 'Captain' - Mandatory only when customer type is 'Personal'", IsRequired=true) public String title = null; /** * First Name */ @ApiMember(Description="First Name", IsRequired=true) public String firstName = null; /** * Last Name - Mandatory only when customer type is 'Personal' */ @ApiMember(Description="Last Name - Mandatory only when customer type is 'Personal'", IsRequired=true) public String lastName = null; /** * First Name Not Latin, e.g. Arabic */ @ApiMember(Description="First Name Not Latin, e.g. Arabic", IsRequired=true) public String firstNameNotLatin = null; /** * Last Name Not Latin, e.g. Arabic; Mandatory only when customer type is 'Personal' */ @ApiMember(Description="Last Name Not Latin, e.g. Arabic; Mandatory only when customer type is 'Personal'", IsRequired=true) public String lastNameNotLatin = null; /** * Middle Name */ @ApiMember(Description="Middle Name") public String middleName = null; /** * Name Suffix */ @ApiMember(Description="Name Suffix") public String nameSuffix = null; /** * Can be Contacted by Maison e.g. true or false */ @ApiMember(Description="Can be Contacted by Maison e.g. true or false", IsRequired=true) public Boolean canBeContactedByMaison = null; /** * clientType e.g. Private, Company */ @ApiMember(Description="clientType e.g. Private, Company", IsRequired=true) public String clientType = null; /** * Company Name - Mandatory only when customer type is 'Company' */ @ApiMember(Description="Company Name - Mandatory only when customer type is 'Company'") public String companyName = null; /** * Language Id e.g. ita, chi, aze, eng, ger - Mandatory only when customer type is 'Personal' */ @ApiMember(Description="Language Id e.g. ita, chi, aze, eng, ger - Mandatory only when customer type is 'Personal'") public String languageId = null; /** * Gender e.g. M, F - Mandatory only when customer type is 'Personal' */ @ApiMember(Description="Gender e.g. M, F - Mandatory only when customer type is 'Personal'") public String gender = null; /** * Country Id e.g. it, ch, az, gb, de */ @ApiMember(Description="Country Id e.g. it, ch, az, gb, de", IsRequired=true) public String countryId = null; /** * Country Description e.g. Italy, Switzerland, Azerbaijan, Great Britain, Germany */ @ApiMember(Description="Country Description e.g. Italy, Switzerland, Azerbaijan, Great Britain, Germany", IsRequired=true) public String countryDs = null; /** * Birth Date e.g. '2020-12-30' */ @ApiMember(Description="Birth Date e.g. '2020-12-30'") public String birthDate = null; /** * Customer reference */ @ApiMember(Description="Customer reference") public String customerReference = null; /** * POS Code e.g. ES100:102048 */ @ApiMember(Description="POS Code e.g. ES100:102048", IsRequired=true) public String posCode = null; /** * Brand e.g. CAR, MTB */ @ApiMember(Description="Brand e.g. CAR, MTB", IsRequired=true) public String brand = null; /** * Wedding Date, e.g. '2020-01-18' */ @ApiMember(Description="Wedding Date, e.g. '2020-01-18'") public String weddingDate = null; /** * Preferred Contact Method e.g. 'Fax', 'Tel', 'EMail', 'Mail', 'Survey' */ @ApiMember(Description="Preferred Contact Method e.g. 'Fax', 'Tel', 'EMail', 'Mail', 'Survey'") public String preferredContactMethod = null; /** * Provide 'true' if you want to be contacted by email. Leave empty or 'false' if you do not. */ @ApiMember(Description="Provide 'true' if you want to be contacted by email. Leave empty or 'false' if you do not.") public Boolean contactByEmailFlag = null; /** * Provide 'true' if you want to be contacted by mail. Leave empty or 'false' if you do not. */ @ApiMember(Description="Provide 'true' if you want to be contacted by mail. Leave empty or 'false' if you do not.") public Boolean contactByMailFlag = null; /** * Provide 'true' if you want to be contacted by phone. Leave empty or 'false' if you do not. */ @ApiMember(Description="Provide 'true' if you want to be contacted by phone. Leave empty or 'false' if you do not.") public Boolean contactByPhoneFlag = null; /** * Provide 'true' if you want to be contacted by SMS. Leave empty or 'false' if you do not. */ @ApiMember(Description="Provide 'true' if you want to be contacted by SMS. Leave empty or 'false' if you do not.") public Boolean contactBySMSFlag = null; /** * Provide 'true' if you want to be contacted by social media. Leave empty or 'false' if you do not. */ @ApiMember(Description="Provide 'true' if you want to be contacted by social media. Leave empty or 'false' if you do not.") public Boolean contactBySocialMediaFlag = null; /** * Sale Representative Email e.g. rauf.aliyev@richemont.com */ @ApiMember(Description="Sale Representative Email e.g. rauf.aliyev@richemont.com") public String saleRepresentativeEmail = null; /** * Consent for allowing Cross Border Data Transfer */ @ApiMember(Description="Consent for allowing Cross Border Data Transfer") public Boolean allowStoreDataAbroad = null; /** * Provide 'true' if you allow data sharing consent. Leave empty or 'false' if you do not. */ @ApiMember(Description="Provide 'true' if you allow data sharing consent. Leave empty or 'false' if you do not.") public Boolean dataSharingConsent = null; /** * Data Sharing Consent Timestamp */ @ApiMember(Description="Data Sharing Consent Timestamp") public String dataSharingConsentTimestamp = null; /** * Client Registration Date */ @ApiMember(Description="Client Registration Date") public String clientRegistrationDate = null; /** * Client Creation Date */ @ApiMember(Description="Client Creation Date") public String createdOn = null; /** * Notes */ @ApiMember(Description="Notes") public String notes = null; /** * Customer emails */ @ApiMember(Description="Customer emails") public ArrayList emails = null; /** * Customer phones */ @ApiMember(Description="Customer phones") public ArrayList phones = null; /** * Customer addresses */ @ApiMember(Description="Customer addresses") public ArrayList
addresses = null; /** * Customer events */ @ApiMember(Description="Customer events") public ArrayList events = null; /** * Customer interests */ @ApiMember(Description="Customer interests") public ArrayList interests = null; /** * Customer hobbies */ @ApiMember(Description="Customer hobbies") public ArrayList hobbies = null; /** * Customer Product Collections */ @ApiMember(Description="Customer Product Collections") public ArrayList productCollections = null; /** * Registration date */ @ApiMember(Description="Registration date") public Date registrationDate = null; /** * Sap Crm Error Message */ @ApiMember(Description="Sap Crm Error Message") public String sapCrmErrorMessage = null; public Integer getBoosterCustomerId() { return boosterCustomerId; } public GetCustomerV2Response setBoosterCustomerId(Integer value) { this.boosterCustomerId = value; return this; } public String getElevateCustomerId() { return elevateCustomerId; } public GetCustomerV2Response setElevateCustomerId(String value) { this.elevateCustomerId = value; return this; } public String getSapId() { return sapId; } public GetCustomerV2Response setSapId(String value) { this.sapId = value; return this; } public String getTitle() { return title; } public GetCustomerV2Response setTitle(String value) { this.title = value; return this; } public String getFirstName() { return firstName; } public GetCustomerV2Response setFirstName(String value) { this.firstName = value; return this; } public String getLastName() { return lastName; } public GetCustomerV2Response setLastName(String value) { this.lastName = value; return this; } public String getFirstNameNotLatin() { return firstNameNotLatin; } public GetCustomerV2Response setFirstNameNotLatin(String value) { this.firstNameNotLatin = value; return this; } public String getLastNameNotLatin() { return lastNameNotLatin; } public GetCustomerV2Response setLastNameNotLatin(String value) { this.lastNameNotLatin = value; return this; } public String getMiddleName() { return middleName; } public GetCustomerV2Response setMiddleName(String value) { this.middleName = value; return this; } public String getNameSuffix() { return nameSuffix; } public GetCustomerV2Response setNameSuffix(String value) { this.nameSuffix = value; return this; } public Boolean isCanBeContactedByMaison() { return canBeContactedByMaison; } public GetCustomerV2Response setCanBeContactedByMaison(Boolean value) { this.canBeContactedByMaison = value; return this; } public String getClientType() { return clientType; } public GetCustomerV2Response setClientType(String value) { this.clientType = value; return this; } public String getCompanyName() { return companyName; } public GetCustomerV2Response setCompanyName(String value) { this.companyName = value; return this; } public String getLanguageId() { return languageId; } public GetCustomerV2Response setLanguageId(String value) { this.languageId = value; return this; } public String getGender() { return gender; } public GetCustomerV2Response setGender(String value) { this.gender = value; return this; } public String getCountryId() { return countryId; } public GetCustomerV2Response setCountryId(String value) { this.countryId = value; return this; } public String getCountryDs() { return countryDs; } public GetCustomerV2Response setCountryDs(String value) { this.countryDs = value; return this; } public String getBirthDate() { return birthDate; } public GetCustomerV2Response setBirthDate(String value) { this.birthDate = value; return this; } public String getCustomerReference() { return customerReference; } public GetCustomerV2Response setCustomerReference(String value) { this.customerReference = value; return this; } public String getPosCode() { return posCode; } public GetCustomerV2Response setPosCode(String value) { this.posCode = value; return this; } public String getBrand() { return brand; } public GetCustomerV2Response setBrand(String value) { this.brand = value; return this; } public String getWeddingDate() { return weddingDate; } public GetCustomerV2Response setWeddingDate(String value) { this.weddingDate = value; return this; } public String getPreferredContactMethod() { return preferredContactMethod; } public GetCustomerV2Response setPreferredContactMethod(String value) { this.preferredContactMethod = value; return this; } public Boolean isContactByEmailFlag() { return contactByEmailFlag; } public GetCustomerV2Response setContactByEmailFlag(Boolean value) { this.contactByEmailFlag = value; return this; } public Boolean isContactByMailFlag() { return contactByMailFlag; } public GetCustomerV2Response setContactByMailFlag(Boolean value) { this.contactByMailFlag = value; return this; } public Boolean isContactByPhoneFlag() { return contactByPhoneFlag; } public GetCustomerV2Response setContactByPhoneFlag(Boolean value) { this.contactByPhoneFlag = value; return this; } public Boolean isContactBySMSFlag() { return contactBySMSFlag; } public GetCustomerV2Response setContactBySMSFlag(Boolean value) { this.contactBySMSFlag = value; return this; } public Boolean isContactBySocialMediaFlag() { return contactBySocialMediaFlag; } public GetCustomerV2Response setContactBySocialMediaFlag(Boolean value) { this.contactBySocialMediaFlag = value; return this; } public String getSaleRepresentativeEmail() { return saleRepresentativeEmail; } public GetCustomerV2Response setSaleRepresentativeEmail(String value) { this.saleRepresentativeEmail = value; return this; } public Boolean isAllowStoreDataAbroad() { return allowStoreDataAbroad; } public GetCustomerV2Response setAllowStoreDataAbroad(Boolean value) { this.allowStoreDataAbroad = value; return this; } public Boolean isDataSharingConsent() { return dataSharingConsent; } public GetCustomerV2Response setDataSharingConsent(Boolean value) { this.dataSharingConsent = value; return this; } public String getDataSharingConsentTimestamp() { return dataSharingConsentTimestamp; } public GetCustomerV2Response setDataSharingConsentTimestamp(String value) { this.dataSharingConsentTimestamp = value; return this; } public String getClientRegistrationDate() { return clientRegistrationDate; } public GetCustomerV2Response setClientRegistrationDate(String value) { this.clientRegistrationDate = value; return this; } public String getCreatedOn() { return createdOn; } public GetCustomerV2Response setCreatedOn(String value) { this.createdOn = value; return this; } public String getNotes() { return notes; } public GetCustomerV2Response setNotes(String value) { this.notes = value; return this; } public ArrayList getEmails() { return emails; } public GetCustomerV2Response setEmails(ArrayList value) { this.emails = value; return this; } public ArrayList getPhones() { return phones; } public GetCustomerV2Response setPhones(ArrayList value) { this.phones = value; return this; } public ArrayList
getAddresses() { return addresses; } public GetCustomerV2Response setAddresses(ArrayList
value) { this.addresses = value; return this; } public ArrayList getEvents() { return events; } public GetCustomerV2Response setEvents(ArrayList value) { this.events = value; return this; } public ArrayList getInterests() { return interests; } public GetCustomerV2Response setInterests(ArrayList value) { this.interests = value; return this; } public ArrayList getHobbies() { return hobbies; } public GetCustomerV2Response setHobbies(ArrayList value) { this.hobbies = value; return this; } public ArrayList getProductCollections() { return productCollections; } public GetCustomerV2Response setProductCollections(ArrayList value) { this.productCollections = value; return this; } public Date getRegistrationDate() { return registrationDate; } public GetCustomerV2Response setRegistrationDate(Date value) { this.registrationDate = value; return this; } public String getSapCrmErrorMessage() { return sapCrmErrorMessage; } public GetCustomerV2Response setSapCrmErrorMessage(String value) { this.sapCrmErrorMessage = value; return this; } } public static class Email { /** * Email */ @ApiMember(Description="Email", IsRequired=true) public String email = null; /** * Main email */ @ApiMember(Description="Main email", IsRequired=true) public Boolean isMainEmail = null; public String getEmail() { return email; } public Email setEmail(String value) { this.email = value; return this; } public Boolean getIsMainEmail() { return isMainEmail; } public Email setIsMainEmail(Boolean value) { this.isMainEmail = value; return this; } } public static class Phone { /** * Phone e.g. cn: 13888889999, jp: 352858088, kr: 023123456 */ @ApiMember(Description="Phone e.g. cn: 13888889999, jp: 352858088, kr: 023123456", IsRequired=true) public String phone = null; /** * Prefix Country Id e.g. it, fr, az */ @ApiMember(Description="Prefix Country Id e.g. it, fr, az", IsRequired=true) public String countryPrefix = null; /** * Phone type e.g. 'Home', 'Mobile', 'Work', 'Other', 'Secondary Address' */ @ApiMember(Description="Phone type e.g. 'Home', 'Mobile', 'Work', 'Other', 'Secondary Address'") public String phoneType = null; /** * Main Phone */ @ApiMember(Description="Main Phone", IsRequired=true) public Boolean isMainPhone = null; public String getPhone() { return phone; } public Phone setPhone(String value) { this.phone = value; return this; } public String getCountryPrefix() { return countryPrefix; } public Phone setCountryPrefix(String value) { this.countryPrefix = value; return this; } public String getPhoneType() { return phoneType; } public Phone setPhoneType(String value) { this.phoneType = value; return this; } public Boolean getIsMainPhone() { return isMainPhone; } public Phone setIsMainPhone(Boolean value) { this.isMainPhone = value; return this; } } public static class Address { /** * Address type e.g. Home, Office, Shipping */ @ApiMember(Description="Address type e.g. Home, Office, Shipping", IsRequired=true) public String addressType = null; /** * Country Id e.g. it, cn, az, gb, de */ @ApiMember(Description="Country Id e.g. it, cn, az, gb, de", IsRequired=true) public String countryId = null; /** * House Number */ @ApiMember(Description="House Number") public String houseNumber = null; /** * Region/State */ @ApiMember(Description="Region/State") public String stateId = null; /** * City Name */ @ApiMember(Description="City Name") public String city = null; /** * Postal Code */ @ApiMember(Description="Postal Code") public String zipCode = null; /** * Street Name and Number */ @ApiMember(Description="Street Name and Number") public String street = null; /** * Street 2 */ @ApiMember(Description="Street 2") public String street2 = null; /** * Street 3 */ @ApiMember(Description="Street 3") public String street3 = null; /** * Street 4 */ @ApiMember(Description="Street 4") public String street4 = null; /** * Street 5 */ @ApiMember(Description="Street 5") public String street5 = null; /** * Main Address */ @ApiMember(Description="Main Address", IsRequired=true) public Boolean isMainAddress = null; /** * Post Office Box */ @ApiMember(Description="Post Office Box") public String poBox = null; /** * Additional Information */ @ApiMember(Description="Additional Information") public String additionalInformation = null; public String getAddressType() { return addressType; } public Address setAddressType(String value) { this.addressType = value; return this; } public String getCountryId() { return countryId; } public Address setCountryId(String value) { this.countryId = value; return this; } public String getHouseNumber() { return houseNumber; } public Address setHouseNumber(String value) { this.houseNumber = value; return this; } public String getStateId() { return stateId; } public Address setStateId(String value) { this.stateId = value; return this; } public String getCity() { return city; } public Address setCity(String value) { this.city = value; return this; } public String getZipCode() { return zipCode; } public Address setZipCode(String value) { this.zipCode = value; return this; } public String getStreet() { return street; } public Address setStreet(String value) { this.street = value; return this; } public String getStreet2() { return street2; } public Address setStreet2(String value) { this.street2 = value; return this; } public String getStreet3() { return street3; } public Address setStreet3(String value) { this.street3 = value; return this; } public String getStreet4() { return street4; } public Address setStreet4(String value) { this.street4 = value; return this; } public String getStreet5() { return street5; } public Address setStreet5(String value) { this.street5 = value; return this; } public Boolean getIsMainAddress() { return isMainAddress; } public Address setIsMainAddress(Boolean value) { this.isMainAddress = value; return this; } public String getPoBox() { return poBox; } public Address setPoBox(String value) { this.poBox = value; return this; } public String getAdditionalInformation() { return additionalInformation; } public Address setAdditionalInformation(String value) { this.additionalInformation = value; return this; } } public static class Interest { /** * Interest description */ @ApiMember(Description="Interest description", IsRequired=true) public String interest = null; /** * SAP Interest ID, e.g. 'CA-1' */ @ApiMember(Description="SAP Interest ID, e.g. 'CA-1'", IsRequired=true) public String sapInterestId = null; /** * Interest description translation */ @ApiMember(Description="Interest description translation") public String translation = null; public String getInterest() { return interest; } public Interest setInterest(String value) { this.interest = value; return this; } public String getSapInterestId() { return sapInterestId; } public Interest setSapInterestId(String value) { this.sapInterestId = value; return this; } public String getTranslation() { return translation; } public Interest setTranslation(String value) { this.translation = value; return this; } } public static class Hobby { /** * Hobby description */ @ApiMember(Description="Hobby description", IsRequired=true) public String hobby = null; /** * SAP Hobby ID, e.g. 'ART' */ @ApiMember(Description="SAP Hobby ID, e.g. 'ART'", IsRequired=true) public String sapHobbyId = null; /** * Hobby description translation */ @ApiMember(Description="Hobby description translation") public String translation = null; public String getHobby() { return hobby; } public Hobby setHobby(String value) { this.hobby = value; return this; } public String getSapHobbyId() { return sapHobbyId; } public Hobby setSapHobbyId(String value) { this.sapHobbyId = value; return this; } public String getTranslation() { return translation; } public Hobby setTranslation(String value) { this.translation = value; return this; } } public static class ProductCollection { /** * Product Collection description */ @ApiMember(Description="Product Collection description", IsRequired=true) public String productCollection = null; /** * SAP ProductCollection ID, e.g. 'CA-1' */ @ApiMember(Description="SAP ProductCollection ID, e.g. 'CA-1'", IsRequired=true) public String sapProductCollectionId = null; /** * Product Collection description translation */ @ApiMember(Description="Product Collection description translation", IsRequired=true) public String translation = null; public String getProductCollection() { return productCollection; } public ProductCollection setProductCollection(String value) { this.productCollection = value; return this; } public String getSapProductCollectionId() { return sapProductCollectionId; } public ProductCollection setSapProductCollectionId(String value) { this.sapProductCollectionId = value; return this; } public String getTranslation() { return translation; } public ProductCollection setTranslation(String value) { this.translation = value; return this; } } public static class CustomerEventV2 { /** * Event type e.g. 'Birthday', 'Wedding', 'Anniversary', 'Barmitza', 'Other' */ @ApiMember(Description="Event type e.g. 'Birthday', 'Wedding', 'Anniversary', 'Barmitza', 'Other'", IsRequired=true) public String eventType = null; /** * Event date e.g. '2021-01-20' */ @ApiMember(Description="Event date e.g. '2021-01-20'", IsRequired=true) public String eventDate = null; /** * Event notes */ @ApiMember(Description="Event notes") public String eventNotes = null; /** * Event other name */ @ApiMember(Description="Event other name") public String eventOtherName = null; public String getEventType() { return eventType; } public CustomerEventV2 setEventType(String value) { this.eventType = value; return this; } public String getEventDate() { return eventDate; } public CustomerEventV2 setEventDate(String value) { this.eventDate = value; return this; } public String getEventNotes() { return eventNotes; } public CustomerEventV2 setEventNotes(String value) { this.eventNotes = value; return this; } public String getEventOtherName() { return eventOtherName; } public CustomerEventV2 setEventOtherName(String value) { this.eventOtherName = value; return this; } } public static class Address { /** * Country ID */ @ApiMember(Description="Country ID") public String countryId = null; /** * State ID */ @ApiMember(Description="State ID") public String stateId = null; /** * City Name */ @ApiMember(Description="City Name") public String city = null; /** * Street Name and Number */ @ApiMember(Description="Street Name and Number") public String street = null; /** * Postal Code */ @ApiMember(Description="Postal Code") public String zipCode = null; public String getCountryId() { return countryId; } public Address setCountryId(String value) { this.countryId = value; return this; } public String getStateId() { return stateId; } public Address setStateId(String value) { this.stateId = value; return this; } public String getCity() { return city; } public Address setCity(String value) { this.city = value; return this; } public String getStreet() { return street; } public Address setStreet(String value) { this.street = value; return this; } public String getZipCode() { return zipCode; } public Address setZipCode(String value) { this.zipCode = value; return this; } } }