Overview
  • Package
  • Class
  • Tree
  • Todo

Packages

  • AddonValue
    • Interfaces
  • ApiV2Controllers
  • Category
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Providers
    • Repositories
    • Storages
  • Customer
    • Address
    • Country
    • CountryZone
    • Interfaces
    • Validation
    • ValueObjects
  • Email
    • Collections
    • Entities
    • Exceptions
    • Interfaces
    • Repository
    • ValueObjects
  • Http
    • Collections
    • Exceptions
    • Factories
    • Interfaces
    • ValueObjects
  • Loaders
    • CrossCuttingLoader
    • GXCoreLoader
    • Interfaces
  • None
  • Order
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
    • Storages
    • ValueObjects
  • Product
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Providers
    • Repositories
    • Storages
  • ProductModule
    • Collections
    • Deleter
    • Entities
    • Factories
    • Interface
    • Interfaces
    • Reader
    • Repositories
    • Writer
  • Shared
    • Exceptions
    • FileSystem
    • Interfaces
    • Storage
    • Types
  • Statistics
    • Interfaces
  • UserConfiguration
    • Interfaces
    • Repository

Classes

  • AddressBookService
  • CustomerAddress
  • CustomerAddressDeleter
  • CustomerAddressInputValidator
  • CustomerAddressReader
  • CustomerAddressRepository
  • CustomerAddressWriter

Class CustomerAddressInputValidator

Class CustomerAccountInputValidator

This class is used for validating entered customer address data

CustomerInputValidator implements CustomerInputValidatorInterface
Extended by CustomerAddressInputValidator implements CustomerAddressInputValidatorInterface
Package: Customer\Address
Category: System
Extends: CustomerInputValidator
Implements: CustomerAddressInputValidatorInterface
Located at CoreServices/Address/CustomerAddressInputValidator.inc.php

Methods summary

public boolean
# validateByArray( array $inputArray )

Validates the entered customer address data based on a given array

Validates the entered customer address data based on a given array

expects array with following keys: gender, company, firstname, lastname, street_address, suburb, postcode, city, country, state

Parameters

$inputArray

Returns

boolean
Returns the validation result (false indicates no validation error).

Implementation of

CustomerAddressInputValidatorInterface::validateByArray()

Methods inherited from CustomerInputValidator

__construct(), getErrorMessageCollection(), getErrorMessages(), getErrorStatus(), validateCity(), validateCompany(), validateCountry(), validateCountryZone(), validateDateOfBirth(), validateEmail(), validateEmailAndConfirmation(), validateEmailExists(), validateFaxNumber(), validateFirstname(), validateGender(), validateLastname(), validatePassword(), validatePostcode(), validateStreet(), validateSuburb(), validateTelephoneNumber(), validateVatNumber()

Properties summary

Properties inherited from CustomerInputValidator

$countryService, $customerCountryRepository, $customerCountryZoneRepository, $customerService, $errorMessageCollection, $errorStatus, $settings, $vatNumberValidator

API documentation generated by ApiGen