eBay::API::XML::DataType::XMLRequesterCredentialsType - eBay::API::XML::DataType::XMLRequesterCredentialsType documentation


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

Index


Code Index:

NAME

Top

eBay::API::XML::DataType::XMLRequesterCredentialsType

DESCRIPTION

Top

SYNOPSIS

Top

INHERITANCE

Top

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

Subroutines:

Top

setPassword()

Password for the user specified in Username.

# Argument: 'xs:string'

getPassword()

# Returns: 'xs:string'

setUsername()

eBay user ID (i.e., eBay.com Web site login name) for the user the application is retrieving a token for. This is typically the application's end-user (not the developer).

MaxLength: 64

  Calls: FetchToken
  RequiredInput: Yes

# Argument: 'xs:string'

getUsername()

# Returns: 'xs:string'

setEBayAuthToken()

Authentication token representing the user who is making the request. The user's token must be retrieved from eBay. To determine a user's authentication token, see the Authentication and Authorization information in the eBay Web Services guide. For calls that list or retrieve item or transaction data, the user usually needs to be the seller of the item in question or, in some cases, the buyer. Similarly, calls that retrieve user or account data may be restricted to the user whose data is being requested. The documentation for each call includes information about such restrictions.

SeeLink: URL: http://developer.ebay.com/DevZone/XML/docs/WebHelp/index.htm?context=eBay_XML_API&topic=AuthNAuth Title: Authentication & Authorization MaxLength: 2000

  Calls:   RequiredInput: Yes
  AllCallsExcept: FetchToken

# Argument: 'xs:string'

getEBayAuthToken()

# Returns: 'xs:string'


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

package eBay::API::XML::DataType::XMLRequesterCredentialsType;

use strict;
use warnings;  

##########################################################################
#
# Module: ............... <user defined location>eBay/API/XML
# File: ................. XMLRequesterCredentialsType.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 = ( [ 'Password', 'xs:string', '', '', '' ]
	, [ 'Username', 'xs:string', '', '', '' ]
	, [ 'eBayAuthToken', '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 setPassword {
  my $self = shift;
  $self->{'Password'} = shift
}

sub getPassword {
  my $self = shift;
  return $self->{'Password'};
}


sub setUsername {
  my $self = shift;
  $self->{'Username'} = shift
}

sub getUsername {
  my $self = shift;
  return $self->{'Username'};
}


sub setEBayAuthToken {
  my $self = shift;
  $self->{'eBayAuthToken'} = shift
}

sub getEBayAuthToken {
  my $self = shift;
  return $self->{'eBayAuthToken'};
}





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

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



1;