eBay::API::XML::DataType::GroupType - eBay::API::XML::DataType::GroupType documentation


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

Index


Code Index:

NAME

Top

eBay::API::XML::DataType::GroupType

DESCRIPTION

Top

Allows you to group Best Match search results by category.

SYNOPSIS

Top

INHERITANCE

Top

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

Subroutines:

Top

setMaxEntriesPerGroup()

Use a positive whole number to specify the maximum number of entries per group that you want to include in the search result.

  Calls: GetSearchResults
  RequiredInput: No

# Argument: 'xs:int'

getMaxEntriesPerGroup()

# Returns: 'xs:int'

setMaxGroups()

Use a positive whole number to specify the maximum number of groups that you want to include in the search result.

  Calls: GetSearchResults
  RequiredInput: No

# Argument: 'xs:int'

getMaxGroups()

# Returns: 'xs:int'


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

package eBay::API::XML::DataType::GroupType;

use strict;
use warnings;  

##########################################################################
#
# Module: ............... <user defined location>eBay/API/XML
# File: ................. GroupType.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 = ( [ 'MaxEntriesPerGroup', 'xs:int', '', '', '' ]
	, [ 'MaxGroups', '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 setMaxEntriesPerGroup {
  my $self = shift;
  $self->{'MaxEntriesPerGroup'} = shift
}

sub getMaxEntriesPerGroup {
  my $self = shift;
  return $self->{'MaxEntriesPerGroup'};
}


sub setMaxGroups {
  my $self = shift;
  $self->{'MaxGroups'} = shift
}

sub getMaxGroups {
  my $self = shift;
  return $self->{'MaxGroups'};
}





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

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



1;