eBay::API::XML::DataType::LookupAttributeType - eBay::API::XML::DataType::LookupAttributeType documentation


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

Index


Code Index:

NAME

Top

eBay::API::XML::DataType::LookupAttributeType

DESCRIPTION

Top

An optional attribute that the seller wants to include in the listing. Enables you to specify an attribute by name rather than by ID. Only valid in Media categories (Books, DVD and Movies, Music, and Video Game categories). Currently, only the Condition attribute is supported.

SYNOPSIS

Top

INHERITANCE

Top

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

Subroutines:

Top

setName()

The literal name of the attribute. Pass "Condition" (without quotes). Not applicable to Half.com.

  Calls: AddItem
         GetItemRecommendations
         RelistItem
         VerifyAddItem
  RequiredInput: No

# Argument: 'xs:string'

getName()

# Returns: 'xs:string'

setValue()

HASH(0x42b3120) The literal name of the attribute value. Pass "New" or "Used" (without quotes). Not applicable to Half.com.<br> <br>

  Calls: AddItem
         GetItemRecommendations
         RelistItem
         VerifyAddItem
  RequiredInput: No

# Argument: 'xs:string'

getValue()

# Returns: 'xs:string'


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

package eBay::API::XML::DataType::LookupAttributeType;

use strict;
use warnings;  

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



my @gaProperties = ( [ 'Name', 'xs:string', '', '', '' ]
	, [ 'Value', 'xs:string', '', '', '' ]
                    );
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 setName {
  my $self = shift;
  $self->{'Name'} = shift
}

sub getName {
  my $self = shift;
  return $self->{'Name'};
}


sub setValue {
  my $self = shift;
  $self->{'Value'} = shift
}

sub getValue {
  my $self = shift;
  return $self->{'Value'};
}





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

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



1;