eBay::API::XML::DataType::URLDetailsType - eBay::API::XML::DataType::URLDetailsType documentation


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

Index


Code Index:

NAME

Top

eBay::API::XML::DataType::URLDetailsType

DESCRIPTION

Top

Details about a specific eBay URL.

SYNOPSIS

Top

INHERITANCE

Top

eBay::API::XML::DataType::URLDetailsType inherits from the eBay::API::XML::BaseDataType class

Subroutines:

Top

setURL()

A commonly used eBay URL. Applications use some of these URLs (such as the View Item URL) to launch eBay Web site pages in a browser.<br><br> Logo URLs are required to be used in certain types of applications. See your API license agreement. Also see this page for logo usage rules:<br> http://developer.ebay.com/join/licenses/apilogousage

# Argument: 'xs:anyURI'

getURL()

  Calls: GeteBayDetails
  Returned: Conditionally

# Returns: 'xs:anyURI'

setURLType()

A compressed, representative title for the eBay URL.

# Argument: 'ns:URLTypeCodeType'

getURLType()

  Calls: GeteBayDetails
  Returned: Conditionally

# Returns: 'ns:URLTypeCodeType'


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

package eBay::API::XML::DataType::URLDetailsType;

use strict;
use warnings;  

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


my @gaProperties = ( [ 'URL', 'xs:anyURI', '', '', '' ]
	, [ 'URLType', 'ns:URLTypeCodeType', ''
	     ,'eBay::API::XML::DataType::Enum::URLTypeCodeType', '' ]
                    );
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 setURL {
  my $self = shift;
  $self->{'URL'} = shift
}

sub getURL {
  my $self = shift;
  return $self->{'URL'};
}


sub setURLType {
  my $self = shift;
  $self->{'URLType'} = shift
}

sub getURLType {
  my $self = shift;
  return $self->{'URLType'};
}





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

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



1;