line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
#!/usr/bin/perl |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package eBay::API::XML::Call::GetSellerEvents::GetSellerEventsRequestType; |
4
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
1603
|
use strict; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
36
|
|
6
|
1
|
|
|
1
|
|
6
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
31
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
########################################################################## |
9
|
|
|
|
|
|
|
# |
10
|
|
|
|
|
|
|
# Module: ............... eBay/API/XML |
11
|
|
|
|
|
|
|
# File: ................. GetSellerEventsRequestType.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::GetSellerEvents::GetSellerEventsRequestType |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 DESCRIPTION |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
Retrieves price changes, item revisions, description revisions, |
25
|
|
|
|
|
|
|
and other changes that have occurred within the last 48 hours |
26
|
|
|
|
|
|
|
related to a seller's eBay listings. |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=head1 SYNOPSIS |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
=cut |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
=head1 INHERITANCE |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
eBay::API::XML::Call::GetSellerEvents::GetSellerEventsRequestType inherits from the L class |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
=cut |
40
|
|
|
|
|
|
|
|
41
|
1
|
|
|
1
|
|
43
|
use eBay::API::XML::RequestDataType; |
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
our @ISA = ("eBay::API::XML::RequestDataType"); |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
use eBay::API::XML::DataType::UserIDType; |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
my @gaProperties = ( [ 'EndTimeFrom', 'xs:dateTime', '', '', '' ] |
48
|
|
|
|
|
|
|
, [ 'EndTimeTo', 'xs:dateTime', '', '', '' ] |
49
|
|
|
|
|
|
|
, [ 'IncludeWatchCount', 'xs:boolean', '', '', '' ] |
50
|
|
|
|
|
|
|
, [ 'ModTimeFrom', 'xs:dateTime', '', '', '' ] |
51
|
|
|
|
|
|
|
, [ 'ModTimeTo', 'xs:dateTime', '', '', '' ] |
52
|
|
|
|
|
|
|
, [ 'NewItemFilter', 'xs:boolean', '', '', '' ] |
53
|
|
|
|
|
|
|
, [ 'StartTimeFrom', 'xs:dateTime', '', '', '' ] |
54
|
|
|
|
|
|
|
, [ 'StartTimeTo', 'xs:dateTime', '', '', '' ] |
55
|
|
|
|
|
|
|
, [ 'UserID', 'ns:UserIDType', '' |
56
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::UserIDType', '1' ] |
57
|
|
|
|
|
|
|
); |
58
|
|
|
|
|
|
|
push @gaProperties, @{eBay::API::XML::RequestDataType::getPropertiesList()}; |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
my @gaAttributes = ( |
61
|
|
|
|
|
|
|
); |
62
|
|
|
|
|
|
|
push @gaAttributes, @{eBay::API::XML::RequestDataType::getAttributesList()}; |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
=head1 Subroutines: |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
=cut |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
sub new { |
69
|
|
|
|
|
|
|
my $classname = shift; |
70
|
|
|
|
|
|
|
my %args = @_; |
71
|
|
|
|
|
|
|
my $self = $classname->SUPER::new(%args); |
72
|
|
|
|
|
|
|
return $self; |
73
|
|
|
|
|
|
|
} |
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
sub isScalar { |
76
|
|
|
|
|
|
|
return 0; |
77
|
|
|
|
|
|
|
} |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
=head2 setEndTimeFrom() |
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
Describes the earliest (oldest) date to use in a date range filter based |
84
|
|
|
|
|
|
|
on item end time. Must be specified if EndTimeTo is specified. Either |
85
|
|
|
|
|
|
|
the StartTimeFrom, EndTimeFrom, or ModTimeFrom filter must be specified. |
86
|
|
|
|
|
|
|
If you do not specify the correspoding To filter, |
87
|
|
|
|
|
|
|
it is set to the time you make the call. |
88
|
|
|
|
|
|
|
For better results, the time period you use should be less than 48 hours. |
89
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
RequiredInput: Conditionally |
91
|
|
|
|
|
|
|
# Argument: 'xs:dateTime' |
92
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
=cut |
94
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
sub setEndTimeFrom { |
96
|
|
|
|
|
|
|
my $self = shift; |
97
|
|
|
|
|
|
|
$self->{'EndTimeFrom'} = shift |
98
|
|
|
|
|
|
|
} |
99
|
|
|
|
|
|
|
|
100
|
|
|
|
|
|
|
=head2 getEndTimeFrom() |
101
|
|
|
|
|
|
|
|
102
|
|
|
|
|
|
|
# Returns: 'xs:dateTime' |
103
|
|
|
|
|
|
|
|
104
|
|
|
|
|
|
|
=cut |
105
|
|
|
|
|
|
|
|
106
|
|
|
|
|
|
|
sub getEndTimeFrom { |
107
|
|
|
|
|
|
|
my $self = shift; |
108
|
|
|
|
|
|
|
return $self->{'EndTimeFrom'}; |
109
|
|
|
|
|
|
|
} |
110
|
|
|
|
|
|
|
|
111
|
|
|
|
|
|
|
|
112
|
|
|
|
|
|
|
=head2 setEndTimeTo() |
113
|
|
|
|
|
|
|
|
114
|
|
|
|
|
|
|
Describes the latest (most recent) date to use in a date range filter |
115
|
|
|
|
|
|
|
based on item end time. If you specify the corresponding From filter, |
116
|
|
|
|
|
|
|
but you do not include EndTimeTo, then EndTimeTo is set |
117
|
|
|
|
|
|
|
to the time you make the call. |
118
|
|
|
|
|
|
|
|
119
|
|
|
|
|
|
|
RequiredInput: No |
120
|
|
|
|
|
|
|
# Argument: 'xs:dateTime' |
121
|
|
|
|
|
|
|
|
122
|
|
|
|
|
|
|
=cut |
123
|
|
|
|
|
|
|
|
124
|
|
|
|
|
|
|
sub setEndTimeTo { |
125
|
|
|
|
|
|
|
my $self = shift; |
126
|
|
|
|
|
|
|
$self->{'EndTimeTo'} = shift |
127
|
|
|
|
|
|
|
} |
128
|
|
|
|
|
|
|
|
129
|
|
|
|
|
|
|
=head2 getEndTimeTo() |
130
|
|
|
|
|
|
|
|
131
|
|
|
|
|
|
|
# Returns: 'xs:dateTime' |
132
|
|
|
|
|
|
|
|
133
|
|
|
|
|
|
|
=cut |
134
|
|
|
|
|
|
|
|
135
|
|
|
|
|
|
|
sub getEndTimeTo { |
136
|
|
|
|
|
|
|
my $self = shift; |
137
|
|
|
|
|
|
|
return $self->{'EndTimeTo'}; |
138
|
|
|
|
|
|
|
} |
139
|
|
|
|
|
|
|
|
140
|
|
|
|
|
|
|
|
141
|
|
|
|
|
|
|
=head2 setIncludeWatchCount() |
142
|
|
|
|
|
|
|
|
143
|
|
|
|
|
|
|
Specifies whether to include WatchCount in Item nodes returned. WatchCount |
144
|
|
|
|
|
|
|
is the number of watches buyers have placed on the item from their My eBay |
145
|
|
|
|
|
|
|
accounts. |
146
|
|
|
|
|
|
|
|
147
|
|
|
|
|
|
|
RequiredInput: No |
148
|
|
|
|
|
|
|
# Argument: 'xs:boolean' |
149
|
|
|
|
|
|
|
|
150
|
|
|
|
|
|
|
=cut |
151
|
|
|
|
|
|
|
|
152
|
|
|
|
|
|
|
sub setIncludeWatchCount { |
153
|
|
|
|
|
|
|
my $self = shift; |
154
|
|
|
|
|
|
|
$self->{'IncludeWatchCount'} = shift |
155
|
|
|
|
|
|
|
} |
156
|
|
|
|
|
|
|
|
157
|
|
|
|
|
|
|
=head2 isIncludeWatchCount() |
158
|
|
|
|
|
|
|
|
159
|
|
|
|
|
|
|
# Returns: 'xs:boolean' |
160
|
|
|
|
|
|
|
|
161
|
|
|
|
|
|
|
=cut |
162
|
|
|
|
|
|
|
|
163
|
|
|
|
|
|
|
sub isIncludeWatchCount { |
164
|
|
|
|
|
|
|
my $self = shift; |
165
|
|
|
|
|
|
|
return $self->{'IncludeWatchCount'}; |
166
|
|
|
|
|
|
|
} |
167
|
|
|
|
|
|
|
|
168
|
|
|
|
|
|
|
|
169
|
|
|
|
|
|
|
=head2 setModTimeFrom() |
170
|
|
|
|
|
|
|
|
171
|
|
|
|
|
|
|
Describes the earliest (oldest) date to use in a date range filter based |
172
|
|
|
|
|
|
|
on item modification time. Must be specified if ModTimeTo is specified. Either |
173
|
|
|
|
|
|
|
the StartTimeFrom, EndTimeFrom, or ModTimeFrom filter must be specified. |
174
|
|
|
|
|
|
|
If you do not specify the correspoding To filter, |
175
|
|
|
|
|
|
|
it is set to the time you make the call. |
176
|
|
|
|
|
|
|
|
177
|
|
|
|
|
|
|
For better results, the time period you use should be less than 48 hours. |
178
|
|
|
|
|
|
|
|
179
|
|
|
|
|
|
|
If an unexpected item is returned (including an old item |
180
|
|
|
|
|
|
|
or an unchanged active item), please ignore the item. |
181
|
|
|
|
|
|
|
Although a maintenance process may have triggered a change in the modification time, |
182
|
|
|
|
|
|
|
item characteristics are unchanged. |
183
|
|
|
|
|
|
|
|
184
|
|
|
|
|
|
|
RequiredInput: Conditionally |
185
|
|
|
|
|
|
|
# Argument: 'xs:dateTime' |
186
|
|
|
|
|
|
|
|
187
|
|
|
|
|
|
|
=cut |
188
|
|
|
|
|
|
|
|
189
|
|
|
|
|
|
|
sub setModTimeFrom { |
190
|
|
|
|
|
|
|
my $self = shift; |
191
|
|
|
|
|
|
|
$self->{'ModTimeFrom'} = shift |
192
|
|
|
|
|
|
|
} |
193
|
|
|
|
|
|
|
|
194
|
|
|
|
|
|
|
=head2 getModTimeFrom() |
195
|
|
|
|
|
|
|
|
196
|
|
|
|
|
|
|
# Returns: 'xs:dateTime' |
197
|
|
|
|
|
|
|
|
198
|
|
|
|
|
|
|
=cut |
199
|
|
|
|
|
|
|
|
200
|
|
|
|
|
|
|
sub getModTimeFrom { |
201
|
|
|
|
|
|
|
my $self = shift; |
202
|
|
|
|
|
|
|
return $self->{'ModTimeFrom'}; |
203
|
|
|
|
|
|
|
} |
204
|
|
|
|
|
|
|
|
205
|
|
|
|
|
|
|
|
206
|
|
|
|
|
|
|
=head2 setModTimeTo() |
207
|
|
|
|
|
|
|
|
208
|
|
|
|
|
|
|
Describes the latest (most recent) date to use in a date range filter |
209
|
|
|
|
|
|
|
based on the time an item's record was modified. If you specify |
210
|
|
|
|
|
|
|
the corresponding From filter, but you do not include ModTimeTo, |
211
|
|
|
|
|
|
|
then ModTimeTo is set to the time you make the call. |
212
|
|
|
|
|
|
|
|
213
|
|
|
|
|
|
|
RequiredInput: No |
214
|
|
|
|
|
|
|
# Argument: 'xs:dateTime' |
215
|
|
|
|
|
|
|
|
216
|
|
|
|
|
|
|
=cut |
217
|
|
|
|
|
|
|
|
218
|
|
|
|
|
|
|
sub setModTimeTo { |
219
|
|
|
|
|
|
|
my $self = shift; |
220
|
|
|
|
|
|
|
$self->{'ModTimeTo'} = shift |
221
|
|
|
|
|
|
|
} |
222
|
|
|
|
|
|
|
|
223
|
|
|
|
|
|
|
=head2 getModTimeTo() |
224
|
|
|
|
|
|
|
|
225
|
|
|
|
|
|
|
# Returns: 'xs:dateTime' |
226
|
|
|
|
|
|
|
|
227
|
|
|
|
|
|
|
=cut |
228
|
|
|
|
|
|
|
|
229
|
|
|
|
|
|
|
sub getModTimeTo { |
230
|
|
|
|
|
|
|
my $self = shift; |
231
|
|
|
|
|
|
|
return $self->{'ModTimeTo'}; |
232
|
|
|
|
|
|
|
} |
233
|
|
|
|
|
|
|
|
234
|
|
|
|
|
|
|
|
235
|
|
|
|
|
|
|
=head2 setNewItemFilter() |
236
|
|
|
|
|
|
|
|
237
|
|
|
|
|
|
|
Specifies that only new items are to be returned. NewItemFilter is an |
238
|
|
|
|
|
|
|
optional input. |
239
|
|
|
|
|
|
|
|
240
|
|
|
|
|
|
|
RequiredInput: No |
241
|
|
|
|
|
|
|
# Argument: 'xs:boolean' |
242
|
|
|
|
|
|
|
|
243
|
|
|
|
|
|
|
=cut |
244
|
|
|
|
|
|
|
|
245
|
|
|
|
|
|
|
sub setNewItemFilter { |
246
|
|
|
|
|
|
|
my $self = shift; |
247
|
|
|
|
|
|
|
$self->{'NewItemFilter'} = shift |
248
|
|
|
|
|
|
|
} |
249
|
|
|
|
|
|
|
|
250
|
|
|
|
|
|
|
=head2 isNewItemFilter() |
251
|
|
|
|
|
|
|
|
252
|
|
|
|
|
|
|
# Returns: 'xs:boolean' |
253
|
|
|
|
|
|
|
|
254
|
|
|
|
|
|
|
=cut |
255
|
|
|
|
|
|
|
|
256
|
|
|
|
|
|
|
sub isNewItemFilter { |
257
|
|
|
|
|
|
|
my $self = shift; |
258
|
|
|
|
|
|
|
return $self->{'NewItemFilter'}; |
259
|
|
|
|
|
|
|
} |
260
|
|
|
|
|
|
|
|
261
|
|
|
|
|
|
|
|
262
|
|
|
|
|
|
|
=head2 setStartTimeFrom() |
263
|
|
|
|
|
|
|
|
264
|
|
|
|
|
|
|
Describes the earliest (oldest) date to use in a date range filter based |
265
|
|
|
|
|
|
|
on item start time. Must be specified if StartTimeTo is specified. Either |
266
|
|
|
|
|
|
|
the StartTimeFrom, EndTimeFrom, or ModTimeFrom filter must be specified. |
267
|
|
|
|
|
|
|
If you do not specify the correspoding To filter, |
268
|
|
|
|
|
|
|
it is set to the time you make the call. |
269
|
|
|
|
|
|
|
For better results, the time period you use should be less than 48 hours. |
270
|
|
|
|
|
|
|
|
271
|
|
|
|
|
|
|
RequiredInput: Conditionally |
272
|
|
|
|
|
|
|
# Argument: 'xs:dateTime' |
273
|
|
|
|
|
|
|
|
274
|
|
|
|
|
|
|
=cut |
275
|
|
|
|
|
|
|
|
276
|
|
|
|
|
|
|
sub setStartTimeFrom { |
277
|
|
|
|
|
|
|
my $self = shift; |
278
|
|
|
|
|
|
|
$self->{'StartTimeFrom'} = shift |
279
|
|
|
|
|
|
|
} |
280
|
|
|
|
|
|
|
|
281
|
|
|
|
|
|
|
=head2 getStartTimeFrom() |
282
|
|
|
|
|
|
|
|
283
|
|
|
|
|
|
|
# Returns: 'xs:dateTime' |
284
|
|
|
|
|
|
|
|
285
|
|
|
|
|
|
|
=cut |
286
|
|
|
|
|
|
|
|
287
|
|
|
|
|
|
|
sub getStartTimeFrom { |
288
|
|
|
|
|
|
|
my $self = shift; |
289
|
|
|
|
|
|
|
return $self->{'StartTimeFrom'}; |
290
|
|
|
|
|
|
|
} |
291
|
|
|
|
|
|
|
|
292
|
|
|
|
|
|
|
|
293
|
|
|
|
|
|
|
=head2 setStartTimeTo() |
294
|
|
|
|
|
|
|
|
295
|
|
|
|
|
|
|
Describes the latest (most recent) date to use in a date range filter |
296
|
|
|
|
|
|
|
based on item start time. If you specify the corresponding From filter, |
297
|
|
|
|
|
|
|
but you do not include StartTimeTo, the StartTimeTo is set to |
298
|
|
|
|
|
|
|
the time you make the call. |
299
|
|
|
|
|
|
|
|
300
|
|
|
|
|
|
|
RequiredInput: No |
301
|
|
|
|
|
|
|
# Argument: 'xs:dateTime' |
302
|
|
|
|
|
|
|
|
303
|
|
|
|
|
|
|
=cut |
304
|
|
|
|
|
|
|
|
305
|
|
|
|
|
|
|
sub setStartTimeTo { |
306
|
|
|
|
|
|
|
my $self = shift; |
307
|
|
|
|
|
|
|
$self->{'StartTimeTo'} = shift |
308
|
|
|
|
|
|
|
} |
309
|
|
|
|
|
|
|
|
310
|
|
|
|
|
|
|
=head2 getStartTimeTo() |
311
|
|
|
|
|
|
|
|
312
|
|
|
|
|
|
|
# Returns: 'xs:dateTime' |
313
|
|
|
|
|
|
|
|
314
|
|
|
|
|
|
|
=cut |
315
|
|
|
|
|
|
|
|
316
|
|
|
|
|
|
|
sub getStartTimeTo { |
317
|
|
|
|
|
|
|
my $self = shift; |
318
|
|
|
|
|
|
|
return $self->{'StartTimeTo'}; |
319
|
|
|
|
|
|
|
} |
320
|
|
|
|
|
|
|
|
321
|
|
|
|
|
|
|
|
322
|
|
|
|
|
|
|
=head2 setUserID() |
323
|
|
|
|
|
|
|
|
324
|
|
|
|
|
|
|
eBay user ID for the seller whose events are to be returned. |
325
|
|
|
|
|
|
|
If not specified, retrieves events for the user identified by |
326
|
|
|
|
|
|
|
the authentication token passed in the request. Note that since user information is anonymous to everyone except the bidder and the seller (during an active auction), only sellers looking for information about |
327
|
|
|
|
|
|
|
their own listings and bidders who know the user IDs of their sellers |
328
|
|
|
|
|
|
|
will be able to make this API call successfully. See Working with Anonymous User Informationin the eBay Web Services Guide for more information. |
329
|
|
|
|
|
|
|
|
330
|
|
|
|
|
|
|
RequiredInput: No |
331
|
|
|
|
|
|
|
# Argument: 'ns:UserIDType' |
332
|
|
|
|
|
|
|
|
333
|
|
|
|
|
|
|
=cut |
334
|
|
|
|
|
|
|
|
335
|
|
|
|
|
|
|
sub setUserID { |
336
|
|
|
|
|
|
|
my $self = shift; |
337
|
|
|
|
|
|
|
$self->{'UserID'} = shift |
338
|
|
|
|
|
|
|
} |
339
|
|
|
|
|
|
|
|
340
|
|
|
|
|
|
|
=head2 getUserID() |
341
|
|
|
|
|
|
|
|
342
|
|
|
|
|
|
|
# Returns: 'ns:UserIDType' |
343
|
|
|
|
|
|
|
|
344
|
|
|
|
|
|
|
=cut |
345
|
|
|
|
|
|
|
|
346
|
|
|
|
|
|
|
sub getUserID { |
347
|
|
|
|
|
|
|
my $self = shift; |
348
|
|
|
|
|
|
|
return $self->_getDataTypeInstance( 'UserID' |
349
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::UserIDType'); |
350
|
|
|
|
|
|
|
} |
351
|
|
|
|
|
|
|
|
352
|
|
|
|
|
|
|
|
353
|
|
|
|
|
|
|
|
354
|
|
|
|
|
|
|
|
355
|
|
|
|
|
|
|
|
356
|
|
|
|
|
|
|
## Attribute and Property lists |
357
|
|
|
|
|
|
|
sub getPropertiesList { |
358
|
|
|
|
|
|
|
my $self = shift; |
359
|
|
|
|
|
|
|
return \@gaProperties; |
360
|
|
|
|
|
|
|
} |
361
|
|
|
|
|
|
|
|
362
|
|
|
|
|
|
|
sub getAttributesList { |
363
|
|
|
|
|
|
|
my $self = shift; |
364
|
|
|
|
|
|
|
return \@gaAttributes; |
365
|
|
|
|
|
|
|
} |
366
|
|
|
|
|
|
|
|
367
|
|
|
|
|
|
|
|
368
|
|
|
|
|
|
|
|
369
|
|
|
|
|
|
|
1; |