1 | <?php |
||
27 | class CustomerAddress extends MagentoModuleAbstract |
||
28 | { |
||
29 | /** |
||
30 | * Create a new address for the customer. |
||
31 | * |
||
32 | * @param int $customerId |
||
33 | * @param array $addressData |
||
34 | * |
||
35 | * @return ActionInterface |
||
36 | */ |
||
37 | public function create($customerId, $addressData) |
||
41 | |||
42 | /** |
||
43 | * Delete the required customer address. |
||
44 | * |
||
45 | * @param int $addressId |
||
46 | * |
||
47 | * @return ActionInterface |
||
48 | */ |
||
49 | public function delete($addressId) |
||
53 | |||
54 | /** |
||
55 | * Retrieve information about the required customer address. |
||
56 | * |
||
57 | * @param int $addressId |
||
58 | * |
||
59 | * @return ActionInterface |
||
60 | */ |
||
61 | public function getInfo($addressId) |
||
65 | |||
66 | /** |
||
67 | * Retrieve the list of customer addresses. |
||
68 | * |
||
69 | * @param int $customerId |
||
70 | * |
||
71 | * @return ActionInterface |
||
72 | */ |
||
73 | public function getList($customerId) |
||
77 | |||
78 | /** |
||
79 | * Update address data of the required customer. |
||
80 | * |
||
81 | * @param int $addressId |
||
82 | * @param array $addressData |
||
83 | * |
||
84 | * @return ActionInterface |
||
85 | */ |
||
86 | public function update($addressId, $addressData) |
||
90 | } |
||
91 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.