| eBay-API documentation | Contained in the eBay-API distribution. |
eBay::API::XML::Call::GetItemRecommendations::GetItemRecommendationsResponseType
GetItemRecommendations returns recommended changes or opportunities for improvement related to listing data that was passed in the request. This call supports batch requests. That is, it can retrieve recommendations for multiple items at once.
eBay::API::XML::Call::GetItemRecommendations::GetItemRecommendationsResponseType inherits from the eBay::API::XML::ResponseDataType class
Specifies recommended changes or opportunities for improving the data of a single item. If multiple items were processed, a separate GetRecommendationsResponseContainer is returned for each item. Each container includes a user-defined correlation ID to help you match items in the request to recommendations in the response.
# Argument: reference to an array of 'ns:GetRecommendationsResponseContainerType'
Returned: Always
# Returns: reference to an array
of 'ns:GetRecommendationsResponseContainerType'
| eBay-API documentation | Contained in the eBay-API distribution. |
#!/usr/bin/perl package eBay::API::XML::Call::GetItemRecommendations::GetItemRecommendationsResponseType; use strict; use warnings; ########################################################################## # # Module: ............... <user defined location>eBay/API/XML # File: ................. GetItemRecommendationsResponseType.pm # Generated by: ......... genEBayApiDataTypes.pl # Last Generated: ....... 08/24/2008 16:44 # API Release Number: ... 579 # ##########################################################################
use eBay::API::XML::ResponseDataType; our @ISA = ("eBay::API::XML::ResponseDataType"); use eBay::API::XML::DataType::GetRecommendationsResponseContainerType; my @gaProperties = ( [ 'GetRecommendationsResponseContainer', 'ns:GetRecommendationsResponseContainerType', '1' ,'eBay::API::XML::DataType::GetRecommendationsResponseContainerType', '1' ] ); push @gaProperties, @{eBay::API::XML::ResponseDataType::getPropertiesList()}; my @gaAttributes = ( ); push @gaAttributes, @{eBay::API::XML::ResponseDataType::getAttributesList()};
sub new { my $classname = shift; my %args = @_; my $self = $classname->SUPER::new(%args); return $self; } sub isScalar { return 0; }
sub setGetRecommendationsResponseContainer { my $self = shift; $self->{'GetRecommendationsResponseContainer'} = $self->convertArray_To_RefToArrayIfNeeded(@_); }
sub getGetRecommendationsResponseContainer { my $self = shift; return $self->_getDataTypeArray('GetRecommendationsResponseContainer'); } ## Attribute and Property lists sub getPropertiesList { my $self = shift; return \@gaProperties; } sub getAttributesList { my $self = shift; return \@gaAttributes; } 1;