eBay::API::XML::DataType::PromotionalSaleArrayType - eBay::API::XML::DataType::PromotionalSaleArrayType documentation


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

Index


Code Index:

NAME

Top

eBay::API::XML::DataType::PromotionalSaleArrayType

DESCRIPTION

Top

An array of promotional sales.

SYNOPSIS

Top

INHERITANCE

Top

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

Subroutines:

Top

setPromotionalSale()

Contains promotional sale information based on the request. If you did not specify a PromotionalSaleID in the request, then all promotional sales for the seller are returned.

# Argument: reference to an array of 'ns:PromotionalSaleType'

getPromotionalSale()

  Calls: GetPromotionalSaleDetails
  Returned: Conditionally

# Returns: reference to an array of 'ns:PromotionalSaleType'


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

package eBay::API::XML::DataType::PromotionalSaleArrayType;

use strict;
use warnings;  

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


my @gaProperties = ( [ 'PromotionalSale', 'ns:PromotionalSaleType', '1'
	     ,'eBay::API::XML::DataType::PromotionalSaleType', '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 setPromotionalSale {
  my $self = shift;
  $self->{'PromotionalSale'} = 
		$self->convertArray_To_RefToArrayIfNeeded(@_);
}

sub getPromotionalSale {
  my $self = shift;
  return $self->_getDataTypeArray('PromotionalSale');
}





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

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



1;