eBay::API::XML::Call::FetchToken::FetchTokenResponseType - eBay::API::XML::Call::FetchToken::FetchTokenResponseType documentation


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

Index


Code Index:

NAME

Top

eBay::API::XML::Call::FetchToken::FetchTokenResponseType

DESCRIPTION

Top

Includes the authentication token for the user and the date it expires.

SYNOPSIS

Top

INHERITANCE

Top

eBay::API::XML::Call::FetchToken::FetchTokenResponseType inherits from the eBay::API::XML::ResponseDataType class

Subroutines:

Top

setHardExpirationTime()

Date and time at which the token returned in eBayAuthToken expires and can no longer be used to authenticate the user for that application.

# Argument: 'xs:dateTime'

getHardExpirationTime()

  Returned: Always
#    Returns: 'xs:dateTime'

setRESTToken()

The REST authentication token for the user.

# Argument: 'xs:string'

getRESTToken()

  Returned: Conditionally
#    Returns: 'xs:string'

setEBayAuthToken()

The authentication token for the user.

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

# Argument: 'xs:string'

getEBayAuthToken()

  Returned: Always
#    Returns: 'xs:string'


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

package eBay::API::XML::Call::FetchToken::FetchTokenResponseType;

use strict;
use warnings;  

##########################################################################
#
# Module: ............... <user defined location>eBay/API/XML
# File: ................. FetchTokenResponseType.pm
# Generated by: ......... genEBayApiDataTypes.pl
# Last Generated: ....... 08/24/2008 16:44
# API Release Number: ... 579
#
##########################################################################  

use eBay::API::XML::ResponseDataType;
our @ISA = ("eBay::API::XML::ResponseDataType");



my @gaProperties = ( [ 'HardExpirationTime', 'xs:dateTime', '', '', '' ]
	, [ 'RESTToken', 'xs:string', '', '', '' ]
	, [ 'eBayAuthToken', 'xs:string', '', '', '' ]
                    );
push @gaProperties, @{eBay::API::XML::ResponseDataType::getPropertiesList()};

my @gaAttributes = ( 
                    );
push @gaAttributes, @{eBay::API::XML::ResponseDataType::getAttributesList()};

sub new {
  my $classname = shift;
  my %args = @_;
  my $self = $classname->SUPER::new(%args);
  return $self;
}

sub isScalar {
   return 0; 
}



sub setHardExpirationTime {
  my $self = shift;
  $self->{'HardExpirationTime'} = shift
}

sub getHardExpirationTime {
  my $self = shift;
  return $self->{'HardExpirationTime'};
}


sub setRESTToken {
  my $self = shift;
  $self->{'RESTToken'} = shift
}

sub getRESTToken {
  my $self = shift;
  return $self->{'RESTToken'};
}


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;