eBay::API::XML::DataType::WishListEntryType - eBay::API::XML::DataType::WishListEntryType documentation


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

Index


Code Index:

NAME

Top

eBay::API::XML::DataType::WishListEntryType

DESCRIPTION

Top

This type contains details about the product or item a user has added to a wish list.

SYNOPSIS

Top

INHERITANCE

Top

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

Subroutines:

Top

setCreationDate()

Date the item or product was added to the wish list.

# Argument: 'xs:dateTime'

getCreationDate()

# Returns: 'xs:dateTime'

setItem()

Item details, returned if the wish list entry is an item, as opposed to a product.

# Argument: 'ns:ItemType'

getItem()

# Returns: 'ns:ItemType'

setNotes()

Notes the user has entered about the product or item, only returned if notes exist.

# Argument: 'xs:string'

getNotes()

# Returns: 'xs:string'

setProduct()

Product details, returned if the wish list entry is a product, as opposed to an item.

# Argument: 'ns:ExpressProductType'

getProduct()

# Returns: 'ns:ExpressProductType'

setQuantityReceived()

Quantity of the item or product already received by the user.

# Argument: 'xs:int'

getQuantityReceived()

# Returns: 'xs:int'

setQuantityWanted()

User-specified desired quantity of the item or product.

# Argument: 'xs:int'

getQuantityWanted()

# Returns: 'xs:int'


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

package eBay::API::XML::DataType::WishListEntryType;

use strict;
use warnings;  

##########################################################################
#
# Module: ............... <user defined location>eBay/API/XML
# File: ................. WishListEntryType.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::ExpressProductType;
use eBay::API::XML::DataType::ItemType;


my @gaProperties = ( [ 'CreationDate', 'xs:dateTime', '', '', '' ]
	, [ 'Item', 'ns:ItemType', ''
	     ,'eBay::API::XML::DataType::ItemType', '1' ]
	, [ 'Notes', 'xs:string', '', '', '' ]
	, [ 'Product', 'ns:ExpressProductType', ''
	     ,'eBay::API::XML::DataType::ExpressProductType', '1' ]
	, [ 'QuantityReceived', 'xs:int', '', '', '' ]
	, [ 'QuantityWanted', 'xs:int', '', '', '' ]
                    );
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 setCreationDate {
  my $self = shift;
  $self->{'CreationDate'} = shift
}

sub getCreationDate {
  my $self = shift;
  return $self->{'CreationDate'};
}


sub setItem {
  my $self = shift;
  $self->{'Item'} = shift
}

sub getItem {
  my $self = shift;
  return $self->_getDataTypeInstance( 'Item'
		,'eBay::API::XML::DataType::ItemType');
}


sub setNotes {
  my $self = shift;
  $self->{'Notes'} = shift
}

sub getNotes {
  my $self = shift;
  return $self->{'Notes'};
}


sub setProduct {
  my $self = shift;
  $self->{'Product'} = shift
}

sub getProduct {
  my $self = shift;
  return $self->_getDataTypeInstance( 'Product'
		,'eBay::API::XML::DataType::ExpressProductType');
}


sub setQuantityReceived {
  my $self = shift;
  $self->{'QuantityReceived'} = shift
}

sub getQuantityReceived {
  my $self = shift;
  return $self->{'QuantityReceived'};
}


sub setQuantityWanted {
  my $self = shift;
  $self->{'QuantityWanted'} = shift
}

sub getQuantityWanted {
  my $self = shift;
  return $self->{'QuantityWanted'};
}





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

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



1;