Interface CustomerInputValidatorInterface
| category |
System |
|---|---|
| package |
Customer |
| subpackage |
Interfaces |
getErrorMessageCollection() : \EditableKeyValueCollection
getErrorMessages() : array
arrayError messages.
getErrorStatus() : boolean
booleanError status.
validateCity(string $p_city) : boolean
stringCustomer's city.
booleanIs valid?
validateCompany(string $p_company) : boolean
stringCustomer's company.
booleanIs valid?
validateCountry(integer $p_countryId) : boolean
integerCustomer's country ID.
booleanIs valid?
validateCountryZone( $p_countryZoneName, $p_countryId) : boolean
Cases:
Customer's country zone name.
Customer's country ID.
booleanIs valid?
validateDateOfBirth(string $p_dateOfBirth) : boolean
Valid format is: dd.mm.yyyy
stringCustomer's date of birth.
booleanIs valid?
validateEmail(string $p_email, mixed $p_emailAddressCheck = false) : boolean
stringCustomer's E-Mail address.
mixedC
booleanIs 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.
stringCustomer's E-Mail address.
stringConfirmation E-Mail address.
booleanIs valid?
validateEmailExists(string $p_email, \CustomerInterface $customer = null) : boolean
stringCustomer's E-Mail address-
booleanIs valid?
validateFirstname(string $p_firstname) : boolean
stringCustomer's first name.
booleanIs valid?
validateGender(string $p_gender) : boolean
stringCustomer's gender.
booleanIs valid?
validateLastname(string $p_lastname) : boolean
stringCustomer's last name.
booleanIs valid?
validatePassword(string $p_password, string $p_passwordConfirmation) : boolean
stringCustomer's password.
stringCustomer's password confirmation.
booleanIs valid?
validatePostcode(string $p_postcode) : boolean
stringCustomer's post code.
booleanIs valid?
validatePrivacy(string $p_privacyAccepted) : boolean
string
booleanIs valid?
validateStreet(string $p_street) : boolean
stringCustomer's street.
booleanIs valid?
validateSuburb( $p_suburb) : boolean
Customer's suburb.
booleanIs valid?
validateTelephoneNumber(string $p_telephoneNumber) : boolean
stringCustomer's telephone number.
booleanIs valid?