1 <?php
2 /* --------------------------------------------------------------
3 CustomerAddressInputValidatorInterface.inc.php 2015-07-22 gm
4 Gambio GmbH
5 http://www.gambio.de
6 Copyright (c) 2015 Gambio GmbH
7 Released under the GNU General Public License (Version 2)
8 [http://www.gnu.org/licenses/gpl-2.0.html]
9 --------------------------------------------------------------
10 */
11
12 /**
13 * Interface CustomerAddressInputValidatorInterface
14 *
15 * @category System
16 * @package Customer
17 * @subpackage Interfaces
18 */
19 interface CustomerAddressInputValidatorInterface
20 {
21 /**
22 * Method to validate the customer address input with a given array
23 *
24 * expects array with following keys:
25 * gender, company, firstname, lastname, street_address, suburb, postcode, city, country, primary, state
26 *
27 * @param array $inputArray
28 *
29 * @return int The error status of the validation
30 */
31 public function validateByArray(array $inputArray);
32 }
33