/* Options: Date: 2026-06-14 21:35:22 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://qp-microservices-booster.richemont.com //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: GetCustomerSuggestion.* //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="/warranty/v1/GetCustomerSuggestion", Verbs="POST") public static class GetCustomerSuggestion extends BaseRequest implements IReturn { public String emailAddress = null; public Integer posId = null; public String brandTrigram = null; public String phoneNumber = null; public String prefixCountryId = null; public String countryId = null; public String getEmailAddress() { return emailAddress; } public GetCustomerSuggestion setEmailAddress(String value) { this.emailAddress = value; return this; } public Integer getPosId() { return posId; } public GetCustomerSuggestion setPosId(Integer value) { this.posId = value; return this; } public String getBrandTrigram() { return brandTrigram; } public GetCustomerSuggestion setBrandTrigram(String value) { this.brandTrigram = value; return this; } public String getPhoneNumber() { return phoneNumber; } public GetCustomerSuggestion setPhoneNumber(String value) { this.phoneNumber = value; return this; } public String getPrefixCountryId() { return prefixCountryId; } public GetCustomerSuggestion setPrefixCountryId(String value) { this.prefixCountryId = value; return this; } public String getCountryId() { return countryId; } public GetCustomerSuggestion setCountryId(String value) { this.countryId = value; return this; } private static Object responseType = GetCustomerSuggestionResponse.class; public Object getResponseType() { return responseType; } } public static class GetCustomerSuggestionResponse extends BaseResponse { public String customerType = null; public String customerRef = null; public Integer title = null; public String titleDs = null; public String firstName = null; public String lastName = null; public String firstNameNotLatin = null; public String lastNameNotLatin = null; public String birthday = null; public UUID birthDayEventId = null; public String weddingDate = null; public Boolean canBeContacted = null; public UUID seller = null; public String language = null; public String languageDs = null; public String nameSuffix = null; public String gender = null; public String companyName = null; public String middleName = null; public UUID customerId = null; public UUID personId = null; public Integer boosterCustomerId = null; public Integer posOwnerId = null; public String brandOwnerId = null; public Integer businessUnitId = null; public String sapGenderId = null; public Boolean allowStoreDataAbroad = null; public Boolean privacyPolicyAcceptanceStorage = null; public Boolean tvAllowStoreDataAbroad = null; public Boolean tvPrivacyPolicyAcceptanceStorage = null; public Boolean contactByMail = null; public Boolean contactByEmail = null; public Boolean contactByPhone = null; public Boolean contactBySMS = null; public Boolean contactBySocialMedia = null; public ArrayList addresses = null; public ArrayList emails = null; public ArrayList phones = null; public ResponseStatus ResponseStatus = null; public String getCustomerType() { return customerType; } public GetCustomerSuggestionResponse setCustomerType(String value) { this.customerType = value; return this; } public String getCustomerRef() { return customerRef; } public GetCustomerSuggestionResponse setCustomerRef(String value) { this.customerRef = value; return this; } public Integer getTitle() { return title; } public GetCustomerSuggestionResponse setTitle(Integer value) { this.title = value; return this; } public String getTitleDs() { return titleDs; } public GetCustomerSuggestionResponse setTitleDs(String value) { this.titleDs = value; return this; } public String getFirstName() { return firstName; } public GetCustomerSuggestionResponse setFirstName(String value) { this.firstName = value; return this; } public String getLastName() { return lastName; } public GetCustomerSuggestionResponse setLastName(String value) { this.lastName = value; return this; } public String getFirstNameNotLatin() { return firstNameNotLatin; } public GetCustomerSuggestionResponse setFirstNameNotLatin(String value) { this.firstNameNotLatin = value; return this; } public String getLastNameNotLatin() { return lastNameNotLatin; } public GetCustomerSuggestionResponse setLastNameNotLatin(String value) { this.lastNameNotLatin = value; return this; } public String getBirthday() { return birthday; } public GetCustomerSuggestionResponse setBirthday(String value) { this.birthday = value; return this; } public UUID getBirthDayEventId() { return birthDayEventId; } public GetCustomerSuggestionResponse setBirthDayEventId(UUID value) { this.birthDayEventId = value; return this; } public String getWeddingDate() { return weddingDate; } public GetCustomerSuggestionResponse setWeddingDate(String value) { this.weddingDate = value; return this; } public Boolean isCanBeContacted() { return canBeContacted; } public GetCustomerSuggestionResponse setCanBeContacted(Boolean value) { this.canBeContacted = value; return this; } public UUID getSeller() { return seller; } public GetCustomerSuggestionResponse setSeller(UUID value) { this.seller = value; return this; } public String getLanguage() { return language; } public GetCustomerSuggestionResponse setLanguage(String value) { this.language = value; return this; } public String getLanguageDs() { return languageDs; } public GetCustomerSuggestionResponse setLanguageDs(String value) { this.languageDs = value; return this; } public String getNameSuffix() { return nameSuffix; } public GetCustomerSuggestionResponse setNameSuffix(String value) { this.nameSuffix = value; return this; } public String getGender() { return gender; } public GetCustomerSuggestionResponse setGender(String value) { this.gender = value; return this; } public String getCompanyName() { return companyName; } public GetCustomerSuggestionResponse setCompanyName(String value) { this.companyName = value; return this; } public String getMiddleName() { return middleName; } public GetCustomerSuggestionResponse setMiddleName(String value) { this.middleName = value; return this; } public UUID getCustomerId() { return customerId; } public GetCustomerSuggestionResponse setCustomerId(UUID value) { this.customerId = value; return this; } public UUID getPersonId() { return personId; } public GetCustomerSuggestionResponse setPersonId(UUID value) { this.personId = value; return this; } public Integer getBoosterCustomerId() { return boosterCustomerId; } public GetCustomerSuggestionResponse setBoosterCustomerId(Integer value) { this.boosterCustomerId = value; return this; } public Integer getPosOwnerId() { return posOwnerId; } public GetCustomerSuggestionResponse setPosOwnerId(Integer value) { this.posOwnerId = value; return this; } public String getBrandOwnerId() { return brandOwnerId; } public GetCustomerSuggestionResponse setBrandOwnerId(String value) { this.brandOwnerId = value; return this; } public Integer getBusinessUnitId() { return businessUnitId; } public GetCustomerSuggestionResponse setBusinessUnitId(Integer value) { this.businessUnitId = value; return this; } public String getSapGenderId() { return sapGenderId; } public GetCustomerSuggestionResponse setSapGenderId(String value) { this.sapGenderId = value; return this; } public Boolean isAllowStoreDataAbroad() { return allowStoreDataAbroad; } public GetCustomerSuggestionResponse setAllowStoreDataAbroad(Boolean value) { this.allowStoreDataAbroad = value; return this; } public Boolean isPrivacyPolicyAcceptanceStorage() { return privacyPolicyAcceptanceStorage; } public GetCustomerSuggestionResponse setPrivacyPolicyAcceptanceStorage(Boolean value) { this.privacyPolicyAcceptanceStorage = value; return this; } public Boolean isTvAllowStoreDataAbroad() { return tvAllowStoreDataAbroad; } public GetCustomerSuggestionResponse setTvAllowStoreDataAbroad(Boolean value) { this.tvAllowStoreDataAbroad = value; return this; } public Boolean isTvPrivacyPolicyAcceptanceStorage() { return tvPrivacyPolicyAcceptanceStorage; } public GetCustomerSuggestionResponse setTvPrivacyPolicyAcceptanceStorage(Boolean value) { this.tvPrivacyPolicyAcceptanceStorage = value; return this; } public Boolean isContactByMail() { return contactByMail; } public GetCustomerSuggestionResponse setContactByMail(Boolean value) { this.contactByMail = value; return this; } public Boolean isContactByEmail() { return contactByEmail; } public GetCustomerSuggestionResponse setContactByEmail(Boolean value) { this.contactByEmail = value; return this; } public Boolean isContactByPhone() { return contactByPhone; } public GetCustomerSuggestionResponse setContactByPhone(Boolean value) { this.contactByPhone = value; return this; } public Boolean isContactBySMS() { return contactBySMS; } public GetCustomerSuggestionResponse setContactBySMS(Boolean value) { this.contactBySMS = value; return this; } public Boolean isContactBySocialMedia() { return contactBySocialMedia; } public GetCustomerSuggestionResponse setContactBySocialMedia(Boolean value) { this.contactBySocialMedia = value; return this; } public ArrayList getAddresses() { return addresses; } public GetCustomerSuggestionResponse setAddresses(ArrayList value) { this.addresses = value; return this; } public ArrayList getEmails() { return emails; } public GetCustomerSuggestionResponse setEmails(ArrayList value) { this.emails = value; return this; } public ArrayList getPhones() { return phones; } public GetCustomerSuggestionResponse setPhones(ArrayList value) { this.phones = value; return this; } public ResponseStatus getResponseStatus() { return ResponseStatus; } public GetCustomerSuggestionResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; } } public static class BaseRequest implements IRequest { public String sid = null; public String app = null; public String _os = null; public String _appVersion = null; public String _searchMethod = null; public String getSid() { return sid; } public BaseRequest setSid(String value) { this.sid = value; return this; } public String getApp() { return app; } public BaseRequest setApp(String value) { this.app = value; return this; } public String getOs() { return _os; } public BaseRequest setOs(String value) { this._os = value; return this; } public String getAppVersion() { return _appVersion; } public BaseRequest setAppVersion(String value) { this._appVersion = value; return this; } public String getSearchMethod() { return _searchMethod; } public BaseRequest setSearchMethod(String value) { this._searchMethod = value; return this; } } public static interface IRequest { public String sid = null; public String app = null; } public static class BaseResponse implements IRespose { public String _xmlns = null; public String _type = null; public String _source = null; public String _tstamp = null; public String _user = null; public String _env = null; public String _uri = null; public String _query = null; public String getXmlns() { return _xmlns; } public BaseResponse setXmlns(String value) { this._xmlns = value; return this; } public String getType() { return _type; } public BaseResponse setType(String value) { this._type = value; return this; } public String getSource() { return _source; } public BaseResponse setSource(String value) { this._source = value; return this; } public String getTstamp() { return _tstamp; } public BaseResponse setTstamp(String value) { this._tstamp = value; return this; } public String getUser() { return _user; } public BaseResponse setUser(String value) { this._user = value; return this; } public String getEnv() { return _env; } public BaseResponse setEnv(String value) { this._env = value; return this; } public String getUri() { return _uri; } public BaseResponse setUri(String value) { this._uri = value; return this; } public String getQuery() { return _query; } public BaseResponse setQuery(String value) { this._query = value; return this; } } public static interface IRespose { public String _xmlns = null; public String _type = null; public String _source = null; public String _tstamp = null; public String _user = null; public String _env = null; public String _uri = null; public String _query = null; } public static class CustomerAddress { public UUID addressId = null; public String description = null; public String addressLine1 = null; public String addressLine2 = null; public String addressLine3 = null; public String addressLine4 = null; public String addressLine5 = null; public String houseNumber = null; public String city = null; public String region = null; public String county = null; public String stateOrProvinceId = null; public String countryId = null; public String countryDs = null; public String zipCode = null; public String addressTypeId = null; public Boolean isMailingAddress = null; public Boolean isMainAddress = null; public UUID getAddressId() { return addressId; } public CustomerAddress setAddressId(UUID value) { this.addressId = value; return this; } public String getDescription() { return description; } public CustomerAddress setDescription(String value) { this.description = value; return this; } public String getAddressLine1() { return addressLine1; } public CustomerAddress setAddressLine1(String value) { this.addressLine1 = value; return this; } public String getAddressLine2() { return addressLine2; } public CustomerAddress setAddressLine2(String value) { this.addressLine2 = value; return this; } public String getAddressLine3() { return addressLine3; } public CustomerAddress setAddressLine3(String value) { this.addressLine3 = value; return this; } public String getAddressLine4() { return addressLine4; } public CustomerAddress setAddressLine4(String value) { this.addressLine4 = value; return this; } public String getAddressLine5() { return addressLine5; } public CustomerAddress setAddressLine5(String value) { this.addressLine5 = value; return this; } public String getHouseNumber() { return houseNumber; } public CustomerAddress setHouseNumber(String value) { this.houseNumber = value; return this; } public String getCity() { return city; } public CustomerAddress setCity(String value) { this.city = value; return this; } public String getRegion() { return region; } public CustomerAddress setRegion(String value) { this.region = value; return this; } public String getCounty() { return county; } public CustomerAddress setCounty(String value) { this.county = value; return this; } public String getStateOrProvinceId() { return stateOrProvinceId; } public CustomerAddress setStateOrProvinceId(String value) { this.stateOrProvinceId = value; return this; } public String getCountryId() { return countryId; } public CustomerAddress setCountryId(String value) { this.countryId = value; return this; } public String getCountryDs() { return countryDs; } public CustomerAddress setCountryDs(String value) { this.countryDs = value; return this; } public String getZipCode() { return zipCode; } public CustomerAddress setZipCode(String value) { this.zipCode = value; return this; } public String getAddressTypeId() { return addressTypeId; } public CustomerAddress setAddressTypeId(String value) { this.addressTypeId = value; return this; } public Boolean getIsMailingAddress() { return isMailingAddress; } public CustomerAddress setIsMailingAddress(Boolean value) { this.isMailingAddress = value; return this; } public Boolean getIsMainAddress() { return isMainAddress; } public CustomerAddress setIsMainAddress(Boolean value) { this.isMainAddress = value; return this; } } public static class CustomerEmail { public UUID emailId = null; public String description = null; public String email = null; public Boolean isMainEmail = null; public Lookup type = null; public UUID getEmailId() { return emailId; } public CustomerEmail setEmailId(UUID value) { this.emailId = value; return this; } public String getDescription() { return description; } public CustomerEmail setDescription(String value) { this.description = value; return this; } public String getEmail() { return email; } public CustomerEmail setEmail(String value) { this.email = value; return this; } public Boolean getIsMainEmail() { return isMainEmail; } public CustomerEmail setIsMainEmail(Boolean value) { this.isMainEmail = value; return this; } public Lookup getType() { return type; } public CustomerEmail setType(Lookup value) { this.type = value; return this; } } public static class CustomerPhone { public UUID phoneId = null; public String description = null; public String phone = null; public Boolean isMainPhone = null; public String prefixCountryId = null; public String telephonePrefix = null; public Lookup type = null; public UUID getPhoneId() { return phoneId; } public CustomerPhone setPhoneId(UUID value) { this.phoneId = value; return this; } public String getDescription() { return description; } public CustomerPhone setDescription(String value) { this.description = value; return this; } public String getPhone() { return phone; } public CustomerPhone setPhone(String value) { this.phone = value; return this; } public Boolean getIsMainPhone() { return isMainPhone; } public CustomerPhone setIsMainPhone(Boolean value) { this.isMainPhone = value; return this; } public String getPrefixCountryId() { return prefixCountryId; } public CustomerPhone setPrefixCountryId(String value) { this.prefixCountryId = value; return this; } public String getTelephonePrefix() { return telephonePrefix; } public CustomerPhone setTelephonePrefix(String value) { this.telephonePrefix = value; return this; } public Lookup getType() { return type; } public CustomerPhone setType(Lookup value) { this.type = value; return this; } } public static class Lookup { public T Id = null; public String Description = null; public T getId() { return Id; } public Lookup setId(T value) { this.Id = value; return this; } public String getDescription() { return Description; } public Lookup setDescription(String value) { this.Description = value; return this; } } }