File Coverage

lib/eBay/API/XML/Call/GetSessionID/GetSessionIDRequestType.pm
Criterion Covered Total %
statement 7 9 77.7
branch n/a
condition n/a
subroutine 3 3 100.0
pod n/a
total 10 12 83.3


line stmt bran cond sub pod time code
1             #!/usr/bin/perl
2              
3             package eBay::API::XML::Call::GetSessionID::GetSessionIDRequestType;
4              
5 1     1   1534 use strict;
  1         2  
  1         31  
6 1     1   4 use warnings;
  1         2  
  1         28  
7              
8             ##########################################################################
9             #
10             # Module: ............... eBay/API/XML
11             # File: ................. GetSessionIDRequestType.pm
12             # Generated by: ......... genEBayApiDataTypes.pl
13             # Last Generated: ....... 08/24/2008 16:44
14             # API Release Number: ... 579
15             #
16             ##########################################################################
17              
18             =head1 NAME
19              
20             eBay::API::XML::Call::GetSessionID::GetSessionIDRequestType
21              
22             =head1 DESCRIPTION
23              
24             Request for a SessionID, which is a unique identifier for authenticating data entry during the process that creates a user token.
25              
26              
27              
28             =head1 SYNOPSIS
29              
30             =cut
31              
32              
33             =head1 INHERITANCE
34              
35             eBay::API::XML::Call::GetSessionID::GetSessionIDRequestType inherits from the L class
36              
37             =cut
38              
39 1     1   34 use eBay::API::XML::RequestDataType;
  0            
  0            
40             our @ISA = ("eBay::API::XML::RequestDataType");
41              
42              
43              
44             my @gaProperties = ( [ 'RuName', 'xs:string', '', '', '' ]
45             );
46             push @gaProperties, @{eBay::API::XML::RequestDataType::getPropertiesList()};
47              
48             my @gaAttributes = (
49             );
50             push @gaAttributes, @{eBay::API::XML::RequestDataType::getAttributesList()};
51              
52             =head1 Subroutines:
53              
54             =cut
55              
56             sub new {
57             my $classname = shift;
58             my %args = @_;
59             my $self = $classname->SUPER::new(%args);
60             return $self;
61             }
62              
63             sub isScalar {
64             return 0;
65             }
66              
67              
68              
69             =head2 setRuName()
70              
71             The runame provided must match the one that will be used for validation
72             during the creation of a user token.
73              
74             RequiredInput: Yes
75             # Argument: 'xs:string'
76              
77             =cut
78              
79             sub setRuName {
80             my $self = shift;
81             $self->{'RuName'} = shift
82             }
83              
84             =head2 getRuName()
85              
86             # Returns: 'xs:string'
87              
88             =cut
89              
90             sub getRuName {
91             my $self = shift;
92             return $self->{'RuName'};
93             }
94              
95              
96              
97              
98              
99             ## Attribute and Property lists
100             sub getPropertiesList {
101             my $self = shift;
102             return \@gaProperties;
103             }
104              
105             sub getAttributesList {
106             my $self = shift;
107             return \@gaAttributes;
108             }
109              
110              
111              
112             1;