Log in
Interface

CreditmemoManagementInterface

Magento\Sales\Api\CreditmemoManagementInterface

What it does

This interface defines the contract for managing credit memos in Magento 2.

Developers use this to perform operations like canceling credit memos, retrieving comment lists, sending email notifications to customers, and processing refunds.

It's the primary service interface for credit memo operations and is typically used when implementing custom refund workflows or integrating with external systems.

Public Methods

  • cancel()
  • getCommentsList()
  • notify()
  • refund()