| eBay-API documentation | Contained in the eBay-API distribution. |
eBay::API::XML::DataType::GetRecommendationsResponseContainerType
Returns recommended changes or opportunities for improvement related to listing data that was passed in a GetItemRecommendations request.
eBay::API::XML::DataType::GetRecommendationsResponseContainerType inherits from the eBay::API::XML::BaseDataType class
Contains attribute suggestions returned from the Suggested Attributes engine, if this engine was specified in the request. The results include suggested attributes and values based on the primary category and a string you specify in the Query field. Suggestions may only be returned when the Suggested Attributes engine is specified alone. If you request recommendations by using multiple engines, suggested attribute data might not be returned. If attributes are returned with multiple values, the values are returned in order of rank (i.e., the value that best meets eBay's recommendation criteria is returned first).
# Argument: 'ns:AttributeRecommendationsType'
Calls: GetItemRecommendations Returned: Conditionally
# Returns: 'ns:AttributeRecommendationsType'
Unique key to distinguish between recommendations for each item. Matches a correlation ID you defined in the request, if any.
# Argument: 'xs:string'
Calls: GetItemRecommendations Returned: Conditionally
# Returns: 'xs:string'
Contains custom Item Specifics suggestions returned from the custom Item Specifics recommendation engine, An Item Specific consists of a name/value pair, and it may be returned as complete (with name and one or more values) or partial (name only).
# Argument: 'ns:ItemSpecificsRecommendationsType'
Calls: GetItemRecommendations Returned: Conditionally TagStatus: ComingSoon
# Returns: 'ns:ItemSpecificsRecommendationsType'
Contains tips returned from the Listing Analyzer recommendation engine, if this engine was specified in the request (or if no engine was specified).
# Argument: 'ns:ListingAnalyzerRecommendationsType'
Calls: GetItemRecommendations Returned: Conditionally
# Returns: 'ns:ListingAnalyzerRecommendationsType'
Contains pricing data returned from the Product Pricing engine, if this engine was specified in the request (or if no engine was specified).
# Argument: 'ns:PricingRecommendationsType'
Calls: GetItemRecommendations Returned: Conditionally
# Returns: 'ns:PricingRecommendationsType'
Contains zero or more product titles and IDs returned from the Suggested Attributes engine, if this engine was specified in the request (or if no engine was specified). If applicable, use one of the suggested product IDs to list the item with Pre-filled Item Information.
# Argument: 'ns:ProductRecommendationsType'
Calls: GetItemRecommendations Returned: Conditionally
# Returns: 'ns:ProductRecommendationsType'
Reserved for future use.
# Argument: 'ns:SIFFTASRecommendationsType'
# Returns: 'ns:SIFFTASRecommendationsType'
| eBay-API documentation | Contained in the eBay-API distribution. |
#!/usr/bin/perl package eBay::API::XML::DataType::GetRecommendationsResponseContainerType; use strict; use warnings; ########################################################################## # # Module: ............... <user defined location>eBay/API/XML # File: ................. GetRecommendationsResponseContainerType.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::AttributeRecommendationsType; use eBay::API::XML::DataType::ItemSpecificsRecommendationsType; use eBay::API::XML::DataType::ListingAnalyzerRecommendationsType; use eBay::API::XML::DataType::PricingRecommendationsType; use eBay::API::XML::DataType::ProductRecommendationsType; use eBay::API::XML::DataType::SIFFTASRecommendationsType; my @gaProperties = ( [ 'AttributeRecommendations', 'ns:AttributeRecommendationsType', '' ,'eBay::API::XML::DataType::AttributeRecommendationsType', '1' ] , [ 'CorrelationID', 'xs:string', '', '', '' ] , [ 'ItemSpecificsRecommendations', 'ns:ItemSpecificsRecommendationsType', '' ,'eBay::API::XML::DataType::ItemSpecificsRecommendationsType', '1' ] , [ 'ListingAnalyzerRecommendations', 'ns:ListingAnalyzerRecommendationsType', '' ,'eBay::API::XML::DataType::ListingAnalyzerRecommendationsType', '1' ] , [ 'PricingRecommendations', 'ns:PricingRecommendationsType', '' ,'eBay::API::XML::DataType::PricingRecommendationsType', '1' ] , [ 'ProductRecommendations', 'ns:ProductRecommendationsType', '' ,'eBay::API::XML::DataType::ProductRecommendationsType', '1' ] , [ 'SIFFTASRecommendations', 'ns:SIFFTASRecommendationsType', '' ,'eBay::API::XML::DataType::SIFFTASRecommendationsType', '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 setAttributeRecommendations { my $self = shift; $self->{'AttributeRecommendations'} = shift }
sub getAttributeRecommendations { my $self = shift; return $self->_getDataTypeInstance( 'AttributeRecommendations' ,'eBay::API::XML::DataType::AttributeRecommendationsType'); }
sub setCorrelationID { my $self = shift; $self->{'CorrelationID'} = shift }
sub getCorrelationID { my $self = shift; return $self->{'CorrelationID'}; }
sub setItemSpecificsRecommendations { my $self = shift; $self->{'ItemSpecificsRecommendations'} = shift }
sub getItemSpecificsRecommendations { my $self = shift; return $self->_getDataTypeInstance( 'ItemSpecificsRecommendations' ,'eBay::API::XML::DataType::ItemSpecificsRecommendationsType'); }
sub setListingAnalyzerRecommendations { my $self = shift; $self->{'ListingAnalyzerRecommendations'} = shift }
sub getListingAnalyzerRecommendations { my $self = shift; return $self->_getDataTypeInstance( 'ListingAnalyzerRecommendations' ,'eBay::API::XML::DataType::ListingAnalyzerRecommendationsType'); }
sub setPricingRecommendations { my $self = shift; $self->{'PricingRecommendations'} = shift }
sub getPricingRecommendations { my $self = shift; return $self->_getDataTypeInstance( 'PricingRecommendations' ,'eBay::API::XML::DataType::PricingRecommendationsType'); }
sub setProductRecommendations { my $self = shift; $self->{'ProductRecommendations'} = shift }
sub getProductRecommendations { my $self = shift; return $self->_getDataTypeInstance( 'ProductRecommendations' ,'eBay::API::XML::DataType::ProductRecommendationsType'); }
sub setSIFFTASRecommendations { my $self = shift; $self->{'SIFFTASRecommendations'} = shift }
sub getSIFFTASRecommendations { my $self = shift; return $self->_getDataTypeInstance( 'SIFFTASRecommendations' ,'eBay::API::XML::DataType::SIFFTASRecommendationsType'); } ## Attribute and Property lists sub getPropertiesList { my $self = shift; return \@gaProperties; } sub getAttributesList { my $self = shift; return \@gaAttributes; } 1;