| eBay-API documentation | Contained in the eBay-API distribution. |
eBay::API::XML::DataType::CategoryMappingType
Mapping between an old category ID and an active category ID.
eBay::API::XML::DataType::CategoryMappingType inherits from the eBay::API::XML::BaseDataType class
Identifier for an active category. Unique for the site. These IDs correspond to the current IDs in the category hierarchy (returned from GetCategories and related calls). Multiple mappings can specify the same active category ID, because different old IDs can be mapped to the same active category. See "Mapping Categories on the Client Side" in the eBay Web Services guide. In GetCategoryMappings, this is always returned when CategoryMapping is returned.
# Argument: 'xs:string'
Calls: GetCategoryMappings Returned: Conditionally
# Returns: 'xs:string'
Identifier for an old category that has been combined with an active category. Unique for the site. These IDs correspond to older category IDs that calls like GetCategories have returned in the past. In GetCategoryMappings, this is always returned when CategoryMapping is returned.
# Argument: 'xs:string'
Calls: GetCategoryMappings Returned: Conditionally
# Returns: 'xs:string'
| eBay-API documentation | Contained in the eBay-API distribution. |
#!/usr/bin/perl package eBay::API::XML::DataType::CategoryMappingType; use strict; use warnings; ########################################################################## # # Module: ............... <user defined location>eBay/API/XML # File: ................. CategoryMappingType.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"); my @gaProperties = ( ); push @gaProperties, @{eBay::API::XML::BaseDataType::getPropertiesList()}; my @gaAttributes = ( [ 'id', 'xs:string', '', '', '' ] , [ 'oldID', 'xs:string', '', '', '' ] ); 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 setId { my $self = shift; $self->{'id'} = shift }
sub getId { my $self = shift; return $self->{'id'}; }
sub setOldID { my $self = shift; $self->{'oldID'} = shift }
sub getOldID { my $self = shift; return $self->{'oldID'}; } ## Attribute and Property lists sub getPropertiesList { my $self = shift; return \@gaProperties; } sub getAttributesList { my $self = shift; return \@gaAttributes; } 1;