1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387
<?php
/* --------------------------------------------------------------
CustomerInputValidatorSettingsInterface.inc.php 2016-11-18
Gambio GmbH
http://www.gambio.de
Copyright (c) 2016 Gambio GmbH
Released under the GNU General Public License (Version 2)
[http://www.gnu.org/licenses/gpl-2.0.html]
--------------------------------------------------------------
*/
/**
* Value Object.
*
* Interface CustomerInputValidatorSettingsInterface
*
* CustomerInputValidatorSettings stores all min length values and error messages for registration form validation.
*
* @category System
* @package Customer
* @subpackage Interfaces
*/
interface CustomerInputValidatorSettingsInterface
{
/**
* Returns a city error message.
* @return string City error message.
*/
public function getCityErrorMessage();
/**
* Returns the minimum required city character length.
* @return int City Minimum required city character length.
*/
public function getCityMinLength();
/**
* Returns a company error message.
* @return string Company error message.
*/
public function getCompanyErrorMessage();
/**
* Returns the minimum required company character length.
* @return int Minimum required company character length.
*/
public function getCompanyMinLength();
/**
* Returns a country error message.
* @return string Country error message.
*/
public function getCountryErrorMessage();
/**
* Returns a country zone error message.
* @return string Country zone error message.
*/
public function getCountryZoneErrorMessage();
/**
* Returns the minimum required country zone character length.
* @return int Minimum required country zone character length.
*/
public function getCountryZoneMinLength();
/**
* Returns a country zone selection error message.
* @return string Country zone selection error message.
*/
public function getCountryZoneSelectionErrorMessage();
/**
* Returns a date of birth error message.
* @return string Date of birth error message.
*/
public function getDateOfBirthErrorMessage();
/**
* Returns the minimum required date of birth character length.
* @return int Minimum required date of birth character length.
*/
public function getDateOfBirthMinLength();
/**
* Returns an email address check error message.
* @return string Email address check error message.
*/
public function getEmailAddressCheckErrorMessage();
/**
* Returns an email confirmation error message.
* @return string Email confirmation error message.
*/
public function getEmailConfirmationErrorMessage();
/**
* Returns an email error message.
* @return string Email error message.
*/
public function getEmailErrorMessage();
/**
* Returns an email exists error message.
* @return string Email exists error message.
*/
public function getEmailExistsErrorMessage();
/**
* Returns the minimum required email character length.
* @return int Minimum required email character length.
*/
public function getEmailMinLength();
/**
* Returns a first name error message.
* @return string First name error message.
*/
public function getFirstnameErrorMessage();
/**
* Returns the minimum required first name character length.
* @return int Minimum required first name character length.
*/
public function getFirstnameMinLength();
/**
* Returns a gender error message.
* @return string Gender error message.
*/
public function getGenderErrorMessage();
/**
* Returns a last name error message.
* @return string Last name error message.
*/
public function getLastnameErrorMessage();
/**
* Returns the minimum required last name character length.
* @return int Minimum required last name character length.
*/
public function getLastnameMinLength();
/**
* Returns a password error message.
* @return string Password error message.
*/
public function getPasswordErrorMessage();
/**
* Returns the minimum required password character length.
* @return int Minimum required password character length.
*/
public function getPasswordMinLength();
/**
* Returns a password mismatch error message.
* @return string Password mismatch error message.
*/
public function getPasswordMismatchErrorMessage();
/**
* Returns a post code error message.
* @return string Post code error message.
*/
public function getPostcodeErrorMessage();
/**
* Returns the minimum required post code character length.
* @return int Minimum required post code character length.
*/
public function getPostcodeMinLength();
/**
* Returns a street error message.
* @return string Street error message.
*/
public function getStreetErrorMessage();
/**
* Returns the minimum required street character length.
* @return int Minimum required street character length.
*/
public function getStreetMinLength();
/**
* Returns a telephone number error message.
* @return string Telephone number error message.
*/
public function getTelephoneNumberErrorMessage();
/**
* Returns the minimum required telephone number character length.
* @return int Minimum required telephone number character length.
*/
public function getTelephoneNumberMinLength();
/**
* Returns a VAT number error message.
* @return string VAT number error message.
*/
public function getVatNumberErrorMessage();
/**
* Retrieves state value of company displaying.
* @return bool Display company?
*/
public function getDisplayCompany();
/**
* Retrieves state value of country displaying.
* @return bool Display country?
*/
public function getDisplayCountryZone();
/**
* Retrieves state value of date of birth displaying.
* @return bool Display date of birth?
*/
public function getDisplayDateOfBirth();
/**
* Retrieves state value of gender displaying.
* @return bool Display gender?
*/
public function getDisplayGender();
/**
* Retrieves state value of telephone number displaying
* @return bool Display telephone number?
*/
public function getDisplayTelephone();
/**
* Retrieves state value of suburb displaying
* @return bool Display suburb?
*/
public function getDisplaySuburb();
/**
* Retrieves state value of fax displaying
* @return bool Display fax?
*/
public function getDisplayFax();
/**
* Returns an invalid input error message.
* @return string Invalid input error message.
*/
public function getInvalidInputErrorMessage();
/**
* Returns the maximum required first name character length.
* @return int Maximum required first name character length.
*/
public function getFirstnameMaxLength();
/**
* Returns the maximum required last name character length.
* @return int Maximum required last name character length.
*/
public function getLastnameMaxLength();
/**
* Returns the maximum required company character length.
* @return int Maximum required company character length.
*/
public function getCompanyMaxLength();
/**
* Returns the maximum required VAT number character length.
* @return int Maximum required VAT number character length.
*/
public function getVatNumberMaxLength();
/**
* Returns the maximum required street character length.
* @return int Maximum required street character length.
*/
public function getStreetMaxLength();
/**
* Returns the maximum required post code character length.
* @return int Maximum required post code character length.
*/
public function getPostcodeMaxLength();
/**
* Returns the maximum required city character length.
* @return int Maximum required city character length.
*/
public function getCityMaxLength();
/**
* Returns the maximum required country zone character length.
* @return int Maximum required country zone character length.
*/
public function getCountryZoneMaxLength();
/**
* Returns the maximum required suburb character length.
* @return int Maximum required suburb character length.
*/
public function getSuburbMaxLength();
/**
* Returns the maximum required call number character length.
* @return int Maximum required call number character length.
*/
public function getCallNumberMaxLength();
/**
* @return bool
*/
public function isNamesOptional();
/**
* Retrieves state value of displaying privacy checkbox
* @return bool Display privacy checkbox?
*/
public function getAcceptPrivacy();
/**
* Returns a privacy not accepted error message.
* @return string Privacy not accepted error message.
*/
public function getPrivacyErrorMessage();
/**
* Returns true if street and house number is split
* @return bool
*/
public function isStreetInformationenSplit();
}