| eBay-API documentation | Contained in the eBay-API distribution. |
eBay::API::XML::Call::AddToItemDescription::AddToItemDescriptionRequestType
Appends a horizontal rule, then a message about what time the addition was made by the seller, and then the seller-specified text.
eBay::API::XML::Call::AddToItemDescription::AddToItemDescriptionRequestType inherits from the eBay::API::XML::RequestDataType class
Specifies the text to append to the end of the listings description. Text appended to a listing's description must abide by the rules applicable to this data (such as no JavaScript) as is the case when first listing the item.
RequiredInput: Yes # Argument: 'xs:string'
# Returns: 'xs:string'
Unique item ID that identifies the target item listing, the description of which is appended with the text specified in Description.
MaxLength: 19 (Note: The eBay database specifies 38. Currently, Item IDs are usually 9 to 12 digits)
RequiredInput: Yes # Argument: 'ns:ItemIDType'
# Returns: 'ns:ItemIDType'
| eBay-API documentation | Contained in the eBay-API distribution. |
#!/usr/bin/perl package eBay::API::XML::Call::AddToItemDescription::AddToItemDescriptionRequestType; use strict; use warnings; ########################################################################## # # Module: ............... <user defined location>eBay/API/XML # File: ................. AddToItemDescriptionRequestType.pm # Generated by: ......... genEBayApiDataTypes.pl # Last Generated: ....... 08/24/2008 16:44 # API Release Number: ... 579 # ##########################################################################
use eBay::API::XML::RequestDataType; our @ISA = ("eBay::API::XML::RequestDataType"); use eBay::API::XML::DataType::ItemIDType; my @gaProperties = ( [ 'Description', 'xs:string', '', '', '' ] , [ 'ItemID', 'ns:ItemIDType', '' ,'eBay::API::XML::DataType::ItemIDType', '1' ] ); push @gaProperties, @{eBay::API::XML::RequestDataType::getPropertiesList()}; my @gaAttributes = ( ); push @gaAttributes, @{eBay::API::XML::RequestDataType::getAttributesList()};
sub new { my $classname = shift; my %args = @_; my $self = $classname->SUPER::new(%args); return $self; } sub isScalar { return 0; }
sub setDescription { my $self = shift; $self->{'Description'} = shift }
sub getDescription { my $self = shift; return $self->{'Description'}; }
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;