eBay::API::XML::Call::GetAdFormatLeads::GetAdFormatLeadsResponseType - eBay::API::XML::Call::GetAdFormatLeads::GetAdFormatLeadsResponseType documentation


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

Index


Code Index:

NAME

Top

eBay::API::XML::Call::GetAdFormatLeads::GetAdFormatLeadsResponseType

DESCRIPTION

Top

Returns number of leads and contact and other information for each lead. One AdFormatLead node is returned for each lead.

SYNOPSIS

Top

INHERITANCE

Top

eBay::API::XML::Call::GetAdFormatLeads::GetAdFormatLeadsResponseType inherits from the eBay::API::XML::ResponseDataType class

Subroutines:

Top

setAdFormatLead()

Contains contact and other information for one lead. One node is returned for each lead. Only returned at a detail level of ReturnAll. At least one lead must be available for the specified item to return AdFormatLead.

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

getAdFormatLead()

  Returned: Conditionally
  Details: DetailLevel: ReturnAll
#    Returns: reference to an array  
                      of 'ns:AdFormatLeadType'

setAdFormatLeadCount()

The total number of leads returned. Only returned if you do not specify a detail level.

# Argument: 'xs:int'

getAdFormatLeadCount()

  Returned: Conditionally
  Details: DetailLevel: none
#    Returns: 'xs:int'


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

package eBay::API::XML::Call::GetAdFormatLeads::GetAdFormatLeadsResponseType;

use strict;
use warnings;  

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

use eBay::API::XML::DataType::AdFormatLeadType;


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

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


sub setAdFormatLeadCount {
  my $self = shift;
  $self->{'AdFormatLeadCount'} = shift
}

sub getAdFormatLeadCount {
  my $self = shift;
  return $self->{'AdFormatLeadCount'};
}





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

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



1;