phpDocumentor

CustomerAddressInputValidatorInterface

Interface CustomerAddressInputValidatorInterface

Tags
category

System

subpackage

Interfaces

Table of Contents

validateByArray()  : int
Method to validate the customer address input with a given array

Methods

validateByArray()

Method to validate the customer address input with a given array

public validateByArray(array<string|int, mixed> $inputArray) : int

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

Parameters
$inputArray : array<string|int, mixed>
Return values
int

The error status of the validation

Search results