Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
getComment () | |
getCreatedAt () | |
setCreatedAt ($createdAt) | |
getEntityId () | |
setEntityId ($entityId) | |
getIsCustomerNotified () | |
getIsVisibleOnFront () | |
getParentId () | |
setParentId ($id) | |
setIsCustomerNotified ($isCustomerNotified) | |
setIsVisibleOnFront ($isVisibleOnFront) | |
setComment ($comment) | |
getExtensionAttributes () | |
setExtensionAttributes (\Magento\Sales\Api\Data\CreditmemoCommentExtensionInterface $extensionAttributes) | |
Data Fields | |
const | ENTITY_ID = 'entity_id' |
const | PARENT_ID = 'parent_id' |
const | IS_CUSTOMER_NOTIFIED = 'is_customer_notified' |
const | IS_VISIBLE_ON_FRONT = 'is_visible_on_front' |
const | COMMENT = 'comment' |
const | CREATED_AT = 'created_at' |
![]() | |
const | EXTENSION_ATTRIBUTES_KEY = 'extension_attributes' |
Credit memo comment interface.
After a customer places and pays for an order and an invoice has been issued, the merchant can create a credit memo to refund all or part of the amount paid for any returned or undelivered items. The memo restores funds to the customer account so that the customer can make future purchases. A credit memo usually includes comments that detail why the credit memo amount was credited to the customer. @api
Definition at line 18 of file CreditmemoCommentInterface.php.
getComment | ( | ) |
getCreatedAt | ( | ) |
Gets the credit memo created-at timestamp.
Implemented in Comment.
getEntityId | ( | ) |
Gets the credit memo ID.
getExtensionAttributes | ( | ) |
Retrieve existing extension attributes object or create a new one.
Implemented in Comment.
getIsCustomerNotified | ( | ) |
Gets the is-customer-notified flag value for the credit memo.
Implemented in Comment.
getIsVisibleOnFront | ( | ) |
Gets the is-visible-on-storefront flag value for the credit memo.
Implemented in Comment.
getParentId | ( | ) |
setComment | ( | $comment | ) |
setCreatedAt | ( | $createdAt | ) |
Sets the credit memo created-at timestamp.
string | $createdAt | timestamp |
Implemented in Comment.
setEntityId | ( | $entityId | ) |
Sets entity ID.
int | $entityId |
setExtensionAttributes | ( | \Magento\Sales\Api\Data\CreditmemoCommentExtensionInterface | $extensionAttributes | ) |
Set an extension attributes object.
\Magento\Sales\Api\Data\CreditmemoCommentExtensionInterface | $extensionAttributes |
setIsCustomerNotified | ( | $isCustomerNotified | ) |
Sets the is-customer-notified flag value for the credit memo.
int | $isCustomerNotified |
Implemented in Comment.
setIsVisibleOnFront | ( | $isVisibleOnFront | ) |
Sets the is-visible-on-storefront flag value for the credit memo.
int | $isVisibleOnFront |
Implemented in Comment.
setParentId | ( | $id | ) |
const COMMENT = 'comment' |
Definition at line 42 of file CreditmemoCommentInterface.php.
const CREATED_AT = 'created_at' |
Definition at line 46 of file CreditmemoCommentInterface.php.
const ENTITY_ID = 'entity_id' |
#+ Constants for keys of data array. Identical to the name of the getter in snake case.
Definition at line 26 of file CreditmemoCommentInterface.php.
const IS_CUSTOMER_NOTIFIED = 'is_customer_notified' |
Definition at line 34 of file CreditmemoCommentInterface.php.
const IS_VISIBLE_ON_FRONT = 'is_visible_on_front' |
Definition at line 38 of file CreditmemoCommentInterface.php.
const PARENT_ID = 'parent_id' |
Definition at line 30 of file CreditmemoCommentInterface.php.