Interface CustomerInputValidatorInterface
category |
System |
---|---|
package |
Customer |
subpackage |
Interfaces |
getErrorMessageCollection() : \EditableKeyValueCollection
getErrorMessages() : array
array
Error messages.
getErrorStatus() : boolean
boolean
Error status.
validateCity(string $p_city) : boolean
string
Customer's city.
boolean
Is valid?
validateCompany(string $p_company) : boolean
string
Customer's company.
boolean
Is valid?
validateCountry(integer $p_countryId) : boolean
integer
Customer's country ID.
boolean
Is valid?
validateCountryZone( $p_countryZoneName, $p_countryId) : boolean
Cases:
Customer's country zone name.
Customer's country ID.
boolean
Is valid?
validateDateOfBirth(string $p_dateOfBirth) : boolean
Valid format is: dd.mm.yyyy
string
Customer's date of birth.
boolean
Is valid?
validateEmail(string $p_email, mixed $p_emailAddressCheck = false) : boolean
string
Customer's E-Mail address.
mixed
C
boolean
Is valid?
validateEmailAndConfirmation(string $p_email, string $p_emailConfirmation) : boolean
It will check the minimum length, address syntax, confirmation matching and existence of e-mail address.
string
Customer's E-Mail address.
string
Confirmation E-Mail address.
boolean
Is valid?
validateEmailExists(string $p_email, \CustomerInterface $customer = null) : boolean
string
Customer's E-Mail address-
boolean
Is valid?
validateFirstname(string $p_firstname) : boolean
string
Customer's first name.
boolean
Is valid?
validateGender(string $p_gender) : boolean
string
Customer's gender.
boolean
Is valid?
validateLastname(string $p_lastname) : boolean
string
Customer's last name.
boolean
Is valid?
validatePassword(string $p_password, string $p_passwordConfirmation) : boolean
string
Customer's password.
string
Customer's password confirmation.
boolean
Is valid?
validatePostcode(string $p_postcode) : boolean
string
Customer's post code.
boolean
Is valid?
validatePrivacy(string $p_privacyAccepted) : boolean
string
boolean
Is valid?
validateStreet(string $p_street) : boolean
string
Customer's street.
boolean
Is valid?
validateSuburb( $p_suburb) : boolean
Customer's suburb.
boolean
Is valid?
validateTelephoneNumber(string $p_telephoneNumber) : boolean
string
Customer's telephone number.
boolean
Is valid?