eBay::API::XML::DataType::MyeBaySelectionType - eBay::API::XML::DataType::MyeBaySelectionType documentation


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

Index


Code Index:

NAME

Top

eBay::API::XML::DataType::MyeBaySelectionType

DESCRIPTION

Top

Specifies how the result list for My eBay features such as favorite searches, favorite sellers, and second chance offers should be returned.

SYNOPSIS

Top

INHERITANCE

Top

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

Subroutines:

Top

setInclude()

Specifies whether to include a container in the response. Required if you do not specify any other tags to filter the result list. If so, the list is returned according to the default values. Ignored if you specify at least one other tag for the result list.

  Calls: GetMyeBayBuying
  RequiredInput: No

# Argument: 'xs:boolean'

isInclude()

# Returns: 'xs:boolean'

setMaxResults()

Specifies the maximum number of items in the returned list. If not specified, returns all items in the list.

  Calls: GetMyeBayBuying
  RequiredInput: No

# Argument: 'xs:int'

getMaxResults()

# Returns: 'xs:int'

setSort()

Specifies the result sort order. Default is Ascending.

  Calls: GetMyeBayBuying
  RequiredInput: No

# Argument: 'ns:SortOrderCodeType'

getSort()

# Returns: 'ns:SortOrderCodeType'


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

package eBay::API::XML::DataType::MyeBaySelectionType;

use strict;
use warnings;  

##########################################################################
#
# Module: ............... <user defined location>eBay/API/XML
# File: ................. MyeBaySelectionType.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::Enum::SortOrderCodeType;


my @gaProperties = ( [ 'Include', 'xs:boolean', '', '', '' ]
	, [ 'MaxResults', 'xs:int', '', '', '' ]
	, [ 'Sort', 'ns:SortOrderCodeType', ''
	     ,'eBay::API::XML::DataType::Enum::SortOrderCodeType', '' ]
                    );
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 setInclude {
  my $self = shift;
  $self->{'Include'} = shift
}

sub isInclude {
  my $self = shift;
  return $self->{'Include'};
}


sub setMaxResults {
  my $self = shift;
  $self->{'MaxResults'} = shift
}

sub getMaxResults {
  my $self = shift;
  return $self->{'MaxResults'};
}


sub setSort {
  my $self = shift;
  $self->{'Sort'} = shift
}

sub getSort {
  my $self = shift;
  return $self->{'Sort'};
}





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

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



1;