File Coverage

lib/eBay/API/XML/Call/GetRuName/GetRuNameRequestType.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::GetRuName::GetRuNameRequestType;
4              
5 1     1   1395 use strict;
  1         2  
  1         27  
6 1     1   5 use warnings;
  1         1  
  1         27  
7              
8             ##########################################################################
9             #
10             # Module: ............... eBay/API/XML
11             # File: ................. GetRuNameRequestType.pm
12             # Generated by: ......... genEBayApiDataTypes.pl
13             # Last Generated: ....... 07/07/2008 17:42
14             # API Release Number: ... 571
15             #
16             ##########################################################################
17              
18             =head1 NAME
19              
20             eBay::API::XML::Call::GetRuName::GetRuNameRequestType
21              
22             =head1 DESCRIPTION
23              
24             Returns a globally unique runame (unique identifier for an authentication data
25             entry).
26            
27            
28             Unlike most other Trading API calls, this call requires the eBay
29             Username and Password values that you created for use by your applications.
30             (Most Trading API calls, in contrast, require an authentication token.)
31             These values are not described in the
32             current documentation topic. For more information about these values,
33             please use the Setup for Authentication link below.
34              
35              
36              
37             =head1 SYNOPSIS
38              
39             =cut
40              
41              
42             =head1 INHERITANCE
43              
44             eBay::API::XML::Call::GetRuName::GetRuNameRequestType inherits from the L class
45              
46             =cut
47              
48 1     1   31 use eBay::API::XML::RequestDataType;
  0            
  0            
49             our @ISA = ("eBay::API::XML::RequestDataType");
50              
51              
52              
53             my @gaProperties = ( [ 'ClientUseCase', 'xs:string', '', '', '' ]
54             );
55             push @gaProperties, @{eBay::API::XML::RequestDataType::getPropertiesList()};
56              
57             my @gaAttributes = (
58             );
59             push @gaAttributes, @{eBay::API::XML::RequestDataType::getAttributesList()};
60              
61             =head1 Subroutines:
62              
63             =cut
64              
65             sub new {
66             my $classname = shift;
67             my %args = @_;
68             my $self = $classname->SUPER::new(%args);
69             return $self;
70             }
71              
72             sub isScalar {
73             return 0;
74             }
75              
76              
77              
78             =head2 setClientUseCase()
79              
80             Optional value that is appended to the generated runame.
81              
82             RequiredInput: No
83             # Argument: 'xs:string'
84              
85             =cut
86              
87             sub setClientUseCase {
88             my $self = shift;
89             $self->{'ClientUseCase'} = shift
90             }
91              
92             =head2 getClientUseCase()
93              
94             # Returns: 'xs:string'
95              
96             =cut
97              
98             sub getClientUseCase {
99             my $self = shift;
100             return $self->{'ClientUseCase'};
101             }
102              
103              
104              
105              
106              
107             ## Attribute and Property lists
108             sub getPropertiesList {
109             my $self = shift;
110             return \@gaProperties;
111             }
112              
113             sub getAttributesList {
114             my $self = shift;
115             return \@gaAttributes;
116             }
117              
118              
119              
120             1;