Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
cancel ($id) | |
getCommentsList ($id) | |
notify ($id) | |
refund (\Magento\Sales\Api\Data\CreditmemoInterface $creditmemo, $offlineRequested=false) | |
Credit memo add comment interface.
After a customer places and pays for an order and an invoice has been issued, the merchant can create a credit memo to refund all or part of the amount paid for any returned or undelivered items. The memo restores funds to the customer account so that the customer can make future purchases. @api
Definition at line 18 of file CreditmemoManagementInterface.php.
cancel | ( | $id | ) |
Cancels a specified credit memo.
int | $id | The credit memo ID. |
Implemented in CreditmemoService.
getCommentsList | ( | $id | ) |
Lists comments for a specified credit memo.
int | $id | The credit memo ID. |
Implemented in CreditmemoService.
notify | ( | $id | ) |
Emails a user a specified credit memo.
int | $id | The credit memo ID. |
Implemented in CreditmemoService.
refund | ( | \Magento\Sales\Api\Data\CreditmemoInterface | $creditmemo, |
$offlineRequested = false |
|||
) |
Prepare creditmemo to refund and save it.
\Magento\Sales\Api\Data\CreditmemoInterface | $creditmemo | |
bool | $offlineRequested |
Implemented in CreditmemoService.