line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
#!/usr/bin/perl |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package eBay::API::XML::DataType::UserIdPasswordType; |
4
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
6227
|
use strict; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
33
|
|
6
|
1
|
|
|
1
|
|
6
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
35
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
########################################################################## |
9
|
|
|
|
|
|
|
# |
10
|
|
|
|
|
|
|
# Module: ............... eBay/API/XML |
11
|
|
|
|
|
|
|
# File: ................. UserIdPasswordType.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::DataType::UserIdPasswordType |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 DESCRIPTION |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
=head1 SYNOPSIS |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=cut |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
=head1 INHERITANCE |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
eBay::API::XML::DataType::UserIdPasswordType inherits from the L class |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
=cut |
36
|
|
|
|
|
|
|
|
37
|
1
|
|
|
1
|
|
39
|
use eBay::API::XML::BaseDataType; |
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
our @ISA = ("eBay::API::XML::BaseDataType"); |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
my @gaProperties = ( [ 'AppId', 'xs:string', '', '', '' ] |
43
|
|
|
|
|
|
|
, [ 'AuthCert', 'xs:string', '', '', '' ] |
44
|
|
|
|
|
|
|
, [ 'DevId', 'xs:string', '', '', '' ] |
45
|
|
|
|
|
|
|
, [ 'Password', 'xs:string', '', '', '' ] |
46
|
|
|
|
|
|
|
, [ 'Username', 'xs:string', '', '', '' ] |
47
|
|
|
|
|
|
|
); |
48
|
|
|
|
|
|
|
push @gaProperties, @{eBay::API::XML::BaseDataType::getPropertiesList()}; |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
my @gaAttributes = ( |
51
|
|
|
|
|
|
|
); |
52
|
|
|
|
|
|
|
push @gaAttributes, @{eBay::API::XML::BaseDataType::getAttributesList()}; |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
=head1 Subroutines: |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
=cut |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
sub new { |
59
|
|
|
|
|
|
|
my $classname = shift; |
60
|
|
|
|
|
|
|
my %args = @_; |
61
|
|
|
|
|
|
|
my $self = $classname->SUPER::new(%args); |
62
|
|
|
|
|
|
|
return $self; |
63
|
|
|
|
|
|
|
} |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
sub isScalar { |
66
|
|
|
|
|
|
|
return 0; |
67
|
|
|
|
|
|
|
} |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
=head2 setAppId() |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
The application ID that is unique to each application you (or your company) |
74
|
|
|
|
|
|
|
has registered with the eBay Developers Program. If you are executing a call |
75
|
|
|
|
|
|
|
in the Sandbox, this is the "AppId" value that eBay issued to you when you |
76
|
|
|
|
|
|
|
received your Sandbox keys. If you are executing a call in Production, this is |
77
|
|
|
|
|
|
|
the "AppId" value that eBay issued to you when you received your Production |
78
|
|
|
|
|
|
|
keys. |
79
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
Calls: FetchToken |
81
|
|
|
|
|
|
|
RequiredInput: Yes |
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
# Argument: 'xs:string' |
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
=cut |
86
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
sub setAppId { |
88
|
|
|
|
|
|
|
my $self = shift; |
89
|
|
|
|
|
|
|
$self->{'AppId'} = shift |
90
|
|
|
|
|
|
|
} |
91
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
=head2 getAppId() |
93
|
|
|
|
|
|
|
|
94
|
|
|
|
|
|
|
# Returns: 'xs:string' |
95
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
=cut |
97
|
|
|
|
|
|
|
|
98
|
|
|
|
|
|
|
sub getAppId { |
99
|
|
|
|
|
|
|
my $self = shift; |
100
|
|
|
|
|
|
|
return $self->{'AppId'}; |
101
|
|
|
|
|
|
|
} |
102
|
|
|
|
|
|
|
|
103
|
|
|
|
|
|
|
|
104
|
|
|
|
|
|
|
=head2 setAuthCert() |
105
|
|
|
|
|
|
|
|
106
|
|
|
|
|
|
|
Authentication certificate that authenticates the application when making API |
107
|
|
|
|
|
|
|
calls. If you are executing a call in the Sandbox, this is the "CertId" value |
108
|
|
|
|
|
|
|
that eBay issued to you when you received your Sandbox keys. If you are |
109
|
|
|
|
|
|
|
executing a call in Production, this is the "CertId" value that eBay issued to |
110
|
|
|
|
|
|
|
you when you received your Production keys. This is unrelated to auth tokens. |
111
|
|
|
|
|
|
|
|
112
|
|
|
|
|
|
|
Calls: FetchToken |
113
|
|
|
|
|
|
|
RequiredInput: Yes |
114
|
|
|
|
|
|
|
|
115
|
|
|
|
|
|
|
# Argument: 'xs:string' |
116
|
|
|
|
|
|
|
|
117
|
|
|
|
|
|
|
=cut |
118
|
|
|
|
|
|
|
|
119
|
|
|
|
|
|
|
sub setAuthCert { |
120
|
|
|
|
|
|
|
my $self = shift; |
121
|
|
|
|
|
|
|
$self->{'AuthCert'} = shift |
122
|
|
|
|
|
|
|
} |
123
|
|
|
|
|
|
|
|
124
|
|
|
|
|
|
|
=head2 getAuthCert() |
125
|
|
|
|
|
|
|
|
126
|
|
|
|
|
|
|
# Returns: 'xs:string' |
127
|
|
|
|
|
|
|
|
128
|
|
|
|
|
|
|
=cut |
129
|
|
|
|
|
|
|
|
130
|
|
|
|
|
|
|
sub getAuthCert { |
131
|
|
|
|
|
|
|
my $self = shift; |
132
|
|
|
|
|
|
|
return $self->{'AuthCert'}; |
133
|
|
|
|
|
|
|
} |
134
|
|
|
|
|
|
|
|
135
|
|
|
|
|
|
|
|
136
|
|
|
|
|
|
|
=head2 setDevId() |
137
|
|
|
|
|
|
|
|
138
|
|
|
|
|
|
|
The unique developer ID that the eBay Developers Program issued to you (or |
139
|
|
|
|
|
|
|
your company). If you are executing a call in the Sandbox, this is the "DevId" |
140
|
|
|
|
|
|
|
value that eBay issued to you when you received your Sandbox keys. Typically, |
141
|
|
|
|
|
|
|
you receive your Sandbox keys when you register as a new developer. If you are |
142
|
|
|
|
|
|
|
executing a call in Production, this is the "DevId" value that eBay issued to |
143
|
|
|
|
|
|
|
you when you received your Production keys. Typically, you receive your |
144
|
|
|
|
|
|
|
Production keys when you certify an application. |
145
|
|
|
|
|
|
|
|
146
|
|
|
|
|
|
|
Calls: FetchToken |
147
|
|
|
|
|
|
|
RequiredInput: Yes |
148
|
|
|
|
|
|
|
|
149
|
|
|
|
|
|
|
# Argument: 'xs:string' |
150
|
|
|
|
|
|
|
|
151
|
|
|
|
|
|
|
=cut |
152
|
|
|
|
|
|
|
|
153
|
|
|
|
|
|
|
sub setDevId { |
154
|
|
|
|
|
|
|
my $self = shift; |
155
|
|
|
|
|
|
|
$self->{'DevId'} = shift |
156
|
|
|
|
|
|
|
} |
157
|
|
|
|
|
|
|
|
158
|
|
|
|
|
|
|
=head2 getDevId() |
159
|
|
|
|
|
|
|
|
160
|
|
|
|
|
|
|
# Returns: 'xs:string' |
161
|
|
|
|
|
|
|
|
162
|
|
|
|
|
|
|
=cut |
163
|
|
|
|
|
|
|
|
164
|
|
|
|
|
|
|
sub getDevId { |
165
|
|
|
|
|
|
|
my $self = shift; |
166
|
|
|
|
|
|
|
return $self->{'DevId'}; |
167
|
|
|
|
|
|
|
} |
168
|
|
|
|
|
|
|
|
169
|
|
|
|
|
|
|
|
170
|
|
|
|
|
|
|
=head2 setPassword() |
171
|
|
|
|
|
|
|
|
172
|
|
|
|
|
|
|
Password for the user specified in Username. |
173
|
|
|
|
|
|
|
|
174
|
|
|
|
|
|
|
# Argument: 'xs:string' |
175
|
|
|
|
|
|
|
|
176
|
|
|
|
|
|
|
=cut |
177
|
|
|
|
|
|
|
|
178
|
|
|
|
|
|
|
sub setPassword { |
179
|
|
|
|
|
|
|
my $self = shift; |
180
|
|
|
|
|
|
|
$self->{'Password'} = shift |
181
|
|
|
|
|
|
|
} |
182
|
|
|
|
|
|
|
|
183
|
|
|
|
|
|
|
=head2 getPassword() |
184
|
|
|
|
|
|
|
|
185
|
|
|
|
|
|
|
# Returns: 'xs:string' |
186
|
|
|
|
|
|
|
|
187
|
|
|
|
|
|
|
=cut |
188
|
|
|
|
|
|
|
|
189
|
|
|
|
|
|
|
sub getPassword { |
190
|
|
|
|
|
|
|
my $self = shift; |
191
|
|
|
|
|
|
|
return $self->{'Password'}; |
192
|
|
|
|
|
|
|
} |
193
|
|
|
|
|
|
|
|
194
|
|
|
|
|
|
|
|
195
|
|
|
|
|
|
|
=head2 setUsername() |
196
|
|
|
|
|
|
|
|
197
|
|
|
|
|
|
|
eBay user ID (i.e., eBay.com Web site login name) for the user the application |
198
|
|
|
|
|
|
|
is retrieving a token for. This is typically the application's end-user (not |
199
|
|
|
|
|
|
|
the developer). |
200
|
|
|
|
|
|
|
|
201
|
|
|
|
|
|
|
MaxLength: 64 |
202
|
|
|
|
|
|
|
|
203
|
|
|
|
|
|
|
Calls: FetchToken |
204
|
|
|
|
|
|
|
RequiredInput: Yes |
205
|
|
|
|
|
|
|
|
206
|
|
|
|
|
|
|
# Argument: 'xs:string' |
207
|
|
|
|
|
|
|
|
208
|
|
|
|
|
|
|
=cut |
209
|
|
|
|
|
|
|
|
210
|
|
|
|
|
|
|
sub setUsername { |
211
|
|
|
|
|
|
|
my $self = shift; |
212
|
|
|
|
|
|
|
$self->{'Username'} = shift |
213
|
|
|
|
|
|
|
} |
214
|
|
|
|
|
|
|
|
215
|
|
|
|
|
|
|
=head2 getUsername() |
216
|
|
|
|
|
|
|
|
217
|
|
|
|
|
|
|
# Returns: 'xs:string' |
218
|
|
|
|
|
|
|
|
219
|
|
|
|
|
|
|
=cut |
220
|
|
|
|
|
|
|
|
221
|
|
|
|
|
|
|
sub getUsername { |
222
|
|
|
|
|
|
|
my $self = shift; |
223
|
|
|
|
|
|
|
return $self->{'Username'}; |
224
|
|
|
|
|
|
|
} |
225
|
|
|
|
|
|
|
|
226
|
|
|
|
|
|
|
|
227
|
|
|
|
|
|
|
|
228
|
|
|
|
|
|
|
|
229
|
|
|
|
|
|
|
|
230
|
|
|
|
|
|
|
## Attribute and Property lists |
231
|
|
|
|
|
|
|
sub getPropertiesList { |
232
|
|
|
|
|
|
|
my $self = shift; |
233
|
|
|
|
|
|
|
return \@gaProperties; |
234
|
|
|
|
|
|
|
} |
235
|
|
|
|
|
|
|
|
236
|
|
|
|
|
|
|
sub getAttributesList { |
237
|
|
|
|
|
|
|
my $self = shift; |
238
|
|
|
|
|
|
|
return \@gaAttributes; |
239
|
|
|
|
|
|
|
} |
240
|
|
|
|
|
|
|
|
241
|
|
|
|
|
|
|
|
242
|
|
|
|
|
|
|
|
243
|
|
|
|
|
|
|
1; |