Log in
Model

Comment

Magento\Sales\Model\Order\Creditmemo\Comment

What it does

This class represents a comment attached to a credit memo in Magento 2's order management system.

Developers use it to add, retrieve, and manage administrative or customer-facing notes on credit memos, including tracking whether customers were notified and if comments should be visible on the storefront.

Public Methods

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