public interface Review extends GlobalInterface
Modifier and Type | Method and Description |
---|---|
String[] |
getAuthors()
Author of the item.
|
String |
getDeliveryNotes()
Additional instructions to explain the item’s delivery process.
|
FloatUnit |
getDeliveryRadius()
The maximum distance you will deliver an item in any direction.
|
String |
getNameOfItemBeingReviewed()
The name of an item being reviewed.
|
Date |
getPublishDate()
Date the item was published.
|
Float |
getRating()
Rating of the product or service on a scale of 1-5, with 5 as the best.
|
String |
getReviewerType()
The type of rating being provided: editorial (a review written by a member of your staff) or
“user” ( a review written by a user of your site).
|
String |
getReviewType()
The category of the item being reviewed.
|
URL |
getUrlOfItemBeingReviewed()
The web page of an item being reviewed.
|
void |
setAuthors(String[] authors)
Author of the item.
|
void |
setDeliveryNotes(String deliveryNotes)
Additional instructions to explain the item’s delivery process.
|
void |
setDeliveryRadius(FloatUnit deliveryRadius)
The maximum distance you will deliver an item in any direction.
|
void |
setNameOfItemBeingReviewed(String nameOfItemBeingReviewed)
The name of an item being reviewed.
|
void |
setPublishDate(Date publishDate)
Date the item was published.
|
void |
setRating(Float rating)
Rating of the product or service on a scale of 1-5, with 5 as the best.
|
void |
setReviewerType(String reviewerType)
The type of rating being provided: editorial (a review written by a member of your staff) or
“user” ( a review written by a user of your site).
|
void |
setReviewType(String reviewType)
The category of the item being reviewed.
|
void |
setUrlOfItemBeingReviewed(URL urlOfItemBeingReviewed)
The web page of an item being reviewed.
|
getExpirationDate, getExpirationDateTime, getId, getImageLinks, getLabels, setExpirationDate, setExpirationDateTime, setId, setImageLinks, setLabels
void setAuthors(String[] authors)
author | |
Details | Author of the item. |
Example | <g:author>John Steinbeck</g:author> |
Attribute of | Reference Items, News and Articles |
Content type | string |
authors
- Author of the item.String[] getAuthors()
author | |
Details | Author of the item. |
Example | <g:author>John Steinbeck</g:author> |
Attribute of | Reference Items, News and Articles |
Content type | string |
void setDeliveryNotes(String deliveryNotes)
deliveryNotes
- Additional instructions to explain the item’s delivery process.String getDeliveryNotes()
void setDeliveryRadius(FloatUnit deliveryRadius)
deliveryRadius
- The maximum distance you will deliver an item in any direction.FloatUnit getDeliveryRadius()
void setNameOfItemBeingReviewed(String nameOfItemBeingReviewed)
nameOfItemBeingReviewed
- The name of an item being reviewed.String getNameOfItemBeingReviewed()
void setPublishDate(Date publishDate)
publish_date | |
Details | Date the item was published in ISO 8601 format: YYYY-MM-DD |
Example | <g:publish_date>2005-12-20</g:publish_date> |
Attribute of | Reference Items |
Content type | date |
publishDate
- Date the item was published.Date getPublishDate()
publish_date | |
Details | Date the item was published in ISO 8601 format: YYYY-MM-DD |
Example | <g:publish_date>2005-12-20</g:publish_date> |
Attribute of | Reference Items |
Content type | date |
void setRating(Float rating)
rating
- Rating of the product or service on a scale of 1-5, with 5 as the best.Float getRating()
void setReviewType(String reviewType)
reviewType
- The category of the item being reviewed.String getReviewType()
void setReviewerType(String reviewerType)
reviewerType
- The type of rating being provided: editorial (a review written by a
member of your staff) or “user” ( a review written by a user of your site).String getReviewerType()
void setUrlOfItemBeingReviewed(URL urlOfItemBeingReviewed)
urlOfItemBeingReviewed
- The web page of an item being reviewed.URL getUrlOfItemBeingReviewed()
Copyright © 2023. All rights reserved.