eBay::API::XML::DataType::ItemTotalsType - eBay::API::XML::DataType::ItemTotalsType documentation


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

Index


Code Index:

NAME

Top

eBay::API::XML::DataType::ItemTotalsType

DESCRIPTION

Top

Details about items involved in the summary for the specified time period.

SYNOPSIS

Top

INHERITANCE

Top

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

Subroutines:

Top

setTotalQuantity()

Number of items involved in the summary.

# Argument: 'xs:long'

getTotalQuantity()

# Returns: 'xs:long'

setTotalValue()

Total value associated with the items in this summary.

# Argument: 'ns:AmountType'

getTotalValue()

# Returns: 'ns:AmountType'


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

package eBay::API::XML::DataType::ItemTotalsType;

use strict;
use warnings;  

##########################################################################
#
# Module: ............... <user defined location>eBay/API/XML
# File: ................. ItemTotalsType.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 = ( [ 'TotalQuantity', 'xs:long', '', '', '' ]
	, [ 'TotalValue', 'ns:AmountType', ''
	     ,'eBay::API::XML::DataType::AmountType', '1' ]
                    );
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 setTotalQuantity {
  my $self = shift;
  $self->{'TotalQuantity'} = shift
}

sub getTotalQuantity {
  my $self = shift;
  return $self->{'TotalQuantity'};
}


sub setTotalValue {
  my $self = shift;
  $self->{'TotalValue'} = shift
}

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





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

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



1;