eBay::API::XML::DataType::BuyingSummaryType - eBay::API::XML::DataType::BuyingSummaryType documentation


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

Index


Code Index:

NAME

Top

eBay::API::XML::DataType::BuyingSummaryType

DESCRIPTION

Top

SYNOPSIS

Top

INHERITANCE

Top

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

Subroutines:

Top

setBestOfferCount()

The number of items the user has made best offers on.

# Argument: 'xs:int'

getBestOfferCount()

  Calls: GetMyeBayBuying
  Returned: Always
  Details: DetailLevel: none, ReturnSummary, ReturnAll

# Returns: 'xs:int'

setBiddingCount()

The number of items the user has bid on.

# Argument: 'xs:int'

getBiddingCount()

  Calls: GetMyeBayBuying
  Returned: Always
  Details: DetailLevel: none, ReturnSummary, ReturnAll

# Returns: 'xs:int'

setTotalWinningCost()

The total cost of items the user is presently winning.

# Argument: 'ns:AmountType'

getTotalWinningCost()

  Calls: GetMyeBayBuying
  Returned: Always
  Details: DetailLevel: none, ReturnSummary, ReturnAll

# Returns: 'ns:AmountType'

setTotalWonCost()

The total cost of items the user has bid on and won.

# Argument: 'ns:AmountType'

getTotalWonCost()

  Calls: GetMyeBayBuying
  Returned: Always
  Details: DetailLevel: none, ReturnSummary, ReturnAll

# Returns: 'ns:AmountType'

setWinningCount()

The number of items the user has bid on and is winning, but that have not yet ended.

# Argument: 'xs:int'

getWinningCount()

  Calls: GetMyeBayBuying
  Returned: Always
  Details: DetailLevel: none, ReturnSummary, ReturnAll

# Returns: 'xs:int'

setWonCount()

The number of items the user has bid on and won.

# Argument: 'xs:int'

getWonCount()

  Calls: GetMyeBayBuying
  Returned: Always
  Details: DetailLevel: none, ReturnSummary, ReturnAll

# Returns: 'xs:int'

setWonDurationInDays()

The time period for which won items are displayed. Default is 31 days.

# Argument: 'xs:int'

getWonDurationInDays()

  Calls: GetMyeBayBuying
  Returned: Always
  Details: DetailLevel: none, ReturnSummary, ReturnAll

# Returns: 'xs:int'


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

package eBay::API::XML::DataType::BuyingSummaryType;

use strict;
use warnings;  

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


my @gaProperties = ( [ 'BestOfferCount', 'xs:int', '', '', '' ]
	, [ 'BiddingCount', 'xs:int', '', '', '' ]
	, [ 'TotalWinningCost', 'ns:AmountType', ''
	     ,'eBay::API::XML::DataType::AmountType', '1' ]
	, [ 'TotalWonCost', 'ns:AmountType', ''
	     ,'eBay::API::XML::DataType::AmountType', '1' ]
	, [ 'WinningCount', 'xs:int', '', '', '' ]
	, [ 'WonCount', 'xs:int', '', '', '' ]
	, [ 'WonDurationInDays', '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 setBestOfferCount {
  my $self = shift;
  $self->{'BestOfferCount'} = shift
}

sub getBestOfferCount {
  my $self = shift;
  return $self->{'BestOfferCount'};
}


sub setBiddingCount {
  my $self = shift;
  $self->{'BiddingCount'} = shift
}

sub getBiddingCount {
  my $self = shift;
  return $self->{'BiddingCount'};
}


sub setTotalWinningCost {
  my $self = shift;
  $self->{'TotalWinningCost'} = shift
}

sub getTotalWinningCost {
  my $self = shift;
  return $self->_getDataTypeInstance( 'TotalWinningCost'
		,'eBay::API::XML::DataType::AmountType');
}


sub setTotalWonCost {
  my $self = shift;
  $self->{'TotalWonCost'} = shift
}

sub getTotalWonCost {
  my $self = shift;
  return $self->_getDataTypeInstance( 'TotalWonCost'
		,'eBay::API::XML::DataType::AmountType');
}


sub setWinningCount {
  my $self = shift;
  $self->{'WinningCount'} = shift
}

sub getWinningCount {
  my $self = shift;
  return $self->{'WinningCount'};
}


sub setWonCount {
  my $self = shift;
  $self->{'WonCount'} = shift
}

sub getWonCount {
  my $self = shift;
  return $self->{'WonCount'};
}


sub setWonDurationInDays {
  my $self = shift;
  $self->{'WonDurationInDays'} = shift
}

sub getWonDurationInDays {
  my $self = shift;
  return $self->{'WonDurationInDays'};
}





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

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



1;