| eBay-API documentation | Contained in the eBay-API distribution. |
eBay::API::XML::DataType::ListingDurationReferenceType
Identifies the type of listing as an attribute on the ListingDuration node.
eBay::API::XML::DataType::ListingDurationReferenceType inherits from the eBay::API::XML::BaseDataType class
# Argument: 'xs:int'
# Returns: 'xs:int'
The type of listing a set of durations describes.
# Argument: 'ns:ListingTypeCodeType'
Calls: GetCategoryFeatures Returned: Conditionally AllValuesExcept: Unknown, Auction, Half Details: DetailLevel: ReturnAll
# Returns: 'ns:ListingTypeCodeType'
| eBay-API documentation | Contained in the eBay-API distribution. |
#!/usr/bin/perl package eBay::API::XML::DataType::ListingDurationReferenceType; use strict; use warnings; ########################################################################## # # Module: ............... <user defined location>eBay/API/XML # File: ................. ListingDurationReferenceType.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::Enum::ListingTypeCodeType; my @gaProperties = ( [ 'content', 'xs:int', '', '', '' ] ); push @gaProperties, @{eBay::API::XML::BaseDataType::getPropertiesList()}; my @gaAttributes = ( [ 'type', 'ns:ListingTypeCodeType', '' ,'eBay::API::XML::DataType::Enum::ListingTypeCodeType', '' ] ); 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 setValue { my $self = shift; $self->{'content'} = shift }
sub getValue { my $self = shift; return $self->{'content'}; }
sub setType { my $self = shift; $self->{'type'} = shift }
sub getType { my $self = shift; return $self->{'type'}; } ## Attribute and Property lists sub getPropertiesList { my $self = shift; return \@gaProperties; } sub getAttributesList { my $self = shift; return \@gaAttributes; } 1;