eBay::API::XML::Call::GetCategory2CS::GetCategory2CSRequestType - eBay::API::XML::Call::GetCategory2CS::GetCategory2CSRequestType documentation


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

Index


Code Index:

NAME

Top

eBay::API::XML::Call::GetCategory2CS::GetCategory2CSRequestType

DESCRIPTION

Top

Retrieves mappings between categories and characteristics sets that are available for an eBay site. Retrieves all mappings or just those that match category IDs passed in the call.

SYNOPSIS

Top

INHERITANCE

Top

eBay::API::XML::Call::GetCategory2CS::GetCategory2CSRequestType inherits from the eBay::API::XML::RequestDataType class

Subroutines:

Top

setAttributeSystemVersion()

A version of the mappings for the site. Typically, an application passes the version value that was returned the last time the application executed this call. Filter that causes the call to return only the categories for which the mappings have changed since the specified version. If not specified, all category-to-characteristics set mappings are returned. This value changes each time changes are made to the mappings. The current version value is not necessarily greater than the previous value. Therefore, when comparing versions, only compare whether the value has changed.

SeeLink: URL: http://developer.ebay.com/DevZone/XML/docs/WebHelp/index.htm?context=eBay_XML_API&topic=AttrGC2CS Title: Retrieving Category-to-Meta-Data Mappings

  RequiredInput: No
#    Argument: 'xs:string'

getAttributeSystemVersion()

# Returns: 'xs:string'

setCategoryID()

ID of a category for which to retrieve mappings. If not specified, the call retrieves a map for all categories.

MaxLength: 10

  RequiredInput: No
#    Argument: 'xs:string'

getCategoryID()

# Returns: 'xs:string'


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

package eBay::API::XML::Call::GetCategory2CS::GetCategory2CSRequestType;

use strict;
use warnings;  

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



my @gaProperties = ( [ 'AttributeSystemVersion', 'xs:string', '', '', '' ]
	, [ 'CategoryID', 'xs:string', '', '', '' ]
                    );
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 setAttributeSystemVersion {
  my $self = shift;
  $self->{'AttributeSystemVersion'} = shift
}

sub getAttributeSystemVersion {
  my $self = shift;
  return $self->{'AttributeSystemVersion'};
}


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

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





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

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



1;