Log in
Model

Comment

Magento\Sales\Model\Order\Creditmemo\Comment

What it does

This class represents a comment on a credit memo in Magento 2.

Developers use it to create, retrieve, and manage comments associated with credit memos, including setting visibility on the frontend and tracking whether customers have been notified.

It's commonly used when processing refunds and maintaining communication history about credit memo transactions.

Public Methods

  • setCreditmemo()
  • getCreditmemo()
  • getStore()
  • getComment()
  • getCreatedAt()
  • setCreatedAt()
  • getIsCustomerNotified()
  • getIsVisibleOnFront()
  • getParentId()
  • setParentId()
  • setIsCustomerNotified()
  • setIsVisibleOnFront()
  • setComment()
  • getExtensionAttributes()
  • setExtensionAttributes()