public interface Review extends GlobalInterface
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
getAuthors()
Author of the item.
|
java.lang.String |
getDeliveryNotes()
Additional instructions to explain the item’s delivery process.
|
FloatUnit |
getDeliveryRadius()
The maximum distance you will deliver an item in any direction.
|
java.lang.String |
getNameOfItemBeingReviewed()
The name of an item being reviewed.
|
java.util.Date |
getPublishDate()
Date the item was published.
|
java.lang.Float |
getRating()
Rating of the product or service on a scale of 1-5, with 5 as the best.
|
java.lang.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).
|
java.lang.String |
getReviewType()
The category of the item being reviewed.
|
java.net.URL |
getUrlOfItemBeingReviewed()
The web page of an item being reviewed.
|
void |
setAuthors(java.lang.String[] authors)
Author of the item.
|
void |
setDeliveryNotes(java.lang.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(java.lang.String nameOfItemBeingReviewed)
The name of an item being reviewed.
|
void |
setPublishDate(java.util.Date publishDate)
Date the item was published.
|
void |
setRating(java.lang.Float rating)
Rating of the product or service on a scale of 1-5, with 5 as the best.
|
void |
setReviewerType(java.lang.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(java.lang.String reviewType)
The category of the item being reviewed.
|
void |
setUrlOfItemBeingReviewed(java.net.URL urlOfItemBeingReviewed)
The web page of an item being reviewed.
|
getExpirationDate, getExpirationDateTime, getId, getImageLinks, getLabels, setExpirationDate, setExpirationDateTime, setId, setImageLinks, setLabels
void setAuthors(java.lang.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.java.lang.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(java.lang.String deliveryNotes)
deliveryNotes
- Additional instructions to explain the item’s delivery process.java.lang.String getDeliveryNotes()
void setDeliveryRadius(FloatUnit deliveryRadius)
deliveryRadius
- The maximum distance you will deliver an item in any direction.FloatUnit getDeliveryRadius()
void setNameOfItemBeingReviewed(java.lang.String nameOfItemBeingReviewed)
nameOfItemBeingReviewed
- The name of an item being reviewed.java.lang.String getNameOfItemBeingReviewed()
void setPublishDate(java.util.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.java.util.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(java.lang.Float rating)
rating
- Rating of the product or service on a scale of 1-5, with 5 as the best.java.lang.Float getRating()
void setReviewType(java.lang.String reviewType)
reviewType
- The category of the item being reviewed.java.lang.String getReviewType()
void setReviewerType(java.lang.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).java.lang.String getReviewerType()
void setUrlOfItemBeingReviewed(java.net.URL urlOfItemBeingReviewed)
urlOfItemBeingReviewed
- The web page of an item being reviewed.java.net.URL getUrlOfItemBeingReviewed()