line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
#!/usr/bin/perl |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package eBay::API::XML::DataType::MemberMessageExchangeType; |
4
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
1308
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
30
|
|
6
|
1
|
|
|
1
|
|
6
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
33
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
########################################################################## |
9
|
|
|
|
|
|
|
# |
10
|
|
|
|
|
|
|
# Module: ............... eBay/API/XML |
11
|
|
|
|
|
|
|
# File: ................. MemberMessageExchangeType.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::MemberMessageExchangeType |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 DESCRIPTION |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
Container for message metadata. |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=head1 SYNOPSIS |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=cut |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=head1 INHERITANCE |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
eBay::API::XML::DataType::MemberMessageExchangeType inherits from the L class |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=cut |
38
|
|
|
|
|
|
|
|
39
|
1
|
|
|
1
|
|
39
|
use eBay::API::XML::BaseDataType; |
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
our @ISA = ("eBay::API::XML::BaseDataType"); |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
use eBay::API::XML::DataType::ItemType; |
43
|
|
|
|
|
|
|
use eBay::API::XML::DataType::MemberMessageType; |
44
|
|
|
|
|
|
|
use eBay::API::XML::DataType::Enum::MessageStatusTypeCodeType; |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
my @gaProperties = ( [ 'CreationDate', 'xs:dateTime', '', '', '' ] |
48
|
|
|
|
|
|
|
, [ 'Item', 'ns:ItemType', '' |
49
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::ItemType', '1' ] |
50
|
|
|
|
|
|
|
, [ 'LastModifiedDate', 'xs:dateTime', '', '', '' ] |
51
|
|
|
|
|
|
|
, [ 'MessageStatus', 'ns:MessageStatusTypeCodeType', '' |
52
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::Enum::MessageStatusTypeCodeType', '' ] |
53
|
|
|
|
|
|
|
, [ 'Question', 'ns:MemberMessageType', '' |
54
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::MemberMessageType', '1' ] |
55
|
|
|
|
|
|
|
, [ 'Response', 'xs:string', '1', '', '' ] |
56
|
|
|
|
|
|
|
); |
57
|
|
|
|
|
|
|
push @gaProperties, @{eBay::API::XML::BaseDataType::getPropertiesList()}; |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
my @gaAttributes = ( |
60
|
|
|
|
|
|
|
); |
61
|
|
|
|
|
|
|
push @gaAttributes, @{eBay::API::XML::BaseDataType::getAttributesList()}; |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
=head1 Subroutines: |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
=cut |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
sub new { |
68
|
|
|
|
|
|
|
my $classname = shift; |
69
|
|
|
|
|
|
|
my %args = @_; |
70
|
|
|
|
|
|
|
my $self = $classname->SUPER::new(%args); |
71
|
|
|
|
|
|
|
return $self; |
72
|
|
|
|
|
|
|
} |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
sub isScalar { |
75
|
|
|
|
|
|
|
return 0; |
76
|
|
|
|
|
|
|
} |
77
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
=head2 setCreationDate() |
81
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
Date the message was created. In the request, used to filter response. Returned |
83
|
|
|
|
|
|
|
if the parent container is returned. |
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
# Argument: 'xs:dateTime' |
86
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
=cut |
88
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
sub setCreationDate { |
90
|
|
|
|
|
|
|
my $self = shift; |
91
|
|
|
|
|
|
|
$self->{'CreationDate'} = shift |
92
|
|
|
|
|
|
|
} |
93
|
|
|
|
|
|
|
|
94
|
|
|
|
|
|
|
=head2 getCreationDate() |
95
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
Calls: GetAdFormatLeads |
97
|
|
|
|
|
|
|
Returned: Conditionally |
98
|
|
|
|
|
|
|
Details: DetailLevel: ReturnAll |
99
|
|
|
|
|
|
|
|
100
|
|
|
|
|
|
|
# Returns: 'xs:dateTime' |
101
|
|
|
|
|
|
|
|
102
|
|
|
|
|
|
|
=cut |
103
|
|
|
|
|
|
|
|
104
|
|
|
|
|
|
|
sub getCreationDate { |
105
|
|
|
|
|
|
|
my $self = shift; |
106
|
|
|
|
|
|
|
return $self->{'CreationDate'}; |
107
|
|
|
|
|
|
|
} |
108
|
|
|
|
|
|
|
|
109
|
|
|
|
|
|
|
|
110
|
|
|
|
|
|
|
=head2 setItem() |
111
|
|
|
|
|
|
|
|
112
|
|
|
|
|
|
|
The item about which the question was asked. Returned if the parent container is returned. |
113
|
|
|
|
|
|
|
|
114
|
|
|
|
|
|
|
# Argument: 'ns:ItemType' |
115
|
|
|
|
|
|
|
|
116
|
|
|
|
|
|
|
=cut |
117
|
|
|
|
|
|
|
|
118
|
|
|
|
|
|
|
sub setItem { |
119
|
|
|
|
|
|
|
my $self = shift; |
120
|
|
|
|
|
|
|
$self->{'Item'} = shift |
121
|
|
|
|
|
|
|
} |
122
|
|
|
|
|
|
|
|
123
|
|
|
|
|
|
|
=head2 getItem() |
124
|
|
|
|
|
|
|
|
125
|
|
|
|
|
|
|
Calls: GetMemberMessages |
126
|
|
|
|
|
|
|
Returned: Conditionally |
127
|
|
|
|
|
|
|
|
128
|
|
|
|
|
|
|
# Returns: 'ns:ItemType' |
129
|
|
|
|
|
|
|
|
130
|
|
|
|
|
|
|
=cut |
131
|
|
|
|
|
|
|
|
132
|
|
|
|
|
|
|
sub getItem { |
133
|
|
|
|
|
|
|
my $self = shift; |
134
|
|
|
|
|
|
|
return $self->_getDataTypeInstance( 'Item' |
135
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::ItemType'); |
136
|
|
|
|
|
|
|
} |
137
|
|
|
|
|
|
|
|
138
|
|
|
|
|
|
|
|
139
|
|
|
|
|
|
|
=head2 setLastModifiedDate() |
140
|
|
|
|
|
|
|
|
141
|
|
|
|
|
|
|
Date the message was last modified. Returned if the parent container is returned. |
142
|
|
|
|
|
|
|
|
143
|
|
|
|
|
|
|
# Argument: 'xs:dateTime' |
144
|
|
|
|
|
|
|
|
145
|
|
|
|
|
|
|
=cut |
146
|
|
|
|
|
|
|
|
147
|
|
|
|
|
|
|
sub setLastModifiedDate { |
148
|
|
|
|
|
|
|
my $self = shift; |
149
|
|
|
|
|
|
|
$self->{'LastModifiedDate'} = shift |
150
|
|
|
|
|
|
|
} |
151
|
|
|
|
|
|
|
|
152
|
|
|
|
|
|
|
=head2 getLastModifiedDate() |
153
|
|
|
|
|
|
|
|
154
|
|
|
|
|
|
|
Calls: GetMemberMessages |
155
|
|
|
|
|
|
|
Returned: Conditionally |
156
|
|
|
|
|
|
|
|
157
|
|
|
|
|
|
|
# Returns: 'xs:dateTime' |
158
|
|
|
|
|
|
|
|
159
|
|
|
|
|
|
|
=cut |
160
|
|
|
|
|
|
|
|
161
|
|
|
|
|
|
|
sub getLastModifiedDate { |
162
|
|
|
|
|
|
|
my $self = shift; |
163
|
|
|
|
|
|
|
return $self->{'LastModifiedDate'}; |
164
|
|
|
|
|
|
|
} |
165
|
|
|
|
|
|
|
|
166
|
|
|
|
|
|
|
|
167
|
|
|
|
|
|
|
=head2 setMessageStatus() |
168
|
|
|
|
|
|
|
|
169
|
|
|
|
|
|
|
The status of the message. Returned if the parent container is returned. |
170
|
|
|
|
|
|
|
|
171
|
|
|
|
|
|
|
# Argument: 'ns:MessageStatusTypeCodeType' |
172
|
|
|
|
|
|
|
|
173
|
|
|
|
|
|
|
=cut |
174
|
|
|
|
|
|
|
|
175
|
|
|
|
|
|
|
sub setMessageStatus { |
176
|
|
|
|
|
|
|
my $self = shift; |
177
|
|
|
|
|
|
|
$self->{'MessageStatus'} = shift |
178
|
|
|
|
|
|
|
} |
179
|
|
|
|
|
|
|
|
180
|
|
|
|
|
|
|
=head2 getMessageStatus() |
181
|
|
|
|
|
|
|
|
182
|
|
|
|
|
|
|
Calls: GetMemberMessages |
183
|
|
|
|
|
|
|
Returned: Conditionally |
184
|
|
|
|
|
|
|
|
185
|
|
|
|
|
|
|
# Returns: 'ns:MessageStatusTypeCodeType' |
186
|
|
|
|
|
|
|
|
187
|
|
|
|
|
|
|
=cut |
188
|
|
|
|
|
|
|
|
189
|
|
|
|
|
|
|
sub getMessageStatus { |
190
|
|
|
|
|
|
|
my $self = shift; |
191
|
|
|
|
|
|
|
return $self->{'MessageStatus'}; |
192
|
|
|
|
|
|
|
} |
193
|
|
|
|
|
|
|
|
194
|
|
|
|
|
|
|
|
195
|
|
|
|
|
|
|
=head2 setQuestion() |
196
|
|
|
|
|
|
|
|
197
|
|
|
|
|
|
|
Contains all the information about the question being asked. Returned if the |
198
|
|
|
|
|
|
|
parent container is returned. |
199
|
|
|
|
|
|
|
|
200
|
|
|
|
|
|
|
# Argument: 'ns:MemberMessageType' |
201
|
|
|
|
|
|
|
|
202
|
|
|
|
|
|
|
=cut |
203
|
|
|
|
|
|
|
|
204
|
|
|
|
|
|
|
sub setQuestion { |
205
|
|
|
|
|
|
|
my $self = shift; |
206
|
|
|
|
|
|
|
$self->{'Question'} = shift |
207
|
|
|
|
|
|
|
} |
208
|
|
|
|
|
|
|
|
209
|
|
|
|
|
|
|
=head2 getQuestion() |
210
|
|
|
|
|
|
|
|
211
|
|
|
|
|
|
|
Calls: GetAdFormatLeads |
212
|
|
|
|
|
|
|
Returned: Conditionally |
213
|
|
|
|
|
|
|
Details: DetailLevel: ReturnAll |
214
|
|
|
|
|
|
|
|
215
|
|
|
|
|
|
|
Calls: GetMemberMessages |
216
|
|
|
|
|
|
|
Returned: Conditionally |
217
|
|
|
|
|
|
|
|
218
|
|
|
|
|
|
|
# Returns: 'ns:MemberMessageType' |
219
|
|
|
|
|
|
|
|
220
|
|
|
|
|
|
|
=cut |
221
|
|
|
|
|
|
|
|
222
|
|
|
|
|
|
|
sub getQuestion { |
223
|
|
|
|
|
|
|
my $self = shift; |
224
|
|
|
|
|
|
|
return $self->_getDataTypeInstance( 'Question' |
225
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::MemberMessageType'); |
226
|
|
|
|
|
|
|
} |
227
|
|
|
|
|
|
|
|
228
|
|
|
|
|
|
|
|
229
|
|
|
|
|
|
|
=head2 setResponse() |
230
|
|
|
|
|
|
|
|
231
|
|
|
|
|
|
|
An answer to the question. Returned if the parent container is returned. |
232
|
|
|
|
|
|
|
|
233
|
|
|
|
|
|
|
For GetAdFormatLeads, returned if the seller responded to the |
234
|
|
|
|
|
|
|
lead's question. Contains the body of the seller's response |
235
|
|
|
|
|
|
|
message. |
236
|
|
|
|
|
|
|
|
237
|
|
|
|
|
|
|
# Argument: reference to an array |
238
|
|
|
|
|
|
|
of 'xs:string' |
239
|
|
|
|
|
|
|
|
240
|
|
|
|
|
|
|
=cut |
241
|
|
|
|
|
|
|
|
242
|
|
|
|
|
|
|
sub setResponse { |
243
|
|
|
|
|
|
|
my $self = shift; |
244
|
|
|
|
|
|
|
$self->{'Response'} = |
245
|
|
|
|
|
|
|
$self->convertArray_To_RefToArrayIfNeeded(@_); |
246
|
|
|
|
|
|
|
} |
247
|
|
|
|
|
|
|
|
248
|
|
|
|
|
|
|
=head2 getResponse() |
249
|
|
|
|
|
|
|
|
250
|
|
|
|
|
|
|
Calls: GetAdFormatLeads |
251
|
|
|
|
|
|
|
Returned: Conditionally |
252
|
|
|
|
|
|
|
Details: DetailLevel: ReturnAll |
253
|
|
|
|
|
|
|
|
254
|
|
|
|
|
|
|
Calls: GetMemberMessages |
255
|
|
|
|
|
|
|
Returned: Conditionally |
256
|
|
|
|
|
|
|
|
257
|
|
|
|
|
|
|
# Returns: reference to an array |
258
|
|
|
|
|
|
|
of 'xs:string' |
259
|
|
|
|
|
|
|
|
260
|
|
|
|
|
|
|
=cut |
261
|
|
|
|
|
|
|
|
262
|
|
|
|
|
|
|
sub getResponse { |
263
|
|
|
|
|
|
|
my $self = shift; |
264
|
|
|
|
|
|
|
return $self->_getDataTypeArray('Response'); |
265
|
|
|
|
|
|
|
} |
266
|
|
|
|
|
|
|
|
267
|
|
|
|
|
|
|
|
268
|
|
|
|
|
|
|
|
269
|
|
|
|
|
|
|
|
270
|
|
|
|
|
|
|
|
271
|
|
|
|
|
|
|
## Attribute and Property lists |
272
|
|
|
|
|
|
|
sub getPropertiesList { |
273
|
|
|
|
|
|
|
my $self = shift; |
274
|
|
|
|
|
|
|
return \@gaProperties; |
275
|
|
|
|
|
|
|
} |
276
|
|
|
|
|
|
|
|
277
|
|
|
|
|
|
|
sub getAttributesList { |
278
|
|
|
|
|
|
|
my $self = shift; |
279
|
|
|
|
|
|
|
return \@gaAttributes; |
280
|
|
|
|
|
|
|
} |
281
|
|
|
|
|
|
|
|
282
|
|
|
|
|
|
|
|
283
|
|
|
|
|
|
|
|
284
|
|
|
|
|
|
|
1; |