line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
#!/usr/bin/perl |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package eBay::API::XML::Call::GetMemberMessages; |
4
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
2339
|
use strict; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
26
|
|
6
|
1
|
|
|
1
|
|
4
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
25
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
########################################################################## |
9
|
|
|
|
|
|
|
# |
10
|
|
|
|
|
|
|
# Module: ............... eBay/API/XML |
11
|
|
|
|
|
|
|
# File: ................. GetMemberMessages.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::GetMemberMessages |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 DESCRIPTION |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
=head1 SYNOPSIS |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=cut |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
=head1 INHERITANCE |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
eBay::API::XML::Call::GetMemberMessages inherits from the L class |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
=cut |
36
|
|
|
|
|
|
|
|
37
|
1
|
|
|
1
|
|
44
|
use eBay::API::XML::BaseCall; |
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
our @ISA = ("eBay::API::XML::BaseCall"); |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
use eBay::API::XML::Call::GetMemberMessages::GetMemberMessagesRequestType; |
41
|
|
|
|
|
|
|
use eBay::API::XML::Call::GetMemberMessages::GetMemberMessagesResponseType; |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=head1 Subroutines: |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
=cut |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
sub getApiCallName { |
49
|
|
|
|
|
|
|
return 'GetMemberMessages'; |
50
|
|
|
|
|
|
|
} |
51
|
|
|
|
|
|
|
sub getRequestDataTypeFullPackage { |
52
|
|
|
|
|
|
|
return 'eBay::API::XML::Call::GetMemberMessages::GetMemberMessagesRequestType'; |
53
|
|
|
|
|
|
|
} |
54
|
|
|
|
|
|
|
sub getResponseDataTypeFullPackage { |
55
|
|
|
|
|
|
|
return 'eBay::API::XML::Call::GetMemberMessages::GetMemberMessagesResponseType'; |
56
|
|
|
|
|
|
|
} |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
# |
59
|
|
|
|
|
|
|
# input properties |
60
|
|
|
|
|
|
|
# |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
=head2 setDisplayToPublic() |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
Specifies if the message should be displayed on the |
65
|
|
|
|
|
|
|
website with the item listing. |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
RequiredInput: No |
68
|
|
|
|
|
|
|
# Argument: 'xs:boolean' |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
=cut |
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
sub setDisplayToPublic { |
73
|
|
|
|
|
|
|
my $self = shift; |
74
|
|
|
|
|
|
|
my $sDisplayToPublic = shift; |
75
|
|
|
|
|
|
|
$self->getRequestDataType()->setDisplayToPublic($sDisplayToPublic); |
76
|
|
|
|
|
|
|
} |
77
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
=head2 setEndCreationTime() |
79
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
Used as end of date range filter. If specified, filters |
81
|
|
|
|
|
|
|
the returned messages to only those with a creation date |
82
|
|
|
|
|
|
|
less than or equal to the specified date and time. |
83
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
For CEM messages, StartCreationTime and EndCreationTime |
85
|
|
|
|
|
|
|
must be provided. |
86
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
For ASQ messages, either the ItemID, or a date range |
88
|
|
|
|
|
|
|
(specified with StartCreationTime and EndCreationTime), |
89
|
|
|
|
|
|
|
or both must be included. |
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
RequiredInput: Conditionally |
92
|
|
|
|
|
|
|
# Argument: 'xs:dateTime' |
93
|
|
|
|
|
|
|
|
94
|
|
|
|
|
|
|
=cut |
95
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
sub setEndCreationTime { |
97
|
|
|
|
|
|
|
my $self = shift; |
98
|
|
|
|
|
|
|
my $sEndCreationTime = shift; |
99
|
|
|
|
|
|
|
$self->getRequestDataType()->setEndCreationTime($sEndCreationTime); |
100
|
|
|
|
|
|
|
} |
101
|
|
|
|
|
|
|
|
102
|
|
|
|
|
|
|
=head2 setItemID() |
103
|
|
|
|
|
|
|
|
104
|
|
|
|
|
|
|
The ID of the item the message is about. |
105
|
|
|
|
|
|
|
|
106
|
|
|
|
|
|
|
For ASQ messages, either the ItemID, or a date range |
107
|
|
|
|
|
|
|
(specified with StartCreationTime and EndCreationTime), |
108
|
|
|
|
|
|
|
or both must be included. ItemID is otherwise ignored. |
109
|
|
|
|
|
|
|
|
110
|
|
|
|
|
|
|
MaxLength: 19 (Note: The eBay database specifies 38. Currently, Item IDs are usually 9 to 12 digits) |
111
|
|
|
|
|
|
|
|
112
|
|
|
|
|
|
|
RequiredInput: Conditionally |
113
|
|
|
|
|
|
|
# Argument: 'ns:ItemIDType' |
114
|
|
|
|
|
|
|
|
115
|
|
|
|
|
|
|
=cut |
116
|
|
|
|
|
|
|
|
117
|
|
|
|
|
|
|
sub setItemID { |
118
|
|
|
|
|
|
|
my $self = shift; |
119
|
|
|
|
|
|
|
my $pItemID = shift; |
120
|
|
|
|
|
|
|
$self->getRequestDataType()->setItemID($pItemID); |
121
|
|
|
|
|
|
|
} |
122
|
|
|
|
|
|
|
|
123
|
|
|
|
|
|
|
=head2 setMailMessageType() |
124
|
|
|
|
|
|
|
|
125
|
|
|
|
|
|
|
The type of message. |
126
|
|
|
|
|
|
|
|
127
|
|
|
|
|
|
|
RequiredInput: Yes |
128
|
|
|
|
|
|
|
# Argument: 'ns:MessageTypeCodeType' |
129
|
|
|
|
|
|
|
|
130
|
|
|
|
|
|
|
=cut |
131
|
|
|
|
|
|
|
|
132
|
|
|
|
|
|
|
sub setMailMessageType { |
133
|
|
|
|
|
|
|
my $self = shift; |
134
|
|
|
|
|
|
|
my $sMailMessageType = shift; |
135
|
|
|
|
|
|
|
$self->getRequestDataType()->setMailMessageType($sMailMessageType); |
136
|
|
|
|
|
|
|
} |
137
|
|
|
|
|
|
|
|
138
|
|
|
|
|
|
|
=head2 setMemberMessageID() |
139
|
|
|
|
|
|
|
|
140
|
|
|
|
|
|
|
An ID that uniquely identifies the message for a given user to be retrieved. |
141
|
|
|
|
|
|
|
Used for the AskSellerQuestion notification only. |
142
|
|
|
|
|
|
|
|
143
|
|
|
|
|
|
|
RequiredInput: No |
144
|
|
|
|
|
|
|
# Argument: 'xs:string' |
145
|
|
|
|
|
|
|
|
146
|
|
|
|
|
|
|
=cut |
147
|
|
|
|
|
|
|
|
148
|
|
|
|
|
|
|
sub setMemberMessageID { |
149
|
|
|
|
|
|
|
my $self = shift; |
150
|
|
|
|
|
|
|
my $sMemberMessageID = shift; |
151
|
|
|
|
|
|
|
$self->getRequestDataType()->setMemberMessageID($sMemberMessageID); |
152
|
|
|
|
|
|
|
} |
153
|
|
|
|
|
|
|
|
154
|
|
|
|
|
|
|
=head2 setMessageStatus() |
155
|
|
|
|
|
|
|
|
156
|
|
|
|
|
|
|
The status of the message. |
157
|
|
|
|
|
|
|
|
158
|
|
|
|
|
|
|
RequiredInput: Conditionally |
159
|
|
|
|
|
|
|
# Argument: 'ns:MessageStatusTypeCodeType' |
160
|
|
|
|
|
|
|
|
161
|
|
|
|
|
|
|
=cut |
162
|
|
|
|
|
|
|
|
163
|
|
|
|
|
|
|
sub setMessageStatus { |
164
|
|
|
|
|
|
|
my $self = shift; |
165
|
|
|
|
|
|
|
my $sMessageStatus = shift; |
166
|
|
|
|
|
|
|
$self->getRequestDataType()->setMessageStatus($sMessageStatus); |
167
|
|
|
|
|
|
|
} |
168
|
|
|
|
|
|
|
|
169
|
|
|
|
|
|
|
=head2 setPagination() |
170
|
|
|
|
|
|
|
|
171
|
|
|
|
|
|
|
Standard pagination argument used to reduce response. |
172
|
|
|
|
|
|
|
|
173
|
|
|
|
|
|
|
RequiredInput: Yes |
174
|
|
|
|
|
|
|
# Argument: 'ns:PaginationType' |
175
|
|
|
|
|
|
|
|
176
|
|
|
|
|
|
|
=cut |
177
|
|
|
|
|
|
|
|
178
|
|
|
|
|
|
|
sub setPagination { |
179
|
|
|
|
|
|
|
my $self = shift; |
180
|
|
|
|
|
|
|
my $pPagination = shift; |
181
|
|
|
|
|
|
|
$self->getRequestDataType()->setPagination($pPagination); |
182
|
|
|
|
|
|
|
} |
183
|
|
|
|
|
|
|
|
184
|
|
|
|
|
|
|
=head2 setSenderID() |
185
|
|
|
|
|
|
|
|
186
|
|
|
|
|
|
|
An eBay ID that uniquely identifies a user. For |
187
|
|
|
|
|
|
|
GetMemberMessages, this is the sender of the message. If |
188
|
|
|
|
|
|
|
included in the request, returns only messages from the |
189
|
|
|
|
|
|
|
specified sender. |
190
|
|
|
|
|
|
|
|
191
|
|
|
|
|
|
|
RequiredInput: No |
192
|
|
|
|
|
|
|
# Argument: 'ns:UserIDType' |
193
|
|
|
|
|
|
|
|
194
|
|
|
|
|
|
|
=cut |
195
|
|
|
|
|
|
|
|
196
|
|
|
|
|
|
|
sub setSenderID { |
197
|
|
|
|
|
|
|
my $self = shift; |
198
|
|
|
|
|
|
|
my $pSenderID = shift; |
199
|
|
|
|
|
|
|
$self->getRequestDataType()->setSenderID($pSenderID); |
200
|
|
|
|
|
|
|
} |
201
|
|
|
|
|
|
|
|
202
|
|
|
|
|
|
|
=head2 setStartCreationTime() |
203
|
|
|
|
|
|
|
|
204
|
|
|
|
|
|
|
Used as beginning of date range filter. If specified, |
205
|
|
|
|
|
|
|
filters the returned messages to only those with a |
206
|
|
|
|
|
|
|
creation date greater than or equal to the specified |
207
|
|
|
|
|
|
|
date and time. |
208
|
|
|
|
|
|
|
|
209
|
|
|
|
|
|
|
For CEM messages, StartCreationTime and EndCreationTime |
210
|
|
|
|
|
|
|
must be provided. |
211
|
|
|
|
|
|
|
|
212
|
|
|
|
|
|
|
For ASQ messages, either the ItemID, or a date range |
213
|
|
|
|
|
|
|
(specified with StartCreationTime and EndCreationTime), |
214
|
|
|
|
|
|
|
or both must be included. |
215
|
|
|
|
|
|
|
|
216
|
|
|
|
|
|
|
RequiredInput: Conditionally |
217
|
|
|
|
|
|
|
# Argument: 'xs:dateTime' |
218
|
|
|
|
|
|
|
|
219
|
|
|
|
|
|
|
=cut |
220
|
|
|
|
|
|
|
|
221
|
|
|
|
|
|
|
sub setStartCreationTime { |
222
|
|
|
|
|
|
|
my $self = shift; |
223
|
|
|
|
|
|
|
my $sStartCreationTime = shift; |
224
|
|
|
|
|
|
|
$self->getRequestDataType()->setStartCreationTime($sStartCreationTime); |
225
|
|
|
|
|
|
|
} |
226
|
|
|
|
|
|
|
|
227
|
|
|
|
|
|
|
|
228
|
|
|
|
|
|
|
|
229
|
|
|
|
|
|
|
# |
230
|
|
|
|
|
|
|
# output properties |
231
|
|
|
|
|
|
|
# |
232
|
|
|
|
|
|
|
|
233
|
|
|
|
|
|
|
=head2 isHasMoreItems() |
234
|
|
|
|
|
|
|
|
235
|
|
|
|
|
|
|
Specifies whether the response has more items. |
236
|
|
|
|
|
|
|
|
237
|
|
|
|
|
|
|
Returned: Always |
238
|
|
|
|
|
|
|
# Returns: 'xs:boolean' |
239
|
|
|
|
|
|
|
|
240
|
|
|
|
|
|
|
=cut |
241
|
|
|
|
|
|
|
|
242
|
|
|
|
|
|
|
sub isHasMoreItems { |
243
|
|
|
|
|
|
|
my $self = shift; |
244
|
|
|
|
|
|
|
return $self->getResponseDataType()->isHasMoreItems(); |
245
|
|
|
|
|
|
|
} |
246
|
|
|
|
|
|
|
|
247
|
|
|
|
|
|
|
=head2 getMemberMessage() |
248
|
|
|
|
|
|
|
|
249
|
|
|
|
|
|
|
The returned member messages. Returned if messages that meet the request criteria exist. |
250
|
|
|
|
|
|
|
|
251
|
|
|
|
|
|
|
Returned: Conditionally |
252
|
|
|
|
|
|
|
# Returns: 'ns:MemberMessageExchangeArrayType' |
253
|
|
|
|
|
|
|
|
254
|
|
|
|
|
|
|
=cut |
255
|
|
|
|
|
|
|
|
256
|
|
|
|
|
|
|
sub getMemberMessage { |
257
|
|
|
|
|
|
|
my $self = shift; |
258
|
|
|
|
|
|
|
return $self->getResponseDataType()->getMemberMessage(); |
259
|
|
|
|
|
|
|
} |
260
|
|
|
|
|
|
|
|
261
|
|
|
|
|
|
|
=head2 getPaginationResult() |
262
|
|
|
|
|
|
|
|
263
|
|
|
|
|
|
|
Shows the pagination of data returned by requests. |
264
|
|
|
|
|
|
|
|
265
|
|
|
|
|
|
|
Returned: Always |
266
|
|
|
|
|
|
|
# Returns: 'ns:PaginationResultType' |
267
|
|
|
|
|
|
|
|
268
|
|
|
|
|
|
|
=cut |
269
|
|
|
|
|
|
|
|
270
|
|
|
|
|
|
|
sub getPaginationResult { |
271
|
|
|
|
|
|
|
my $self = shift; |
272
|
|
|
|
|
|
|
return $self->getResponseDataType()->getPaginationResult(); |
273
|
|
|
|
|
|
|
} |
274
|
|
|
|
|
|
|
|
275
|
|
|
|
|
|
|
|
276
|
|
|
|
|
|
|
|
277
|
|
|
|
|
|
|
|
278
|
|
|
|
|
|
|
|
279
|
|
|
|
|
|
|
1; |