Log in
Interface

CreditmemoCommentCreationInterface

Magento\Sales\Api\Data\CreditmemoCommentCreationInterface

What it does

This interface defines the contract for creating comments on credit memos in Magento 2.

Developers use this when programmatically adding comments to credit memos through the API, such as when creating automated refund workflows or integrating with external systems.

It extends both ExtensibleDataInterface for custom attributes and CommentInterface for standard comment functionality.

Public Methods

  • getExtensionAttributes()
  • setExtensionAttributes()