1 | <?php |
||
27 | class OrderCreditMemo extends MagentoModuleAbstract |
||
28 | { |
||
29 | /** |
||
30 | * Allows you to add a new comment to an existing credit memo. |
||
31 | * Email notification can be sent to the user email. |
||
32 | * |
||
33 | * @param string $creditmemoIncrementId |
||
34 | * @param string $comment |
||
35 | * @param string $notifyCustomer |
||
36 | * @param string $includeComment |
||
37 | * |
||
38 | * @return ActionInterface |
||
39 | */ |
||
40 | public function addComment($creditmemoIncrementId, $comment = null, $notifyCustomer = null, $includeComment = null) |
||
44 | |||
45 | /** |
||
46 | * Allows you to cancel an existing credit memo. |
||
47 | * |
||
48 | * @param string $creditmemoIncrementId |
||
49 | * |
||
50 | * @return ActionInterface |
||
51 | */ |
||
52 | public function cancel($creditmemoIncrementId) |
||
56 | |||
57 | /** |
||
58 | * Allows you to create a new credit memo for the invoiced order. |
||
59 | * Comments can be added and an email notification can be sent to the user email. |
||
60 | * |
||
61 | * @param string $orderIncrementId |
||
62 | * @param array $creditmemoData |
||
63 | * @param string $comment |
||
64 | * @param int $notifyCustomer |
||
65 | * @param int $includeComment |
||
66 | * @param string $refundToStoreCreditAmount |
||
67 | * |
||
68 | * @return ActionInterface |
||
69 | */ |
||
70 | public function create( |
||
80 | |||
81 | /** |
||
82 | * Allows you to retrieve full information about the specified credit memo. |
||
83 | * |
||
84 | * @param string $creditmemoIncrementId |
||
85 | * |
||
86 | * @return ActionInterface |
||
87 | */ |
||
88 | public function getInfo($creditmemoIncrementId) |
||
92 | |||
93 | /** |
||
94 | * Allows you to retrieve the list of credit memos by filters. |
||
95 | * |
||
96 | * @param array $filters |
||
97 | * |
||
98 | * @return ActionInterface |
||
99 | */ |
||
100 | public function getList($filters) |
||
104 | } |
||
105 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.