eBay::API::XML::Call::GetDescriptionTemplates::GetDescriptionTemplatesRequestType - eBay::API::XML::Call::GetDescriptionTemplates::GetDescriptionTemplatesRequestType documentation


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

Index


Code Index:

NAME

Top

eBay::API::XML::Call::GetDescriptionTemplates::GetDescriptionTemplatesRequestType

DESCRIPTION

Top

Request for DescriptionTemplates.

SYNOPSIS

Top

INHERITANCE

Top

eBay::API::XML::Call::GetDescriptionTemplates::GetDescriptionTemplatesRequestType inherits from the eBay::API::XML::RequestDataType class

Subroutines:

Top

setCategoryID()

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'

getCategoryID()

# Returns: 'xs:string'

setLastModifiedTime()

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'

getLastModifiedTime()

# Returns: 'xs:dateTime'

setMotorVehicles()

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'

isMotorVehicles()

# 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;