eBay::API::XML::DataType::SellingManagerProductDetailsType - eBay::API::XML::DataType::SellingManagerProductDetailsType documentation


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

Index


Code Index:

NAME

Top

eBay::API::XML::DataType::SellingManagerProductDetailsType

DESCRIPTION

Top

Returned if the user is a Selling Manager Pro user.

SYNOPSIS

Top

INHERITANCE

Top

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

Subroutines:

Top

setCustomLabel()

Custom label of this product.

# Argument: 'xs:string'

getCustomLabel()

# Returns: 'xs:string'

setPartNumber()

The numeric part number of an item.

# Argument: 'xs:int'

getPartNumber()

  Calls: GetItemTransactions
         GetSellerTransactions
  Returned: Conditionally
  Details: DetailLevel: none, ItemReturnDescription, ReturnAll

# Returns: 'xs:int'

setProductID()

ID of this product.

# Argument: 'xs:string'

getProductID()

# Returns: 'xs:string'

setProductName()

The exact product name of an item.

# Argument: 'xs:string'

getProductName()

  Calls: GetItemTransactions
         GetSellerTransactions
  Returned: Conditionally
  Details: DetailLevel: none, ItemReturnDescription, ReturnAll

  Calls: GetOrderTransactions
  Returned: Conditionally
  Details: DetailLevel: none, ItemReturnDescription, ReturnAll

# Returns: 'xs:string'

setProductPartNumber()

The alphanumeric part number of an item.

# Argument: 'xs:string'

getProductPartNumber()

  Calls: GetItemTransactions
         GetSellerTransactions
  Returned: Conditionally
  Details: DetailLevel: none, ItemReturnDescription, ReturnAll

# Returns: 'xs:string'

setQuantityAvailable()

Quantity of items in the inventory for this product.

# Argument: 'xs:int'

getQuantityAvailable()

# Returns: 'xs:int'

setUnitCost()

Cost of each item of this product.

# Argument: 'ns:AmountType'

getUnitCost()

# Returns: 'ns:AmountType'


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

package eBay::API::XML::DataType::SellingManagerProductDetailsType;

use strict;
use warnings;  

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


my @gaProperties = ( [ 'CustomLabel', 'xs:string', '', '', '' ]
	, [ 'PartNumber', 'xs:int', '', '', '' ]
	, [ 'ProductID', 'xs:string', '', '', '' ]
	, [ 'ProductName', 'xs:string', '', '', '' ]
	, [ 'ProductPartNumber', 'xs:string', '', '', '' ]
	, [ 'QuantityAvailable', 'xs:int', '', '', '' ]
	, [ 'UnitCost', 'ns:AmountType', ''
	     ,'eBay::API::XML::DataType::AmountType', '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 setCustomLabel {
  my $self = shift;
  $self->{'CustomLabel'} = shift
}

sub getCustomLabel {
  my $self = shift;
  return $self->{'CustomLabel'};
}


sub setPartNumber {
  my $self = shift;
  $self->{'PartNumber'} = shift
}

sub getPartNumber {
  my $self = shift;
  return $self->{'PartNumber'};
}


sub setProductID {
  my $self = shift;
  $self->{'ProductID'} = shift
}

sub getProductID {
  my $self = shift;
  return $self->{'ProductID'};
}


sub setProductName {
  my $self = shift;
  $self->{'ProductName'} = shift
}

sub getProductName {
  my $self = shift;
  return $self->{'ProductName'};
}


sub setProductPartNumber {
  my $self = shift;
  $self->{'ProductPartNumber'} = shift
}

sub getProductPartNumber {
  my $self = shift;
  return $self->{'ProductPartNumber'};
}


sub setQuantityAvailable {
  my $self = shift;
  $self->{'QuantityAvailable'} = shift
}

sub getQuantityAvailable {
  my $self = shift;
  return $self->{'QuantityAvailable'};
}


sub setUnitCost {
  my $self = shift;
  $self->{'UnitCost'} = shift
}

sub getUnitCost {
  my $self = shift;
  return $self->_getDataTypeInstance( 'UnitCost'
		,'eBay::API::XML::DataType::AmountType');
}





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

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



1;