| eBay-API documentation | Contained in the eBay-API distribution. |
eBay::API::XML::DataType::ContextSearchAssetType
Score and rank for a keyword identified for a web page.
eBay::API::XML::DataType::ContextSearchAssetType inherits from the eBay::API::XML::BaseDataType class
The eBay category in which the keyword is used.
# Argument: 'ns:CategoryType'
Calls: GetContextualKeywords Returned: Always
# Returns: 'ns:CategoryType'
The keyword.
MaxLength: 64
# Argument: 'xs:string'
Calls: GetContextualKeywords Returned: Always
# Returns: 'xs:string'
The ranking of this keyword and category relative to other keywords and categories (when scores are sorted).
Max: 2147483647 Min: 1
# Argument: 'xs:int'
Calls: GetContextualKeywords Returned: Always
# Returns: 'xs:int'
| eBay-API documentation | Contained in the eBay-API distribution. |
#!/usr/bin/perl package eBay::API::XML::DataType::ContextSearchAssetType; use strict; use warnings; ########################################################################## # # Module: ............... <user defined location>eBay/API/XML # File: ................. ContextSearchAssetType.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::CategoryType; my @gaProperties = ( [ 'Category', 'ns:CategoryType', '' ,'eBay::API::XML::DataType::CategoryType', '1' ] , [ 'Keyword', 'xs:string', '', '', '' ] , [ 'Ranking', 'xs:int', '', '', '' ] ); 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 setCategory { my $self = shift; $self->{'Category'} = shift }
sub getCategory { my $self = shift; return $self->_getDataTypeInstance( 'Category' ,'eBay::API::XML::DataType::CategoryType'); }
sub setKeyword { my $self = shift; $self->{'Keyword'} = shift }
sub getKeyword { my $self = shift; return $self->{'Keyword'}; }
sub setRanking { my $self = shift; $self->{'Ranking'} = shift }
sub getRanking { my $self = shift; return $self->{'Ranking'}; } ## Attribute and Property lists sub getPropertiesList { my $self = shift; return \@gaProperties; } sub getAttributesList { my $self = shift; return \@gaAttributes; } 1;