| eBay-API documentation | Contained in the eBay-API distribution. |
eBay::API::XML::Call::GetDescriptionTemplates::GetDescriptionTemplatesRequestType
Request for DescriptionTemplates.
eBay::API::XML::Call::GetDescriptionTemplates::GetDescriptionTemplatesRequestType inherits from the eBay::API::XML::RequestDataType class
The category for which to retrieve templates. Enter any category ID, including Motors vehicle categories. This is ignored if you also send MotorVehicles.
MaxLength: 10
RequiredInput: No # Argument: 'xs:string'
# Returns: 'xs:string'
If specified, only those templates modified on or after the specified date are returned. If not specified, all templates are returned.
RequiredInput: No # Argument: 'xs:dateTime'
# Returns: 'xs:dateTime'
Indicates whether to retrieve templates for motor vehicle categories for eBay Motors (site 100). If true, templates are returned for motor vehicle categories. If false, templates are returned for non-motor vehicle categories such as Parts and Accessories. If included as an input field (whether true or false), this overrides any value provided for CategoryID.
RequiredInput: No # Argument: 'xs:boolean'
# Returns: 'xs:boolean'
| eBay-API documentation | Contained in the eBay-API distribution. |
#!/usr/bin/perl package eBay::API::XML::Call::GetDescriptionTemplates::GetDescriptionTemplatesRequestType; use strict; use warnings; ########################################################################## # # Module: ............... <user defined location>eBay/API/XML # File: ................. GetDescriptionTemplatesRequestType.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 = ( [ 'CategoryID', 'xs:string', '', '', '' ] , [ 'LastModifiedTime', 'xs:dateTime', '', '', '' ] , [ 'MotorVehicles', 'xs:boolean', '', '', '' ] ); 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 setCategoryID { my $self = shift; $self->{'CategoryID'} = shift }
sub getCategoryID { my $self = shift; return $self->{'CategoryID'}; }
sub setLastModifiedTime { my $self = shift; $self->{'LastModifiedTime'} = shift }
sub getLastModifiedTime { my $self = shift; return $self->{'LastModifiedTime'}; }
sub setMotorVehicles { my $self = shift; $self->{'MotorVehicles'} = shift }
sub isMotorVehicles { my $self = shift; return $self->{'MotorVehicles'}; } ## Attribute and Property lists sub getPropertiesList { my $self = shift; return \@gaProperties; } sub getAttributesList { my $self = shift; return \@gaAttributes; } 1;