eBay::API::XML::Call::ReviseLiveAuctionItem::ReviseLiveAuctionItemResponseType - eBay::API::XML::Call::ReviseLiveAuctionItem::ReviseLiveAuctionItemResponseType documentation


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

Index


Code Index:

NAME

Top

eBay::API::XML::Call::ReviseLiveAuctionItem::ReviseLiveAuctionItemResponseType

DESCRIPTION

Top

Returns the item ID and the estimated fees for the revised listing.

SYNOPSIS

Top

INHERITANCE

Top

eBay::API::XML::Call::ReviseLiveAuctionItem::ReviseLiveAuctionItemResponseType inherits from the eBay::API::XML::ResponseDataType class

Subroutines:

Top

setCategory2ID()

ID of the secondary category in which the item was listed. Only returned if you set Item.CategoryMappingAllowed to true in the request and the ID passed in Item.SecondaryCategory was mapped to a new ID by eBay. If the secondary category has not changed or it has expired with no replacement, Category2ID does not return a value.

MaxLength: 10

# Argument: 'xs:string'

getCategory2ID()

  Returned: Conditionally
#    Returns: 'xs:string'

setCategoryID()

ID of the primary category in which the item was listed. Only returned if you set Item.CategoryMappingAllowed to true in the request and the ID passed in Item.PrimaryCategory was mapped to a new ID by eBay. If the primary category has not changed or it has expired with no replacement, CategoryID does not return a value.

MaxLength: 10

# Argument: 'xs:string'

getCategoryID()

  Returned: Conditionally
#    Returns: 'xs:string'

setFees()

Child elements contain the estimated listing fees for the revised item listing. The fees do not include the Final Value Fee (FVF), which cannot be determined until an item is sold. Revising an item does not itself incur a fee. However, certain item properties are fee-based and result in the return of fees in the call's response.

# Argument: 'ns:FeesType'

getFees()

  Returned: Always
#    Returns: 'ns:FeesType'

setItemID()

Item ID that uniquely identifies the item listing that was revised. Provided for confirmation purposes. The value returned should be the same as the item ID specified in the ItemID property of the Item object specified as input for the call.

MaxLength: 19 (Note: The eBay database specifies 38. Currently, Item IDs are usually 9 to 12 digits)

# Argument: 'ns:ItemIDType'

getItemID()

  Returned: Always
#    Returns: 'ns:ItemIDType'


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

package eBay::API::XML::Call::ReviseLiveAuctionItem::ReviseLiveAuctionItemResponseType;

use strict;
use warnings;  

##########################################################################
#
# Module: ............... <user defined location>eBay/API/XML
# File: ................. ReviseLiveAuctionItemResponseType.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::FeesType;
use eBay::API::XML::DataType::ItemIDType;


my @gaProperties = ( [ 'Category2ID', 'xs:string', '', '', '' ]
	, [ 'CategoryID', 'xs:string', '', '', '' ]
	, [ 'Fees', 'ns:FeesType', ''
	     ,'eBay::API::XML::DataType::FeesType', '1' ]
	, [ 'ItemID', 'ns:ItemIDType', ''
	     ,'eBay::API::XML::DataType::ItemIDType', '1' ]
                    );
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 setCategory2ID {
  my $self = shift;
  $self->{'Category2ID'} = shift
}

sub getCategory2ID {
  my $self = shift;
  return $self->{'Category2ID'};
}


sub setCategoryID {
  my $self = shift;
  $self->{'CategoryID'} = shift
}

sub getCategoryID {
  my $self = shift;
  return $self->{'CategoryID'};
}


sub setFees {
  my $self = shift;
  $self->{'Fees'} = shift
}

sub getFees {
  my $self = shift;
  return $self->_getDataTypeInstance( 'Fees'
		,'eBay::API::XML::DataType::FeesType');
}


sub setItemID {
  my $self = shift;
  $self->{'ItemID'} = shift
}

sub getItemID {
  my $self = shift;
  return $self->_getDataTypeInstance( 'ItemID'
		,'eBay::API::XML::DataType::ItemIDType');
}





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

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



1;