1 | <?php |
||
27 | class Customer extends MagentoModuleAbstract |
||
28 | { |
||
29 | /** |
||
30 | * Create a new customer. |
||
31 | * |
||
32 | * @param array $customerData |
||
33 | * |
||
34 | * @return ActionInterface |
||
35 | */ |
||
36 | public function create($customerData) |
||
40 | |||
41 | /** |
||
42 | * Delete the required customer. |
||
43 | * |
||
44 | * @param int $customerId |
||
45 | * |
||
46 | * @return ActionInterface |
||
47 | */ |
||
48 | public function delete($customerId) |
||
52 | |||
53 | /** |
||
54 | * Retrieve information about the specified customer. |
||
55 | * |
||
56 | * @param int $customerId |
||
57 | * @param array $attributes |
||
58 | * |
||
59 | * @return ActionInterface |
||
60 | */ |
||
61 | public function getInfo($customerId, $attributes) |
||
65 | |||
66 | /** |
||
67 | * Allows you to retrieve the list of customers. |
||
68 | * |
||
69 | * @param array $filters |
||
70 | * |
||
71 | * @return ActionInterface |
||
72 | */ |
||
73 | public function getList($filters) |
||
77 | |||
78 | /** |
||
79 | * Update information about the required customer. |
||
80 | * Note that you need to pass only those arguments which you want to be updated. |
||
81 | * |
||
82 | * @param int $customerId |
||
83 | * @param array $customerData |
||
84 | * |
||
85 | * @return ActionInterface |
||
86 | */ |
||
87 | public function update($customerId, $customerData) |
||
91 | } |
||
92 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.