Alokai

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

NameRequiredTypeDescription
authorOptionalPrincipal{Principal} Comment
creationDateRequiredstringDate when the comment was created. {string} Comment
fromCustomerRequiredbooleanFlag showing if the current customer was the author of the comment. {boolean} Comment
textRequiredstringText of the comment. {string} Comment

Referenced Types

On this page