eBay::API::XML::DataType::LookupAttributeArrayType - eBay::API::XML::DataType::LookupAttributeArrayType documentation


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

Index


Code Index:

NAME

Top

eBay::API::XML::DataType::LookupAttributeArrayType

DESCRIPTION

Top

Only valid when using AddItem for items in Media categories (Books, DVD and Movies, Music, and Video Game categories). You can pass either AttributeSetArrayType or LookupAttributeArrayType, but you cannot pass both containers in the same request. See the eBay Web Services guide for additional information.

SYNOPSIS

Top

INHERITANCE

Top

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

Subroutines:

Top

setLookupAttribute()

The condition of the item.

  Calls: AddItem
         GetItemRecommendations
         RelistItem
         VerifyAddItem
  RequiredInput: No

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

getLookupAttribute()

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


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

package eBay::API::XML::DataType::LookupAttributeArrayType;

use strict;
use warnings;  

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


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

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





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

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



1;