/* Options: Date: 2026-05-19 09:49:16 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: UpdateConsents.* //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/{boosterCustomerId}/updateConsents", Verbs="PATCH") public static class UpdateConsents { /** * Booster customer Id */ @ApiMember(Description="Booster customer Id") public Integer boosterCustomerId = 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; /** * Provide 'true' if you want to be contacted at all. Leave empty or 'false' if you do not - if chosen false, all contactBy* will be set to false also */ @ApiMember(Description="Provide 'true' if you want to be contacted at all. Leave empty or 'false' if you do not - if chosen false, all contactBy* will be set to false also") public Boolean privacyAcceptance = null; /** * Provide 'true' if you allow your data to be stored abroad. Leave empty or 'false' if you do not. */ @ApiMember(Description="Provide 'true' if you allow your data to be stored abroad. Leave empty or 'false' if you do not.") public Boolean allowStoreDataAbroad = null; public Integer getBoosterCustomerId() { return boosterCustomerId; } public UpdateConsents setBoosterCustomerId(Integer value) { this.boosterCustomerId = value; return this; } public Boolean isContactByEmailFlag() { return contactByEmailFlag; } public UpdateConsents setContactByEmailFlag(Boolean value) { this.contactByEmailFlag = value; return this; } public Boolean isContactByMailFlag() { return contactByMailFlag; } public UpdateConsents setContactByMailFlag(Boolean value) { this.contactByMailFlag = value; return this; } public Boolean isContactByPhoneFlag() { return contactByPhoneFlag; } public UpdateConsents setContactByPhoneFlag(Boolean value) { this.contactByPhoneFlag = value; return this; } public Boolean isContactBySMSFlag() { return contactBySMSFlag; } public UpdateConsents setContactBySMSFlag(Boolean value) { this.contactBySMSFlag = value; return this; } public Boolean isContactBySocialMediaFlag() { return contactBySocialMediaFlag; } public UpdateConsents setContactBySocialMediaFlag(Boolean value) { this.contactBySocialMediaFlag = value; return this; } public Boolean isPrivacyAcceptance() { return privacyAcceptance; } public UpdateConsents setPrivacyAcceptance(Boolean value) { this.privacyAcceptance = value; return this; } public Boolean isAllowStoreDataAbroad() { return allowStoreDataAbroad; } public UpdateConsents setAllowStoreDataAbroad(Boolean value) { this.allowStoreDataAbroad = value; return this; } } }