| eBay-API documentation | Contained in the eBay-API distribution. |
eBay::API::XML::DataType::CharacteristicsSetProductHistogramType
A generic type used for histograms.
eBay::API::XML::DataType::CharacteristicsSetProductHistogramType inherits from the eBay::API::XML::BaseDataType class
In GetProducts, each histogram entry shows how many matching products were found in each matching domain. A domain is like a high-level category. (A domain is also called an attribute set or a characteristic set.)
# Argument: reference to an array of 'ns:HistogramEntryType'
Calls: GetProducts Returned: Conditionally
# Returns: reference to an array of 'ns:HistogramEntryType'
| eBay-API documentation | Contained in the eBay-API distribution. |
#!/usr/bin/perl package eBay::API::XML::DataType::CharacteristicsSetProductHistogramType; use strict; use warnings; ########################################################################## # # Module: ............... <user defined location>eBay/API/XML # File: ................. CharacteristicsSetProductHistogramType.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::HistogramEntryType; my @gaProperties = ( [ 'HistogramEntry', 'ns:HistogramEntryType', '1' ,'eBay::API::XML::DataType::HistogramEntryType', '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 setHistogramEntry { my $self = shift; $self->{'HistogramEntry'} = $self->convertArray_To_RefToArrayIfNeeded(@_); }
sub getHistogramEntry { my $self = shift; return $self->_getDataTypeArray('HistogramEntry'); } ## Attribute and Property lists sub getPropertiesList { my $self = shift; return \@gaProperties; } sub getAttributesList { my $self = shift; return \@gaAttributes; } 1;