| eBay-API documentation | Contained in the eBay-API distribution. |
eBay::API::XML::DataType::ItemTransactionIDType
A container for item and transaction IDs.
eBay::API::XML::DataType::ItemTransactionIDType inherits from the eBay::API::XML::BaseDataType class
The ID of an item.
MaxLength: 19 (Note: The eBay database specifies 38. Currently, Item IDs are usually 9 to 12 digits)
Calls: GetOrderTransactions RequiredInput: Conditionally
# Argument: 'ns:ItemIDType'
# Returns: 'ns:ItemIDType'
The ID of a transaction.
MaxLength: 19 (Note: The eBay database specifies 38. Currently, transaction IDs are usually 9 to 12 digits.)
Calls: GetOrderTransactions RequiredInput: Conditionally
# Argument: 'xs:string'
# Returns: 'xs:string'
| eBay-API documentation | Contained in the eBay-API distribution. |
#!/usr/bin/perl package eBay::API::XML::DataType::ItemTransactionIDType; use strict; use warnings; ########################################################################## # # Module: ............... <user defined location>eBay/API/XML # File: ................. ItemTransactionIDType.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::ItemIDType; my @gaProperties = ( [ 'ItemID', 'ns:ItemIDType', '' ,'eBay::API::XML::DataType::ItemIDType', '1' ] , [ 'TransactionID', '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 setItemID { my $self = shift; $self->{'ItemID'} = shift }
sub getItemID { my $self = shift; return $self->_getDataTypeInstance( 'ItemID' ,'eBay::API::XML::DataType::ItemIDType'); }
sub setTransactionID { my $self = shift; $self->{'TransactionID'} = shift }
sub getTransactionID { my $self = shift; return $self->{'TransactionID'}; } ## Attribute and Property lists sub getPropertiesList { my $self = shift; return \@gaProperties; } sub getAttributesList { my $self = shift; return \@gaAttributes; } 1;