| eBay-API documentation | Contained in the eBay-API distribution. |
eBay::API::XML::DataType::CategoryArrayType
Container for a list of categories.
eBay::API::XML::DataType::CategoryArrayType inherits from the eBay::API::XML::BaseDataType class
Contains details about one category. For GetCategories, this node is not returned when no detail level is specified.
# Argument: reference to an array of 'ns:CategoryType'
Calls: GetCategories
Returned: Always
Details: DetailLevel: ReturnAll
Calls: GetCategoryListings
GetPopularKeywords
Returned: Always
Calls: GetCategory2CS
Returned: Always
Details: DetailLevel: ReturnAll
Context: MappedCategoryArray
Calls: GetCategory2CS
Returned: Conditionally
Details: DetailLevel: ReturnAll
Context: UnmappedCategoryArray
Calls: GetSearchResults
Returned: Conditionally
Details: DetailLevel: ItemReturnAttributes, ItemReturnCategories, none, ReturnAll
# Returns: reference to an array of 'ns:CategoryType'
| eBay-API documentation | Contained in the eBay-API distribution. |
#!/usr/bin/perl package eBay::API::XML::DataType::CategoryArrayType; use strict; use warnings; ########################################################################## # # Module: ............... <user defined location>eBay/API/XML # File: ................. CategoryArrayType.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', '1' ,'eBay::API::XML::DataType::CategoryType', '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 setCategory { my $self = shift; $self->{'Category'} = $self->convertArray_To_RefToArrayIfNeeded(@_); }
sub getCategory { my $self = shift; return $self->_getDataTypeArray('Category'); } ## Attribute and Property lists sub getPropertiesList { my $self = shift; return \@gaProperties; } sub getAttributesList { my $self = shift; return \@gaAttributes; } 1;