Comment_2
Object of the comment, which can be added to any Item in the commerce suite. Comment
export interface Comment {
'author'?: Principal;
'creationDate': string;
'fromCustomer': boolean;
'text': string;
}Properties
| Name | Required | Type | Description |
|---|---|---|---|
author | Optional | Principal | {Principal} Comment |
creationDate | Required | string | Date when the comment was created. {string} Comment |
fromCustomer | Required | boolean | Flag showing if the current customer was the author of the comment. {boolean} Comment |
text | Required | string | Text of the comment. {string} Comment |