| eBay-API documentation | Contained in the eBay-API distribution. |
eBay::API::XML::DataType::LocalSearchType
Contains data for filtering a search by proximity.
eBay::API::XML::DataType::LocalSearchType inherits from the eBay::API::XML::BaseDataType class
The maximum distance from the specified postal code to search for items.
Calls: GetSearchResults
GetCategoryListings
RequiredInput: No
# Argument: 'xs:int'
# Returns: 'xs:int'
The postal code to use as the basis for the proximity search.
Calls: GetSearchResults
GetCategoryListings
RequiredInput: No
# Argument: 'xs:string'
# Returns: 'xs:string'
| eBay-API documentation | Contained in the eBay-API distribution. |
#!/usr/bin/perl package eBay::API::XML::DataType::LocalSearchType; use strict; use warnings; ########################################################################## # # Module: ............... <user defined location>eBay/API/XML # File: ................. LocalSearchType.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 = ( [ 'MaxDistance', 'xs:int', '', '', '' ] , [ 'PostalCode', 'xs:string', '', '', '' ] ); push @gaProperties, @{eBay::API::XML::BaseDataType::getPropertiesList()}; my @gaAttributes = ( ); 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 setMaxDistance { my $self = shift; $self->{'MaxDistance'} = shift }
sub getMaxDistance { my $self = shift; return $self->{'MaxDistance'}; }
sub setPostalCode { my $self = shift; $self->{'PostalCode'} = shift }
sub getPostalCode { my $self = shift; return $self->{'PostalCode'}; } ## Attribute and Property lists sub getPropertiesList { my $self = shift; return \@gaProperties; } sub getAttributesList { my $self = shift; return \@gaAttributes; } 1;