line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
#!/usr/bin/perl |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package eBay::API::XML::DataType::NotificationDetailsType; |
4
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
1461
|
use strict; |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
41
|
|
6
|
1
|
|
|
1
|
|
6
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
38
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
########################################################################## |
9
|
|
|
|
|
|
|
# |
10
|
|
|
|
|
|
|
# Module: ............... eBay/API/XML |
11
|
|
|
|
|
|
|
# File: ................. NotificationDetailsType.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::NotificationDetailsType |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 DESCRIPTION |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
Information about a single notification. Notification information includes |
25
|
|
|
|
|
|
|
the reference ID, notification type, current status, time delivered, error code, |
26
|
|
|
|
|
|
|
and error message for the notification. If notification details are included in |
27
|
|
|
|
|
|
|
the response, all of the detail fields are returned. |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
=head1 SYNOPSIS |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=cut |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
=head1 INHERITANCE |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
eBay::API::XML::DataType::NotificationDetailsType inherits from the L class |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
=cut |
41
|
|
|
|
|
|
|
|
42
|
1
|
|
|
1
|
|
47
|
use eBay::API::XML::BaseDataType; |
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
our @ISA = ("eBay::API::XML::BaseDataType"); |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
use eBay::API::XML::DataType::Enum::NotificationEventStateCodeType; |
46
|
|
|
|
|
|
|
use eBay::API::XML::DataType::Enum::NotificationEventTypeCodeType; |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
my @gaProperties = ( [ 'DeliveryStatus', 'ns:NotificationEventStateCodeType', '' |
50
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::Enum::NotificationEventStateCodeType', '' ] |
51
|
|
|
|
|
|
|
, [ 'DeliveryTime', 'xs:dateTime', '', '', '' ] |
52
|
|
|
|
|
|
|
, [ 'DeliveryURL', 'xs:anyURI', '', '', '' ] |
53
|
|
|
|
|
|
|
, [ 'DeliveryURLName', 'xs:string', '', '', '' ] |
54
|
|
|
|
|
|
|
, [ 'ErrorMessage', 'xs:string', '', '', '' ] |
55
|
|
|
|
|
|
|
, [ 'ExpirationTime', 'xs:dateTime', '', '', '' ] |
56
|
|
|
|
|
|
|
, [ 'NextRetryTime', 'xs:dateTime', '', '', '' ] |
57
|
|
|
|
|
|
|
, [ 'ReferenceID', 'xs:string', '', '', '' ] |
58
|
|
|
|
|
|
|
, [ 'Retries', 'xs:int', '', '', '' ] |
59
|
|
|
|
|
|
|
, [ 'Type', 'ns:NotificationEventTypeCodeType', '' |
60
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::Enum::NotificationEventTypeCodeType', '' ] |
61
|
|
|
|
|
|
|
); |
62
|
|
|
|
|
|
|
push @gaProperties, @{eBay::API::XML::BaseDataType::getPropertiesList()}; |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
my @gaAttributes = ( |
65
|
|
|
|
|
|
|
); |
66
|
|
|
|
|
|
|
push @gaAttributes, @{eBay::API::XML::BaseDataType::getAttributesList()}; |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
=head1 Subroutines: |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
=cut |
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
sub new { |
73
|
|
|
|
|
|
|
my $classname = shift; |
74
|
|
|
|
|
|
|
my %args = @_; |
75
|
|
|
|
|
|
|
my $self = $classname->SUPER::new(%args); |
76
|
|
|
|
|
|
|
return $self; |
77
|
|
|
|
|
|
|
} |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
sub isScalar { |
80
|
|
|
|
|
|
|
return 0; |
81
|
|
|
|
|
|
|
} |
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
=head2 setDeliveryStatus() |
86
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
Returns the notification status. Possible values include Delivered, |
88
|
|
|
|
|
|
|
Failed, Rejected, and MarkedDown. |
89
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
# Argument: 'ns:NotificationEventStateCodeType' |
91
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
=cut |
93
|
|
|
|
|
|
|
|
94
|
|
|
|
|
|
|
sub setDeliveryStatus { |
95
|
|
|
|
|
|
|
my $self = shift; |
96
|
|
|
|
|
|
|
$self->{'DeliveryStatus'} = shift |
97
|
|
|
|
|
|
|
} |
98
|
|
|
|
|
|
|
|
99
|
|
|
|
|
|
|
=head2 getDeliveryStatus() |
100
|
|
|
|
|
|
|
|
101
|
|
|
|
|
|
|
Calls: GetNotificationsUsage |
102
|
|
|
|
|
|
|
Returned: Conditionally |
103
|
|
|
|
|
|
|
|
104
|
|
|
|
|
|
|
# Returns: 'ns:NotificationEventStateCodeType' |
105
|
|
|
|
|
|
|
|
106
|
|
|
|
|
|
|
=cut |
107
|
|
|
|
|
|
|
|
108
|
|
|
|
|
|
|
sub getDeliveryStatus { |
109
|
|
|
|
|
|
|
my $self = shift; |
110
|
|
|
|
|
|
|
return $self->{'DeliveryStatus'}; |
111
|
|
|
|
|
|
|
} |
112
|
|
|
|
|
|
|
|
113
|
|
|
|
|
|
|
|
114
|
|
|
|
|
|
|
=head2 setDeliveryTime() |
115
|
|
|
|
|
|
|
|
116
|
|
|
|
|
|
|
Returns the time when the notification was delivered. |
117
|
|
|
|
|
|
|
|
118
|
|
|
|
|
|
|
# Argument: 'xs:dateTime' |
119
|
|
|
|
|
|
|
|
120
|
|
|
|
|
|
|
=cut |
121
|
|
|
|
|
|
|
|
122
|
|
|
|
|
|
|
sub setDeliveryTime { |
123
|
|
|
|
|
|
|
my $self = shift; |
124
|
|
|
|
|
|
|
$self->{'DeliveryTime'} = shift |
125
|
|
|
|
|
|
|
} |
126
|
|
|
|
|
|
|
|
127
|
|
|
|
|
|
|
=head2 getDeliveryTime() |
128
|
|
|
|
|
|
|
|
129
|
|
|
|
|
|
|
Calls: GetNotificationsUsage |
130
|
|
|
|
|
|
|
Returned: Conditionally |
131
|
|
|
|
|
|
|
|
132
|
|
|
|
|
|
|
# Returns: 'xs:dateTime' |
133
|
|
|
|
|
|
|
|
134
|
|
|
|
|
|
|
=cut |
135
|
|
|
|
|
|
|
|
136
|
|
|
|
|
|
|
sub getDeliveryTime { |
137
|
|
|
|
|
|
|
my $self = shift; |
138
|
|
|
|
|
|
|
return $self->{'DeliveryTime'}; |
139
|
|
|
|
|
|
|
} |
140
|
|
|
|
|
|
|
|
141
|
|
|
|
|
|
|
|
142
|
|
|
|
|
|
|
=head2 setDeliveryURL() |
143
|
|
|
|
|
|
|
|
144
|
|
|
|
|
|
|
Returns the destination address for the notification. This is the value set |
145
|
|
|
|
|
|
|
using SetNotificationPreferences. |
146
|
|
|
|
|
|
|
|
147
|
|
|
|
|
|
|
# Argument: 'xs:anyURI' |
148
|
|
|
|
|
|
|
|
149
|
|
|
|
|
|
|
=cut |
150
|
|
|
|
|
|
|
|
151
|
|
|
|
|
|
|
sub setDeliveryURL { |
152
|
|
|
|
|
|
|
my $self = shift; |
153
|
|
|
|
|
|
|
$self->{'DeliveryURL'} = shift |
154
|
|
|
|
|
|
|
} |
155
|
|
|
|
|
|
|
|
156
|
|
|
|
|
|
|
=head2 getDeliveryURL() |
157
|
|
|
|
|
|
|
|
158
|
|
|
|
|
|
|
Calls: GetNotificationsUsage |
159
|
|
|
|
|
|
|
Returned: Conditionally |
160
|
|
|
|
|
|
|
|
161
|
|
|
|
|
|
|
# Returns: 'xs:anyURI' |
162
|
|
|
|
|
|
|
|
163
|
|
|
|
|
|
|
=cut |
164
|
|
|
|
|
|
|
|
165
|
|
|
|
|
|
|
sub getDeliveryURL { |
166
|
|
|
|
|
|
|
my $self = shift; |
167
|
|
|
|
|
|
|
return $self->{'DeliveryURL'}; |
168
|
|
|
|
|
|
|
} |
169
|
|
|
|
|
|
|
|
170
|
|
|
|
|
|
|
|
171
|
|
|
|
|
|
|
=head2 setDeliveryURLName() |
172
|
|
|
|
|
|
|
|
173
|
|
|
|
|
|
|
Returns the delivery URL name for the notification. This is the value set |
174
|
|
|
|
|
|
|
using SetNotificationPreferences. |
175
|
|
|
|
|
|
|
|
176
|
|
|
|
|
|
|
# Argument: 'xs:string' |
177
|
|
|
|
|
|
|
|
178
|
|
|
|
|
|
|
=cut |
179
|
|
|
|
|
|
|
|
180
|
|
|
|
|
|
|
sub setDeliveryURLName { |
181
|
|
|
|
|
|
|
my $self = shift; |
182
|
|
|
|
|
|
|
$self->{'DeliveryURLName'} = shift |
183
|
|
|
|
|
|
|
} |
184
|
|
|
|
|
|
|
|
185
|
|
|
|
|
|
|
=head2 getDeliveryURLName() |
186
|
|
|
|
|
|
|
|
187
|
|
|
|
|
|
|
Calls: GetNotificationsUsage |
188
|
|
|
|
|
|
|
Returned: Conditionally |
189
|
|
|
|
|
|
|
|
190
|
|
|
|
|
|
|
# Returns: 'xs:string' |
191
|
|
|
|
|
|
|
|
192
|
|
|
|
|
|
|
=cut |
193
|
|
|
|
|
|
|
|
194
|
|
|
|
|
|
|
sub getDeliveryURLName { |
195
|
|
|
|
|
|
|
my $self = shift; |
196
|
|
|
|
|
|
|
return $self->{'DeliveryURLName'}; |
197
|
|
|
|
|
|
|
} |
198
|
|
|
|
|
|
|
|
199
|
|
|
|
|
|
|
|
200
|
|
|
|
|
|
|
=head2 setErrorMessage() |
201
|
|
|
|
|
|
|
|
202
|
|
|
|
|
|
|
Returns the error message. |
203
|
|
|
|
|
|
|
|
204
|
|
|
|
|
|
|
# Argument: 'xs:string' |
205
|
|
|
|
|
|
|
|
206
|
|
|
|
|
|
|
=cut |
207
|
|
|
|
|
|
|
|
208
|
|
|
|
|
|
|
sub setErrorMessage { |
209
|
|
|
|
|
|
|
my $self = shift; |
210
|
|
|
|
|
|
|
$self->{'ErrorMessage'} = shift |
211
|
|
|
|
|
|
|
} |
212
|
|
|
|
|
|
|
|
213
|
|
|
|
|
|
|
=head2 getErrorMessage() |
214
|
|
|
|
|
|
|
|
215
|
|
|
|
|
|
|
Calls: GetNotificationsUsage |
216
|
|
|
|
|
|
|
Returned: Conditionally |
217
|
|
|
|
|
|
|
|
218
|
|
|
|
|
|
|
# Returns: 'xs:string' |
219
|
|
|
|
|
|
|
|
220
|
|
|
|
|
|
|
=cut |
221
|
|
|
|
|
|
|
|
222
|
|
|
|
|
|
|
sub getErrorMessage { |
223
|
|
|
|
|
|
|
my $self = shift; |
224
|
|
|
|
|
|
|
return $self->{'ErrorMessage'}; |
225
|
|
|
|
|
|
|
} |
226
|
|
|
|
|
|
|
|
227
|
|
|
|
|
|
|
|
228
|
|
|
|
|
|
|
=head2 setExpirationTime() |
229
|
|
|
|
|
|
|
|
230
|
|
|
|
|
|
|
Date and time when this notification will be removed from the |
231
|
|
|
|
|
|
|
eBay system. |
232
|
|
|
|
|
|
|
|
233
|
|
|
|
|
|
|
# Argument: 'xs:dateTime' |
234
|
|
|
|
|
|
|
|
235
|
|
|
|
|
|
|
=cut |
236
|
|
|
|
|
|
|
|
237
|
|
|
|
|
|
|
sub setExpirationTime { |
238
|
|
|
|
|
|
|
my $self = shift; |
239
|
|
|
|
|
|
|
$self->{'ExpirationTime'} = shift |
240
|
|
|
|
|
|
|
} |
241
|
|
|
|
|
|
|
|
242
|
|
|
|
|
|
|
=head2 getExpirationTime() |
243
|
|
|
|
|
|
|
|
244
|
|
|
|
|
|
|
Calls: GetNotificationsUsage |
245
|
|
|
|
|
|
|
Returned: Conditionally |
246
|
|
|
|
|
|
|
|
247
|
|
|
|
|
|
|
# Returns: 'xs:dateTime' |
248
|
|
|
|
|
|
|
|
249
|
|
|
|
|
|
|
=cut |
250
|
|
|
|
|
|
|
|
251
|
|
|
|
|
|
|
sub getExpirationTime { |
252
|
|
|
|
|
|
|
my $self = shift; |
253
|
|
|
|
|
|
|
return $self->{'ExpirationTime'}; |
254
|
|
|
|
|
|
|
} |
255
|
|
|
|
|
|
|
|
256
|
|
|
|
|
|
|
|
257
|
|
|
|
|
|
|
=head2 setNextRetryTime() |
258
|
|
|
|
|
|
|
|
259
|
|
|
|
|
|
|
Returns the time when the notification is scheduled for retry. |
260
|
|
|
|
|
|
|
This won't be included if the DeliveryStatus is Delivered. |
261
|
|
|
|
|
|
|
|
262
|
|
|
|
|
|
|
# Argument: 'xs:dateTime' |
263
|
|
|
|
|
|
|
|
264
|
|
|
|
|
|
|
=cut |
265
|
|
|
|
|
|
|
|
266
|
|
|
|
|
|
|
sub setNextRetryTime { |
267
|
|
|
|
|
|
|
my $self = shift; |
268
|
|
|
|
|
|
|
$self->{'NextRetryTime'} = shift |
269
|
|
|
|
|
|
|
} |
270
|
|
|
|
|
|
|
|
271
|
|
|
|
|
|
|
=head2 getNextRetryTime() |
272
|
|
|
|
|
|
|
|
273
|
|
|
|
|
|
|
Calls: GetNotificationsUsage |
274
|
|
|
|
|
|
|
Returned: Conditionally |
275
|
|
|
|
|
|
|
|
276
|
|
|
|
|
|
|
# Returns: 'xs:dateTime' |
277
|
|
|
|
|
|
|
|
278
|
|
|
|
|
|
|
=cut |
279
|
|
|
|
|
|
|
|
280
|
|
|
|
|
|
|
sub getNextRetryTime { |
281
|
|
|
|
|
|
|
my $self = shift; |
282
|
|
|
|
|
|
|
return $self->{'NextRetryTime'}; |
283
|
|
|
|
|
|
|
} |
284
|
|
|
|
|
|
|
|
285
|
|
|
|
|
|
|
|
286
|
|
|
|
|
|
|
=head2 setReferenceID() |
287
|
|
|
|
|
|
|
|
288
|
|
|
|
|
|
|
Reference identifier for the notification. |
289
|
|
|
|
|
|
|
|
290
|
|
|
|
|
|
|
# Argument: 'xs:string' |
291
|
|
|
|
|
|
|
|
292
|
|
|
|
|
|
|
=cut |
293
|
|
|
|
|
|
|
|
294
|
|
|
|
|
|
|
sub setReferenceID { |
295
|
|
|
|
|
|
|
my $self = shift; |
296
|
|
|
|
|
|
|
$self->{'ReferenceID'} = shift |
297
|
|
|
|
|
|
|
} |
298
|
|
|
|
|
|
|
|
299
|
|
|
|
|
|
|
=head2 getReferenceID() |
300
|
|
|
|
|
|
|
|
301
|
|
|
|
|
|
|
# Returns: 'xs:string' |
302
|
|
|
|
|
|
|
|
303
|
|
|
|
|
|
|
=cut |
304
|
|
|
|
|
|
|
|
305
|
|
|
|
|
|
|
sub getReferenceID { |
306
|
|
|
|
|
|
|
my $self = shift; |
307
|
|
|
|
|
|
|
return $self->{'ReferenceID'}; |
308
|
|
|
|
|
|
|
} |
309
|
|
|
|
|
|
|
|
310
|
|
|
|
|
|
|
|
311
|
|
|
|
|
|
|
=head2 setRetries() |
312
|
|
|
|
|
|
|
|
313
|
|
|
|
|
|
|
Returns the total number of retries for the given notification. |
314
|
|
|
|
|
|
|
|
315
|
|
|
|
|
|
|
# Argument: 'xs:int' |
316
|
|
|
|
|
|
|
|
317
|
|
|
|
|
|
|
=cut |
318
|
|
|
|
|
|
|
|
319
|
|
|
|
|
|
|
sub setRetries { |
320
|
|
|
|
|
|
|
my $self = shift; |
321
|
|
|
|
|
|
|
$self->{'Retries'} = shift |
322
|
|
|
|
|
|
|
} |
323
|
|
|
|
|
|
|
|
324
|
|
|
|
|
|
|
=head2 getRetries() |
325
|
|
|
|
|
|
|
|
326
|
|
|
|
|
|
|
Calls: GetNotificationsUsage |
327
|
|
|
|
|
|
|
Returned: Conditionally |
328
|
|
|
|
|
|
|
|
329
|
|
|
|
|
|
|
# Returns: 'xs:int' |
330
|
|
|
|
|
|
|
|
331
|
|
|
|
|
|
|
=cut |
332
|
|
|
|
|
|
|
|
333
|
|
|
|
|
|
|
sub getRetries { |
334
|
|
|
|
|
|
|
my $self = shift; |
335
|
|
|
|
|
|
|
return $self->{'Retries'}; |
336
|
|
|
|
|
|
|
} |
337
|
|
|
|
|
|
|
|
338
|
|
|
|
|
|
|
|
339
|
|
|
|
|
|
|
=head2 setType() |
340
|
|
|
|
|
|
|
|
341
|
|
|
|
|
|
|
Returns the notification type. Possible values include: AskSellerQuestion, |
342
|
|
|
|
|
|
|
AuctionCheckoutComplete, BestOffer, CheckoutBuyerRequestTotal, EndOfAuction, |
343
|
|
|
|
|
|
|
Feedback, FixedPriceEndOfTransaction, FixedPriceTransaction, ItemNotReceived, |
344
|
|
|
|
|
|
|
MyMessages, OutBid, SecondChanceOffer, UPIBuyerResponseDispute, UPISellerClosedDispute, |
345
|
|
|
|
|
|
|
UPISellerOpenedDispute, and UPISellerRespondedToDispute. |
346
|
|
|
|
|
|
|
|
347
|
|
|
|
|
|
|
# Argument: 'ns:NotificationEventTypeCodeType' |
348
|
|
|
|
|
|
|
|
349
|
|
|
|
|
|
|
=cut |
350
|
|
|
|
|
|
|
|
351
|
|
|
|
|
|
|
sub setType { |
352
|
|
|
|
|
|
|
my $self = shift; |
353
|
|
|
|
|
|
|
$self->{'Type'} = shift |
354
|
|
|
|
|
|
|
} |
355
|
|
|
|
|
|
|
|
356
|
|
|
|
|
|
|
=head2 getType() |
357
|
|
|
|
|
|
|
|
358
|
|
|
|
|
|
|
Calls: GetNotificationsUsage |
359
|
|
|
|
|
|
|
Returned: Conditionally |
360
|
|
|
|
|
|
|
|
361
|
|
|
|
|
|
|
# Returns: 'ns:NotificationEventTypeCodeType' |
362
|
|
|
|
|
|
|
|
363
|
|
|
|
|
|
|
=cut |
364
|
|
|
|
|
|
|
|
365
|
|
|
|
|
|
|
sub getType { |
366
|
|
|
|
|
|
|
my $self = shift; |
367
|
|
|
|
|
|
|
return $self->{'Type'}; |
368
|
|
|
|
|
|
|
} |
369
|
|
|
|
|
|
|
|
370
|
|
|
|
|
|
|
|
371
|
|
|
|
|
|
|
|
372
|
|
|
|
|
|
|
|
373
|
|
|
|
|
|
|
|
374
|
|
|
|
|
|
|
## Attribute and Property lists |
375
|
|
|
|
|
|
|
sub getPropertiesList { |
376
|
|
|
|
|
|
|
my $self = shift; |
377
|
|
|
|
|
|
|
return \@gaProperties; |
378
|
|
|
|
|
|
|
} |
379
|
|
|
|
|
|
|
|
380
|
|
|
|
|
|
|
sub getAttributesList { |
381
|
|
|
|
|
|
|
my $self = shift; |
382
|
|
|
|
|
|
|
return \@gaAttributes; |
383
|
|
|
|
|
|
|
} |
384
|
|
|
|
|
|
|
|
385
|
|
|
|
|
|
|
|
386
|
|
|
|
|
|
|
|
387
|
|
|
|
|
|
|
1; |