| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
#!/usr/bin/perl |
|
2
|
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package eBay::API::XML::Call::GetMyMessages::GetMyMessagesRequestType; |
|
4
|
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
1436
|
use strict; |
|
|
1
|
|
|
|
|
3
|
|
|
|
1
|
|
|
|
|
27
|
|
|
6
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
|
1
|
|
|
|
|
2
|
|
|
|
1
|
|
|
|
|
27
|
|
|
7
|
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
########################################################################## |
|
9
|
|
|
|
|
|
|
# |
|
10
|
|
|
|
|
|
|
# Module: ............... eBay/API/XML |
|
11
|
|
|
|
|
|
|
# File: ................. GetMyMessagesRequestType.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::GetMyMessages::GetMyMessagesRequestType |
|
21
|
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 DESCRIPTION |
|
23
|
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
Used to retrieve information about the messages and alerts sent |
|
25
|
|
|
|
|
|
|
to a given user. Depending on the detail level, this information |
|
26
|
|
|
|
|
|
|
can include message and alert counts, resolution and flagged |
|
27
|
|
|
|
|
|
|
status, message and/or alert headers, and message and/or alert |
|
28
|
|
|
|
|
|
|
body text. |
|
29
|
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
Note that this call requires a DetailLevel in the |
|
31
|
|
|
|
|
|
|
request. Omitting the Detail Level returns an error. |
|
32
|
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
ItemID is not returned with this call. Use GetMemberMessages instead. |
|
34
|
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=head1 SYNOPSIS |
|
38
|
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
=cut |
|
40
|
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
=head1 INHERITANCE |
|
43
|
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
eBay::API::XML::Call::GetMyMessages::GetMyMessagesRequestType inherits from the L class |
|
45
|
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
=cut |
|
47
|
|
|
|
|
|
|
|
|
48
|
1
|
|
|
1
|
|
34
|
use eBay::API::XML::RequestDataType; |
|
|
0
|
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
our @ISA = ("eBay::API::XML::RequestDataType"); |
|
50
|
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
use eBay::API::XML::DataType::MyMessagesAlertIDArrayType; |
|
52
|
|
|
|
|
|
|
use eBay::API::XML::DataType::MyMessagesExternalMessageIDArrayType; |
|
53
|
|
|
|
|
|
|
use eBay::API::XML::DataType::MyMessagesMessageIDArrayType; |
|
54
|
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
my @gaProperties = ( [ 'AlertIDs', 'ns:MyMessagesAlertIDArrayType', '' |
|
57
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::MyMessagesAlertIDArrayType', '1' ] |
|
58
|
|
|
|
|
|
|
, [ 'EndTime', 'xs:dateTime', '', '', '' ] |
|
59
|
|
|
|
|
|
|
, [ 'ExternalMessageIDs', 'ns:MyMessagesExternalMessageIDArrayType', '' |
|
60
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::MyMessagesExternalMessageIDArrayType', '1' ] |
|
61
|
|
|
|
|
|
|
, [ 'FolderID', 'xs:long', '', '', '' ] |
|
62
|
|
|
|
|
|
|
, [ 'MessageIDs', 'ns:MyMessagesMessageIDArrayType', '' |
|
63
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::MyMessagesMessageIDArrayType', '1' ] |
|
64
|
|
|
|
|
|
|
, [ 'StartTime', 'xs:dateTime', '', '', '' ] |
|
65
|
|
|
|
|
|
|
); |
|
66
|
|
|
|
|
|
|
push @gaProperties, @{eBay::API::XML::RequestDataType::getPropertiesList()}; |
|
67
|
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
my @gaAttributes = ( |
|
69
|
|
|
|
|
|
|
); |
|
70
|
|
|
|
|
|
|
push @gaAttributes, @{eBay::API::XML::RequestDataType::getAttributesList()}; |
|
71
|
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
=head1 Subroutines: |
|
73
|
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
=cut |
|
75
|
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
sub new { |
|
77
|
|
|
|
|
|
|
my $classname = shift; |
|
78
|
|
|
|
|
|
|
my %args = @_; |
|
79
|
|
|
|
|
|
|
my $self = $classname->SUPER::new(%args); |
|
80
|
|
|
|
|
|
|
return $self; |
|
81
|
|
|
|
|
|
|
} |
|
82
|
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
sub isScalar { |
|
84
|
|
|
|
|
|
|
return 0; |
|
85
|
|
|
|
|
|
|
} |
|
86
|
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
|
|
88
|
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
=head2 setAlertIDs() |
|
90
|
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
Contains a list of up to 10 AlertID values. |
|
92
|
|
|
|
|
|
|
When AlertID values are used as input, you must |
|
93
|
|
|
|
|
|
|
generally specify either AlertID values, or |
|
94
|
|
|
|
|
|
|
MessageID values, or both. |
|
95
|
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
RequiredInput: Conditionally |
|
97
|
|
|
|
|
|
|
# Argument: 'ns:MyMessagesAlertIDArrayType' |
|
98
|
|
|
|
|
|
|
|
|
99
|
|
|
|
|
|
|
=cut |
|
100
|
|
|
|
|
|
|
|
|
101
|
|
|
|
|
|
|
sub setAlertIDs { |
|
102
|
|
|
|
|
|
|
my $self = shift; |
|
103
|
|
|
|
|
|
|
$self->{'AlertIDs'} = shift |
|
104
|
|
|
|
|
|
|
} |
|
105
|
|
|
|
|
|
|
|
|
106
|
|
|
|
|
|
|
=head2 getAlertIDs() |
|
107
|
|
|
|
|
|
|
|
|
108
|
|
|
|
|
|
|
# Returns: 'ns:MyMessagesAlertIDArrayType' |
|
109
|
|
|
|
|
|
|
|
|
110
|
|
|
|
|
|
|
=cut |
|
111
|
|
|
|
|
|
|
|
|
112
|
|
|
|
|
|
|
sub getAlertIDs { |
|
113
|
|
|
|
|
|
|
my $self = shift; |
|
114
|
|
|
|
|
|
|
return $self->_getDataTypeInstance( 'AlertIDs' |
|
115
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::MyMessagesAlertIDArrayType'); |
|
116
|
|
|
|
|
|
|
} |
|
117
|
|
|
|
|
|
|
|
|
118
|
|
|
|
|
|
|
|
|
119
|
|
|
|
|
|
|
=head2 setEndTime() |
|
120
|
|
|
|
|
|
|
|
|
121
|
|
|
|
|
|
|
Used as end of date range filter. |
|
122
|
|
|
|
|
|
|
|
|
123
|
|
|
|
|
|
|
RequiredInput: Conditionally |
|
124
|
|
|
|
|
|
|
# Argument: 'xs:dateTime' |
|
125
|
|
|
|
|
|
|
|
|
126
|
|
|
|
|
|
|
=cut |
|
127
|
|
|
|
|
|
|
|
|
128
|
|
|
|
|
|
|
sub setEndTime { |
|
129
|
|
|
|
|
|
|
my $self = shift; |
|
130
|
|
|
|
|
|
|
$self->{'EndTime'} = shift |
|
131
|
|
|
|
|
|
|
} |
|
132
|
|
|
|
|
|
|
|
|
133
|
|
|
|
|
|
|
=head2 getEndTime() |
|
134
|
|
|
|
|
|
|
|
|
135
|
|
|
|
|
|
|
# Returns: 'xs:dateTime' |
|
136
|
|
|
|
|
|
|
|
|
137
|
|
|
|
|
|
|
=cut |
|
138
|
|
|
|
|
|
|
|
|
139
|
|
|
|
|
|
|
sub getEndTime { |
|
140
|
|
|
|
|
|
|
my $self = shift; |
|
141
|
|
|
|
|
|
|
return $self->{'EndTime'}; |
|
142
|
|
|
|
|
|
|
} |
|
143
|
|
|
|
|
|
|
|
|
144
|
|
|
|
|
|
|
|
|
145
|
|
|
|
|
|
|
=head2 setExternalMessageIDs() |
|
146
|
|
|
|
|
|
|
|
|
147
|
|
|
|
|
|
|
An ID that Uniquely identifies a message for a given user.If provided at the |
|
148
|
|
|
|
|
|
|
time of message creation this ID will be used to retrieve messages and will |
|
149
|
|
|
|
|
|
|
take precedence over message ID. |
|
150
|
|
|
|
|
|
|
|
|
151
|
|
|
|
|
|
|
RequiredInput: Conditionally |
|
152
|
|
|
|
|
|
|
# Argument: 'ns:MyMessagesExternalMessageIDArrayType' |
|
153
|
|
|
|
|
|
|
|
|
154
|
|
|
|
|
|
|
=cut |
|
155
|
|
|
|
|
|
|
|
|
156
|
|
|
|
|
|
|
sub setExternalMessageIDs { |
|
157
|
|
|
|
|
|
|
my $self = shift; |
|
158
|
|
|
|
|
|
|
$self->{'ExternalMessageIDs'} = shift |
|
159
|
|
|
|
|
|
|
} |
|
160
|
|
|
|
|
|
|
|
|
161
|
|
|
|
|
|
|
=head2 getExternalMessageIDs() |
|
162
|
|
|
|
|
|
|
|
|
163
|
|
|
|
|
|
|
# Returns: 'ns:MyMessagesExternalMessageIDArrayType' |
|
164
|
|
|
|
|
|
|
|
|
165
|
|
|
|
|
|
|
=cut |
|
166
|
|
|
|
|
|
|
|
|
167
|
|
|
|
|
|
|
sub getExternalMessageIDs { |
|
168
|
|
|
|
|
|
|
my $self = shift; |
|
169
|
|
|
|
|
|
|
return $self->_getDataTypeInstance( 'ExternalMessageIDs' |
|
170
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::MyMessagesExternalMessageIDArrayType'); |
|
171
|
|
|
|
|
|
|
} |
|
172
|
|
|
|
|
|
|
|
|
173
|
|
|
|
|
|
|
|
|
174
|
|
|
|
|
|
|
=head2 setFolderID() |
|
175
|
|
|
|
|
|
|
|
|
176
|
|
|
|
|
|
|
An ID that uniquely identifies the My Messages folder from which to retrieve alerts or messages. |
|
177
|
|
|
|
|
|
|
|
|
178
|
|
|
|
|
|
|
RequiredInput: No |
|
179
|
|
|
|
|
|
|
# Argument: 'xs:long' |
|
180
|
|
|
|
|
|
|
|
|
181
|
|
|
|
|
|
|
=cut |
|
182
|
|
|
|
|
|
|
|
|
183
|
|
|
|
|
|
|
sub setFolderID { |
|
184
|
|
|
|
|
|
|
my $self = shift; |
|
185
|
|
|
|
|
|
|
$self->{'FolderID'} = shift |
|
186
|
|
|
|
|
|
|
} |
|
187
|
|
|
|
|
|
|
|
|
188
|
|
|
|
|
|
|
=head2 getFolderID() |
|
189
|
|
|
|
|
|
|
|
|
190
|
|
|
|
|
|
|
# Returns: 'xs:long' |
|
191
|
|
|
|
|
|
|
|
|
192
|
|
|
|
|
|
|
=cut |
|
193
|
|
|
|
|
|
|
|
|
194
|
|
|
|
|
|
|
sub getFolderID { |
|
195
|
|
|
|
|
|
|
my $self = shift; |
|
196
|
|
|
|
|
|
|
return $self->{'FolderID'}; |
|
197
|
|
|
|
|
|
|
} |
|
198
|
|
|
|
|
|
|
|
|
199
|
|
|
|
|
|
|
|
|
200
|
|
|
|
|
|
|
=head2 setMessageIDs() |
|
201
|
|
|
|
|
|
|
|
|
202
|
|
|
|
|
|
|
Contains a list of up to 10 MessageID values. |
|
203
|
|
|
|
|
|
|
When MessageID values are used as input, you must |
|
204
|
|
|
|
|
|
|
generally specify either AlertID values, or |
|
205
|
|
|
|
|
|
|
MessageID values, or both. |
|
206
|
|
|
|
|
|
|
|
|
207
|
|
|
|
|
|
|
RequiredInput: Conditionally |
|
208
|
|
|
|
|
|
|
# Argument: 'ns:MyMessagesMessageIDArrayType' |
|
209
|
|
|
|
|
|
|
|
|
210
|
|
|
|
|
|
|
=cut |
|
211
|
|
|
|
|
|
|
|
|
212
|
|
|
|
|
|
|
sub setMessageIDs { |
|
213
|
|
|
|
|
|
|
my $self = shift; |
|
214
|
|
|
|
|
|
|
$self->{'MessageIDs'} = shift |
|
215
|
|
|
|
|
|
|
} |
|
216
|
|
|
|
|
|
|
|
|
217
|
|
|
|
|
|
|
=head2 getMessageIDs() |
|
218
|
|
|
|
|
|
|
|
|
219
|
|
|
|
|
|
|
# Returns: 'ns:MyMessagesMessageIDArrayType' |
|
220
|
|
|
|
|
|
|
|
|
221
|
|
|
|
|
|
|
=cut |
|
222
|
|
|
|
|
|
|
|
|
223
|
|
|
|
|
|
|
sub getMessageIDs { |
|
224
|
|
|
|
|
|
|
my $self = shift; |
|
225
|
|
|
|
|
|
|
return $self->_getDataTypeInstance( 'MessageIDs' |
|
226
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::MyMessagesMessageIDArrayType'); |
|
227
|
|
|
|
|
|
|
} |
|
228
|
|
|
|
|
|
|
|
|
229
|
|
|
|
|
|
|
|
|
230
|
|
|
|
|
|
|
=head2 setStartTime() |
|
231
|
|
|
|
|
|
|
|
|
232
|
|
|
|
|
|
|
Used as beginning of date range filter. |
|
233
|
|
|
|
|
|
|
|
|
234
|
|
|
|
|
|
|
RequiredInput: No |
|
235
|
|
|
|
|
|
|
# Argument: 'xs:dateTime' |
|
236
|
|
|
|
|
|
|
|
|
237
|
|
|
|
|
|
|
=cut |
|
238
|
|
|
|
|
|
|
|
|
239
|
|
|
|
|
|
|
sub setStartTime { |
|
240
|
|
|
|
|
|
|
my $self = shift; |
|
241
|
|
|
|
|
|
|
$self->{'StartTime'} = shift |
|
242
|
|
|
|
|
|
|
} |
|
243
|
|
|
|
|
|
|
|
|
244
|
|
|
|
|
|
|
=head2 getStartTime() |
|
245
|
|
|
|
|
|
|
|
|
246
|
|
|
|
|
|
|
# Returns: 'xs:dateTime' |
|
247
|
|
|
|
|
|
|
|
|
248
|
|
|
|
|
|
|
=cut |
|
249
|
|
|
|
|
|
|
|
|
250
|
|
|
|
|
|
|
sub getStartTime { |
|
251
|
|
|
|
|
|
|
my $self = shift; |
|
252
|
|
|
|
|
|
|
return $self->{'StartTime'}; |
|
253
|
|
|
|
|
|
|
} |
|
254
|
|
|
|
|
|
|
|
|
255
|
|
|
|
|
|
|
|
|
256
|
|
|
|
|
|
|
|
|
257
|
|
|
|
|
|
|
|
|
258
|
|
|
|
|
|
|
|
|
259
|
|
|
|
|
|
|
## Attribute and Property lists |
|
260
|
|
|
|
|
|
|
sub getPropertiesList { |
|
261
|
|
|
|
|
|
|
my $self = shift; |
|
262
|
|
|
|
|
|
|
return \@gaProperties; |
|
263
|
|
|
|
|
|
|
} |
|
264
|
|
|
|
|
|
|
|
|
265
|
|
|
|
|
|
|
sub getAttributesList { |
|
266
|
|
|
|
|
|
|
my $self = shift; |
|
267
|
|
|
|
|
|
|
return \@gaAttributes; |
|
268
|
|
|
|
|
|
|
} |
|
269
|
|
|
|
|
|
|
|
|
270
|
|
|
|
|
|
|
|
|
271
|
|
|
|
|
|
|
|
|
272
|
|
|
|
|
|
|
1; |