1 | <?php |
||
27 | class OrderInvoice extends MagentoModuleAbstract |
||
28 | { |
||
29 | /** |
||
30 | * Allows you to add a new comment to the order invoice. |
||
31 | * |
||
32 | * @param string $invoiceIncrementId |
||
33 | * @param string $comment |
||
34 | * @param int $email |
||
35 | * @param int $includeComment |
||
36 | * |
||
37 | * @return ActionInterface |
||
38 | */ |
||
39 | public function addComment($invoiceIncrementId, $comment = null, $email = null, $includeComment = null) |
||
43 | |||
44 | /** |
||
45 | * Allows you to cancel the required invoice. |
||
46 | * Note that not all order invoices can be canceled. |
||
47 | * Only some payment methods support canceling the order invoice |
||
48 | * (e.g., Google Checkout, PayPal Pro, PayPal Express Checkout). |
||
49 | * |
||
50 | * @param string $invoiceIncrementId |
||
51 | * |
||
52 | * @return ActionInterface |
||
53 | */ |
||
54 | public function cancel($invoiceIncrementId) |
||
58 | |||
59 | /** |
||
60 | * Allows you to capture the required invoice. |
||
61 | * Note that not all order invoices can be captured. |
||
62 | * Only some payment methods support capturing the order invoice (e.g., PayPal Pro). |
||
63 | * |
||
64 | * @param string $invoiceIncrementId |
||
65 | * |
||
66 | * @return ActionInterface |
||
67 | */ |
||
68 | public function capture($invoiceIncrementId) |
||
72 | |||
73 | /** |
||
74 | * Allows you to create a new invoice for an order. |
||
75 | * |
||
76 | * @param string $orderIncrementId |
||
77 | * @param array $itemsQty |
||
78 | * @param string $comment |
||
79 | * @param string $email |
||
80 | * @param string $includeComment |
||
81 | * |
||
82 | * @return ActionInterface |
||
83 | */ |
||
84 | public function create($orderIncrementId, $itemsQty, $comment, $email, $includeComment) |
||
88 | |||
89 | /** |
||
90 | * @param string $invoiceIncrementId |
||
91 | * |
||
92 | * @return ActionInterface |
||
93 | */ |
||
94 | public function getInfo($invoiceIncrementId) |
||
98 | |||
99 | /** |
||
100 | * @param array $filters |
||
101 | * |
||
102 | * @return ActionInterface |
||
103 | */ |
||
104 | public function getList($filters = null) |
||
108 | } |
||
109 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.