eBay::API::XML::DataType::HistogramEntryType - eBay::API::XML::DataType::HistogramEntryType documentation


eBay-API documentation Contained in the eBay-API distribution.

Index


Code Index:

NAME

Top

eBay::API::XML::DataType::HistogramEntryType

DESCRIPTION

Top

A generic histogram entry type.

SYNOPSIS

Top

INHERITANCE

Top

eBay::API::XML::DataType::HistogramEntryType inherits from the eBay::API::XML::BaseDataType class

Subroutines:

Top

setCount()

For GetProducts, the number of products found in the domain (characteristic set or attribute set). If a product is mapped to more than one domain, it will be counted separately for each domain. (For example, if the same product can be found in both Children's Books and Fiction Books, the count for both of these domains will include that product.) Furthermore, when a product is mapped to more than one domain, Product.AttributeSetID only returns the most applicable domain, as determined by eBay.

# Argument: 'xs:int'

getCount()

  Calls: GetProducts
  Returned: Conditionally

# Returns: 'xs:int'

setId()

For GetProducts, this is the domain ID (attribute set ID or characteristic set ID).

# Argument: 'xs:string'

getId()

  Calls: GetProducts
  Returned: Conditionally

# Returns: 'xs:string'

setName()

For GetProducts, this is the domain name (attribute set name or characteristic set name). A domain is like a high-level category.

# Argument: 'xs:string'

getName()

  Calls: GetProducts
  Returned: Conditionally

# Returns: 'xs:string'


eBay-API documentation Contained in the eBay-API distribution.
#!/usr/bin/perl

package eBay::API::XML::DataType::HistogramEntryType;

use strict;
use warnings;  

##########################################################################
#
# Module: ............... <user defined location>eBay/API/XML
# File: ................. HistogramEntryType.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");



my @gaProperties = ( [ 'Count', 'xs:int', '', '', '' ]
                    );
push @gaProperties, @{eBay::API::XML::BaseDataType::getPropertiesList()};

my @gaAttributes = ( [ 'id', 'xs:string', '', '', '' ]
	, [ 'name', 'xs:string', '', '', '' ]
                    );
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 setCount {
  my $self = shift;
  $self->{'Count'} = shift
}

sub getCount {
  my $self = shift;
  return $self->{'Count'};
}




sub setId {
  my $self = shift;
  $self->{'id'} = shift
}

sub getId {
  my $self = shift;
  return $self->{'id'};
}


sub setName {
  my $self = shift;
  $self->{'name'} = shift
}

sub getName {
  my $self = shift;
  return $self->{'name'};
}



##  Attribute and Property lists
sub getPropertiesList {
   my $self = shift;
   return \@gaProperties;
}

sub getAttributesList {
   my $self = shift;
   return \@gaAttributes;
}



1;