line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
#!/usr/bin/perl |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package eBay::API::XML::DataType::WishListType; |
4
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
1474
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
25
|
|
6
|
1
|
|
|
1
|
|
4
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
26
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
########################################################################## |
9
|
|
|
|
|
|
|
# |
10
|
|
|
|
|
|
|
# Module: ............... eBay/API/XML |
11
|
|
|
|
|
|
|
# File: ................. WishListType.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::DataType::WishListType |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 DESCRIPTION |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
This type contains the data for one eBay Express wish list. |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=head1 SYNOPSIS |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=cut |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=head1 INHERITANCE |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
eBay::API::XML::DataType::WishListType inherits from the L class |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=cut |
38
|
|
|
|
|
|
|
|
39
|
1
|
|
|
1
|
|
33
|
use eBay::API::XML::BaseDataType; |
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
our @ISA = ("eBay::API::XML::BaseDataType"); |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
use eBay::API::XML::DataType::WishListEntryType; |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
my @gaProperties = ( [ 'Description', 'xs:string', '', '', '' ] |
46
|
|
|
|
|
|
|
, [ 'FirstName', 'xs:string', '', '', '' ] |
47
|
|
|
|
|
|
|
, [ 'LastName', 'xs:string', '', '', '' ] |
48
|
|
|
|
|
|
|
, [ 'Name', 'xs:string', '', '', '' ] |
49
|
|
|
|
|
|
|
, [ 'UserLocation', 'xs:string', '', '', '' ] |
50
|
|
|
|
|
|
|
, [ 'WishListEntry', 'ns:WishListEntryType', '1' |
51
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::WishListEntryType', '1' ] |
52
|
|
|
|
|
|
|
, [ 'WishListID', 'xs:string', '', '', '' ] |
53
|
|
|
|
|
|
|
, [ 'WishListURL', 'xs:anyURI', '', '', '' ] |
54
|
|
|
|
|
|
|
); |
55
|
|
|
|
|
|
|
push @gaProperties, @{eBay::API::XML::BaseDataType::getPropertiesList()}; |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
my @gaAttributes = ( |
58
|
|
|
|
|
|
|
); |
59
|
|
|
|
|
|
|
push @gaAttributes, @{eBay::API::XML::BaseDataType::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 setDescription() |
79
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
User-entered description of the wish list. |
81
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
# Argument: 'xs:string' |
83
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
=cut |
85
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
sub setDescription { |
87
|
|
|
|
|
|
|
my $self = shift; |
88
|
|
|
|
|
|
|
$self->{'Description'} = shift |
89
|
|
|
|
|
|
|
} |
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
=head2 getDescription() |
92
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
Calls: GetExpressWishList |
94
|
|
|
|
|
|
|
Returned: Conditionally |
95
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
# Returns: 'xs:string' |
97
|
|
|
|
|
|
|
|
98
|
|
|
|
|
|
|
=cut |
99
|
|
|
|
|
|
|
|
100
|
|
|
|
|
|
|
sub getDescription { |
101
|
|
|
|
|
|
|
my $self = shift; |
102
|
|
|
|
|
|
|
return $self->{'Description'}; |
103
|
|
|
|
|
|
|
} |
104
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
|
106
|
|
|
|
|
|
|
=head2 setFirstName() |
107
|
|
|
|
|
|
|
|
108
|
|
|
|
|
|
|
eBay user first name. |
109
|
|
|
|
|
|
|
|
110
|
|
|
|
|
|
|
# Argument: 'xs:string' |
111
|
|
|
|
|
|
|
|
112
|
|
|
|
|
|
|
=cut |
113
|
|
|
|
|
|
|
|
114
|
|
|
|
|
|
|
sub setFirstName { |
115
|
|
|
|
|
|
|
my $self = shift; |
116
|
|
|
|
|
|
|
$self->{'FirstName'} = shift |
117
|
|
|
|
|
|
|
} |
118
|
|
|
|
|
|
|
|
119
|
|
|
|
|
|
|
=head2 getFirstName() |
120
|
|
|
|
|
|
|
|
121
|
|
|
|
|
|
|
Calls: GetExpressWishList |
122
|
|
|
|
|
|
|
Returned: Always |
123
|
|
|
|
|
|
|
|
124
|
|
|
|
|
|
|
# Returns: 'xs:string' |
125
|
|
|
|
|
|
|
|
126
|
|
|
|
|
|
|
=cut |
127
|
|
|
|
|
|
|
|
128
|
|
|
|
|
|
|
sub getFirstName { |
129
|
|
|
|
|
|
|
my $self = shift; |
130
|
|
|
|
|
|
|
return $self->{'FirstName'}; |
131
|
|
|
|
|
|
|
} |
132
|
|
|
|
|
|
|
|
133
|
|
|
|
|
|
|
|
134
|
|
|
|
|
|
|
=head2 setLastName() |
135
|
|
|
|
|
|
|
|
136
|
|
|
|
|
|
|
eBay user last name. |
137
|
|
|
|
|
|
|
|
138
|
|
|
|
|
|
|
# Argument: 'xs:string' |
139
|
|
|
|
|
|
|
|
140
|
|
|
|
|
|
|
=cut |
141
|
|
|
|
|
|
|
|
142
|
|
|
|
|
|
|
sub setLastName { |
143
|
|
|
|
|
|
|
my $self = shift; |
144
|
|
|
|
|
|
|
$self->{'LastName'} = shift |
145
|
|
|
|
|
|
|
} |
146
|
|
|
|
|
|
|
|
147
|
|
|
|
|
|
|
=head2 getLastName() |
148
|
|
|
|
|
|
|
|
149
|
|
|
|
|
|
|
Calls: GetExpressWishList |
150
|
|
|
|
|
|
|
Returned: Always |
151
|
|
|
|
|
|
|
|
152
|
|
|
|
|
|
|
# Returns: 'xs:string' |
153
|
|
|
|
|
|
|
|
154
|
|
|
|
|
|
|
=cut |
155
|
|
|
|
|
|
|
|
156
|
|
|
|
|
|
|
sub getLastName { |
157
|
|
|
|
|
|
|
my $self = shift; |
158
|
|
|
|
|
|
|
return $self->{'LastName'}; |
159
|
|
|
|
|
|
|
} |
160
|
|
|
|
|
|
|
|
161
|
|
|
|
|
|
|
|
162
|
|
|
|
|
|
|
=head2 setName() |
163
|
|
|
|
|
|
|
|
164
|
|
|
|
|
|
|
The user-assigned name of the wish list. |
165
|
|
|
|
|
|
|
|
166
|
|
|
|
|
|
|
# Argument: 'xs:string' |
167
|
|
|
|
|
|
|
|
168
|
|
|
|
|
|
|
=cut |
169
|
|
|
|
|
|
|
|
170
|
|
|
|
|
|
|
sub setName { |
171
|
|
|
|
|
|
|
my $self = shift; |
172
|
|
|
|
|
|
|
$self->{'Name'} = shift |
173
|
|
|
|
|
|
|
} |
174
|
|
|
|
|
|
|
|
175
|
|
|
|
|
|
|
=head2 getName() |
176
|
|
|
|
|
|
|
|
177
|
|
|
|
|
|
|
Calls: GetExpressWishList |
178
|
|
|
|
|
|
|
Returned: Always |
179
|
|
|
|
|
|
|
|
180
|
|
|
|
|
|
|
# Returns: 'xs:string' |
181
|
|
|
|
|
|
|
|
182
|
|
|
|
|
|
|
=cut |
183
|
|
|
|
|
|
|
|
184
|
|
|
|
|
|
|
sub getName { |
185
|
|
|
|
|
|
|
my $self = shift; |
186
|
|
|
|
|
|
|
return $self->{'Name'}; |
187
|
|
|
|
|
|
|
} |
188
|
|
|
|
|
|
|
|
189
|
|
|
|
|
|
|
|
190
|
|
|
|
|
|
|
=head2 setUserLocation() |
191
|
|
|
|
|
|
|
|
192
|
|
|
|
|
|
|
Location of the creator of the wish list (Example: CA, United States). |
193
|
|
|
|
|
|
|
|
194
|
|
|
|
|
|
|
# Argument: 'xs:string' |
195
|
|
|
|
|
|
|
|
196
|
|
|
|
|
|
|
=cut |
197
|
|
|
|
|
|
|
|
198
|
|
|
|
|
|
|
sub setUserLocation { |
199
|
|
|
|
|
|
|
my $self = shift; |
200
|
|
|
|
|
|
|
$self->{'UserLocation'} = shift |
201
|
|
|
|
|
|
|
} |
202
|
|
|
|
|
|
|
|
203
|
|
|
|
|
|
|
=head2 getUserLocation() |
204
|
|
|
|
|
|
|
|
205
|
|
|
|
|
|
|
Calls: GetExpressWishList |
206
|
|
|
|
|
|
|
Returned: Always |
207
|
|
|
|
|
|
|
|
208
|
|
|
|
|
|
|
# Returns: 'xs:string' |
209
|
|
|
|
|
|
|
|
210
|
|
|
|
|
|
|
=cut |
211
|
|
|
|
|
|
|
|
212
|
|
|
|
|
|
|
sub getUserLocation { |
213
|
|
|
|
|
|
|
my $self = shift; |
214
|
|
|
|
|
|
|
return $self->{'UserLocation'}; |
215
|
|
|
|
|
|
|
} |
216
|
|
|
|
|
|
|
|
217
|
|
|
|
|
|
|
|
218
|
|
|
|
|
|
|
=head2 setWishListEntry() |
219
|
|
|
|
|
|
|
|
220
|
|
|
|
|
|
|
Product or item the user has added to the wish list. Returned only if request specifies |
221
|
|
|
|
|
|
|
WishListID. |
222
|
|
|
|
|
|
|
|
223
|
|
|
|
|
|
|
# Argument: reference to an array |
224
|
|
|
|
|
|
|
of 'ns:WishListEntryType' |
225
|
|
|
|
|
|
|
|
226
|
|
|
|
|
|
|
=cut |
227
|
|
|
|
|
|
|
|
228
|
|
|
|
|
|
|
sub setWishListEntry { |
229
|
|
|
|
|
|
|
my $self = shift; |
230
|
|
|
|
|
|
|
$self->{'WishListEntry'} = |
231
|
|
|
|
|
|
|
$self->convertArray_To_RefToArrayIfNeeded(@_); |
232
|
|
|
|
|
|
|
} |
233
|
|
|
|
|
|
|
|
234
|
|
|
|
|
|
|
=head2 getWishListEntry() |
235
|
|
|
|
|
|
|
|
236
|
|
|
|
|
|
|
Calls: GetExpressWishList |
237
|
|
|
|
|
|
|
Returned: Conditionally |
238
|
|
|
|
|
|
|
|
239
|
|
|
|
|
|
|
# Returns: reference to an array |
240
|
|
|
|
|
|
|
of 'ns:WishListEntryType' |
241
|
|
|
|
|
|
|
|
242
|
|
|
|
|
|
|
=cut |
243
|
|
|
|
|
|
|
|
244
|
|
|
|
|
|
|
sub getWishListEntry { |
245
|
|
|
|
|
|
|
my $self = shift; |
246
|
|
|
|
|
|
|
return $self->_getDataTypeArray('WishListEntry'); |
247
|
|
|
|
|
|
|
} |
248
|
|
|
|
|
|
|
|
249
|
|
|
|
|
|
|
|
250
|
|
|
|
|
|
|
=head2 setWishListID() |
251
|
|
|
|
|
|
|
|
252
|
|
|
|
|
|
|
ID that uniquely identifies an eBay Express wish list. |
253
|
|
|
|
|
|
|
|
254
|
|
|
|
|
|
|
# Argument: 'xs:string' |
255
|
|
|
|
|
|
|
|
256
|
|
|
|
|
|
|
=cut |
257
|
|
|
|
|
|
|
|
258
|
|
|
|
|
|
|
sub setWishListID { |
259
|
|
|
|
|
|
|
my $self = shift; |
260
|
|
|
|
|
|
|
$self->{'WishListID'} = shift |
261
|
|
|
|
|
|
|
} |
262
|
|
|
|
|
|
|
|
263
|
|
|
|
|
|
|
=head2 getWishListID() |
264
|
|
|
|
|
|
|
|
265
|
|
|
|
|
|
|
Calls: GetExpressWishList |
266
|
|
|
|
|
|
|
Returned: Always |
267
|
|
|
|
|
|
|
|
268
|
|
|
|
|
|
|
# Returns: 'xs:string' |
269
|
|
|
|
|
|
|
|
270
|
|
|
|
|
|
|
=cut |
271
|
|
|
|
|
|
|
|
272
|
|
|
|
|
|
|
sub getWishListID { |
273
|
|
|
|
|
|
|
my $self = shift; |
274
|
|
|
|
|
|
|
return $self->{'WishListID'}; |
275
|
|
|
|
|
|
|
} |
276
|
|
|
|
|
|
|
|
277
|
|
|
|
|
|
|
|
278
|
|
|
|
|
|
|
=head2 setWishListURL() |
279
|
|
|
|
|
|
|
|
280
|
|
|
|
|
|
|
The URL of the wish list. |
281
|
|
|
|
|
|
|
|
282
|
|
|
|
|
|
|
# Argument: 'xs:anyURI' |
283
|
|
|
|
|
|
|
|
284
|
|
|
|
|
|
|
=cut |
285
|
|
|
|
|
|
|
|
286
|
|
|
|
|
|
|
sub setWishListURL { |
287
|
|
|
|
|
|
|
my $self = shift; |
288
|
|
|
|
|
|
|
$self->{'WishListURL'} = shift |
289
|
|
|
|
|
|
|
} |
290
|
|
|
|
|
|
|
|
291
|
|
|
|
|
|
|
=head2 getWishListURL() |
292
|
|
|
|
|
|
|
|
293
|
|
|
|
|
|
|
Calls: GetExpressWishList |
294
|
|
|
|
|
|
|
Returned: Always |
295
|
|
|
|
|
|
|
|
296
|
|
|
|
|
|
|
# Returns: 'xs:anyURI' |
297
|
|
|
|
|
|
|
|
298
|
|
|
|
|
|
|
=cut |
299
|
|
|
|
|
|
|
|
300
|
|
|
|
|
|
|
sub getWishListURL { |
301
|
|
|
|
|
|
|
my $self = shift; |
302
|
|
|
|
|
|
|
return $self->{'WishListURL'}; |
303
|
|
|
|
|
|
|
} |
304
|
|
|
|
|
|
|
|
305
|
|
|
|
|
|
|
|
306
|
|
|
|
|
|
|
|
307
|
|
|
|
|
|
|
|
308
|
|
|
|
|
|
|
|
309
|
|
|
|
|
|
|
## Attribute and Property lists |
310
|
|
|
|
|
|
|
sub getPropertiesList { |
311
|
|
|
|
|
|
|
my $self = shift; |
312
|
|
|
|
|
|
|
return \@gaProperties; |
313
|
|
|
|
|
|
|
} |
314
|
|
|
|
|
|
|
|
315
|
|
|
|
|
|
|
sub getAttributesList { |
316
|
|
|
|
|
|
|
my $self = shift; |
317
|
|
|
|
|
|
|
return \@gaAttributes; |
318
|
|
|
|
|
|
|
} |
319
|
|
|
|
|
|
|
|
320
|
|
|
|
|
|
|
|
321
|
|
|
|
|
|
|
|
322
|
|
|
|
|
|
|
1; |