| eBay-API documentation | Contained in the eBay-API distribution. |
eBay::API::XML::DataType::ReviewType
A product review written by an eBay member.
eBay::API::XML::DataType::ReviewType inherits from the eBay::API::XML::BaseDataType class
The time and date when the reviewer posted the review.
# Argument: 'xs:dateTime'
Calls: GetProducts Returned: Conditionally
# Returns: 'xs:dateTime'
The eBay member's rating of the product.
Max: 5 Min: 0
# Argument: 'xs:int'
Calls: GetProducts Returned: Conditionally
# Returns: 'xs:int'
The text of the review. If the review is longer than 2000 characters, the text is cut off and it ends with "...". See Review.URL for a link to the full text of the review.
SeeLink: URL: #Response.Product.ReviewDetails.Review.URL Title: (GetProducts) Product.ReviewDetails.Review.URL MaxLength: 2000
# Argument: 'xs:string'
Calls: GetProducts Returned: Conditionally
# Returns: 'xs:string'
The title of the review.
MaxLength: 55
# Argument: 'xs:string'
Calls: GetProducts Returned: Conditionally
# Returns: 'xs:string'
A link to the full review on the eBay Web site. This URL optimized for natural search: "_W0QQ" is like "?" (question mark), "QQ" is like "&" (ampersand), and "Z" is like "=" (equals sign).<br> <br> <span class="tablenote"><b>Note:</b> For a link to all reviews for the product, remove the upvr parameter from this URL. See the eBay Web Services guide for an example. </span>
# Argument: 'xs:anyURI'
Calls: GetProducts Returned: Conditionally
# Returns: 'xs:anyURI'
The reviewer's eBay user ID.
# Argument: 'ns:UserIDType'
Calls: GetProducts Returned: Conditionally
# Returns: 'ns:UserIDType'
| eBay-API documentation | Contained in the eBay-API distribution. |
#!/usr/bin/perl package eBay::API::XML::DataType::ReviewType; use strict; use warnings; ########################################################################## # # Module: ............... <user defined location>eBay/API/XML # File: ................. ReviewType.pm # Generated by: ......... genEBayApiDataTypes.pl # Last Generated: ....... 08/24/2008 16:44 # API Release Number: ... 579 # ##########################################################################
use eBay::API::XML::BaseDataType; our @ISA = ("eBay::API::XML::BaseDataType"); use eBay::API::XML::DataType::UserIDType; my @gaProperties = ( [ 'CreationTime', 'xs:dateTime', '', '', '' ] , [ 'Rating', 'xs:int', '', '', '' ] , [ 'Text', 'xs:string', '', '', '' ] , [ 'Title', 'xs:string', '', '', '' ] , [ 'URL', 'xs:anyURI', '', '', '' ] , [ 'UserID', 'ns:UserIDType', '' ,'eBay::API::XML::DataType::UserIDType', '1' ] ); push @gaProperties, @{eBay::API::XML::BaseDataType::getPropertiesList()}; my @gaAttributes = ( ); push @gaAttributes, @{eBay::API::XML::BaseDataType::getAttributesList()};
sub new { my $classname = shift; my %args = @_; my $self = $classname->SUPER::new(%args); return $self; } sub isScalar { return 0; }
sub setCreationTime { my $self = shift; $self->{'CreationTime'} = shift }
sub getCreationTime { my $self = shift; return $self->{'CreationTime'}; }
sub setRating { my $self = shift; $self->{'Rating'} = shift }
sub getRating { my $self = shift; return $self->{'Rating'}; }
sub setText { my $self = shift; $self->{'Text'} = shift }
sub getText { my $self = shift; return $self->{'Text'}; }
sub setTitle { my $self = shift; $self->{'Title'} = shift }
sub getTitle { my $self = shift; return $self->{'Title'}; }
sub setURL { my $self = shift; $self->{'URL'} = shift }
sub getURL { my $self = shift; return $self->{'URL'}; }
sub setUserID { my $self = shift; $self->{'UserID'} = shift }
sub getUserID { my $self = shift; return $self->_getDataTypeInstance( 'UserID' ,'eBay::API::XML::DataType::UserIDType'); } ## Attribute and Property lists sub getPropertiesList { my $self = shift; return \@gaProperties; } sub getAttributesList { my $self = shift; return \@gaAttributes; } 1;