eBay::API::XML::Call::AddToWatchList::AddToWatchListResponseType - eBay::API::XML::Call::AddToWatchList::AddToWatchListResponseType documentation


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

Index


Code Index:

NAME

Top

eBay::API::XML::Call::AddToWatchList::AddToWatchListResponseType

DESCRIPTION

Top

SYNOPSIS

Top

INHERITANCE

Top

eBay::API::XML::Call::AddToWatchList::AddToWatchListResponseType inherits from the eBay::API::XML::ResponseDataType class

Subroutines:

Top

setWatchListCount()

The number of items in the user's watch list (after those specified in the call request have been added)

# Argument: 'xs:int'

getWatchListCount()

  Returned: Always
#    Returns: 'xs:int'

setWatchListMaximum()

The maximum number of items allowed in watch lists. Currently this value is the same for all sites and all users.

# Argument: 'xs:int'

getWatchListMaximum()

  Returned: Always
#    Returns: 'xs:int'


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

package eBay::API::XML::Call::AddToWatchList::AddToWatchListResponseType;

use strict;
use warnings;  

##########################################################################
#
# Module: ............... <user defined location>eBay/API/XML
# File: ................. AddToWatchListResponseType.pm
# Generated by: ......... genEBayApiDataTypes.pl
# Last Generated: ....... 08/24/2008 16:44
# API Release Number: ... 579
#
##########################################################################  

use eBay::API::XML::ResponseDataType;
our @ISA = ("eBay::API::XML::ResponseDataType");



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

my @gaAttributes = ( 
                    );
push @gaAttributes, @{eBay::API::XML::ResponseDataType::getAttributesList()};

sub new {
  my $classname = shift;
  my %args = @_;
  my $self = $classname->SUPER::new(%args);
  return $self;
}

sub isScalar {
   return 0; 
}



sub setWatchListCount {
  my $self = shift;
  $self->{'WatchListCount'} = shift
}

sub getWatchListCount {
  my $self = shift;
  return $self->{'WatchListCount'};
}


sub setWatchListMaximum {
  my $self = shift;
  $self->{'WatchListMaximum'} = shift
}

sub getWatchListMaximum {
  my $self = shift;
  return $self->{'WatchListMaximum'};
}





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

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



1;