Log in
Interface

CreditmemoCommentInterface

Magento\Sales\Api\Data\CreditmemoCommentInterface

What it does

This interface defines the contract for credit memo comment objects in Magento 2.

Developers use it to work with comments attached to credit memos, including reading/writing comment text, tracking customer notifications, controlling storefront visibility, and managing timestamps.

It's primarily used when creating refund workflows or displaying credit memo history with administrative notes.

Public Methods

  • getComment()
  • getCreatedAt()
  • setCreatedAt()
  • getEntityId()
  • setEntityId()
  • getIsCustomerNotified()
  • getIsVisibleOnFront()
  • getParentId()
  • setParentId()
  • setIsCustomerNotified()
  • setIsVisibleOnFront()
  • setComment()
  • getExtensionAttributes()
  • setExtensionAttributes()