line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
#!/usr/bin/perl |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package eBay::API::XML::DataType::AdFormatLeadType; |
4
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
1284
|
use strict; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
29
|
|
6
|
1
|
|
|
1
|
|
4
|
use warnings; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
26
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
########################################################################## |
9
|
|
|
|
|
|
|
# |
10
|
|
|
|
|
|
|
# Module: ............... eBay/API/XML |
11
|
|
|
|
|
|
|
# File: ................. AdFormatLeadType.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::AdFormatLeadType |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 DESCRIPTION |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
Contains prospective buyer contact information and other details associated with |
25
|
|
|
|
|
|
|
a lead for an ad format listing. |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
=head1 SYNOPSIS |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
=cut |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=head1 INHERITANCE |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
eBay::API::XML::DataType::AdFormatLeadType inherits from the L class |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
=cut |
39
|
|
|
|
|
|
|
|
40
|
1
|
|
|
1
|
|
34
|
use eBay::API::XML::BaseDataType; |
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
our @ISA = ("eBay::API::XML::BaseDataType"); |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
use eBay::API::XML::DataType::AddressType; |
44
|
|
|
|
|
|
|
use eBay::API::XML::DataType::AmountType; |
45
|
|
|
|
|
|
|
use eBay::API::XML::DataType::ItemIDType; |
46
|
|
|
|
|
|
|
use eBay::API::XML::DataType::MemberMessageExchangeArrayType; |
47
|
|
|
|
|
|
|
use eBay::API::XML::DataType::UserIDType; |
48
|
|
|
|
|
|
|
use eBay::API::XML::DataType::Enum::AdFormatLeadStatusCodeType; |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
my @gaProperties = ( [ 'AdditionalInformation', 'xs:string', '', '', '' ] |
52
|
|
|
|
|
|
|
, [ 'Address', 'ns:AddressType', '' |
53
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::AddressType', '1' ] |
54
|
|
|
|
|
|
|
, [ 'Answer1', 'xs:boolean', '', '', '' ] |
55
|
|
|
|
|
|
|
, [ 'Answer2', 'xs:boolean', '', '', '' ] |
56
|
|
|
|
|
|
|
, [ 'BestTimeToCall', 'xs:string', '', '', '' ] |
57
|
|
|
|
|
|
|
, [ 'Email', 'xs:string', '', '', '' ] |
58
|
|
|
|
|
|
|
, [ 'ExternalEmail', 'xs:string', '', '', '' ] |
59
|
|
|
|
|
|
|
, [ 'FinancingAnswer', 'xs:boolean', '', '', '' ] |
60
|
|
|
|
|
|
|
, [ 'ItemID', 'ns:ItemIDType', '' |
61
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::ItemIDType', '1' ] |
62
|
|
|
|
|
|
|
, [ 'ItemTitle', 'xs:string', '', '', '' ] |
63
|
|
|
|
|
|
|
, [ 'LeadFee', 'ns:AmountType', '' |
64
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::AmountType', '1' ] |
65
|
|
|
|
|
|
|
, [ 'MemberMessage', 'ns:MemberMessageExchangeArrayType', '' |
66
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::MemberMessageExchangeArrayType', '1' ] |
67
|
|
|
|
|
|
|
, [ 'PurchaseTimeFrame', 'xs:string', '', '', '' ] |
68
|
|
|
|
|
|
|
, [ 'Status', 'ns:AdFormatLeadStatusCodeType', '' |
69
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::Enum::AdFormatLeadStatusCodeType', '' ] |
70
|
|
|
|
|
|
|
, [ 'SubmittedTime', 'xs:dateTime', '', '', '' ] |
71
|
|
|
|
|
|
|
, [ 'TradeInMake', 'xs:string', '', '', '' ] |
72
|
|
|
|
|
|
|
, [ 'TradeInModel', 'xs:string', '', '', '' ] |
73
|
|
|
|
|
|
|
, [ 'TradeInYear', 'xs:string', '', '', '' ] |
74
|
|
|
|
|
|
|
, [ 'UserID', 'ns:UserIDType', '' |
75
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::UserIDType', '1' ] |
76
|
|
|
|
|
|
|
); |
77
|
|
|
|
|
|
|
push @gaProperties, @{eBay::API::XML::BaseDataType::getPropertiesList()}; |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
my @gaAttributes = ( |
80
|
|
|
|
|
|
|
); |
81
|
|
|
|
|
|
|
push @gaAttributes, @{eBay::API::XML::BaseDataType::getAttributesList()}; |
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
=head1 Subroutines: |
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
=cut |
86
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
sub new { |
88
|
|
|
|
|
|
|
my $classname = shift; |
89
|
|
|
|
|
|
|
my %args = @_; |
90
|
|
|
|
|
|
|
my $self = $classname->SUPER::new(%args); |
91
|
|
|
|
|
|
|
return $self; |
92
|
|
|
|
|
|
|
} |
93
|
|
|
|
|
|
|
|
94
|
|
|
|
|
|
|
sub isScalar { |
95
|
|
|
|
|
|
|
return 0; |
96
|
|
|
|
|
|
|
} |
97
|
|
|
|
|
|
|
|
98
|
|
|
|
|
|
|
|
99
|
|
|
|
|
|
|
|
100
|
|
|
|
|
|
|
=head2 setAdditionalInformation() |
101
|
|
|
|
|
|
|
|
102
|
|
|
|
|
|
|
Message sent from the prospective buyer to the seller. Same |
103
|
|
|
|
|
|
|
content as in the AdFormatLead.MemberMessage.MemberMessageExchange.Question.Body node (that is only displayed if IncludeMemberMessages = |
104
|
|
|
|
|
|
|
true is included in the request). The advantage of |
105
|
|
|
|
|
|
|
retrieving the MemberMessageExchange node, however, is that |
106
|
|
|
|
|
|
|
you retrieve the entire exchange between the seller and the |
107
|
|
|
|
|
|
|
lead. |
108
|
|
|
|
|
|
|
|
109
|
|
|
|
|
|
|
# Argument: 'xs:string' |
110
|
|
|
|
|
|
|
|
111
|
|
|
|
|
|
|
=cut |
112
|
|
|
|
|
|
|
|
113
|
|
|
|
|
|
|
sub setAdditionalInformation { |
114
|
|
|
|
|
|
|
my $self = shift; |
115
|
|
|
|
|
|
|
$self->{'AdditionalInformation'} = shift |
116
|
|
|
|
|
|
|
} |
117
|
|
|
|
|
|
|
|
118
|
|
|
|
|
|
|
=head2 getAdditionalInformation() |
119
|
|
|
|
|
|
|
|
120
|
|
|
|
|
|
|
Calls: GetAdFormatLeads |
121
|
|
|
|
|
|
|
Returned: Conditionally |
122
|
|
|
|
|
|
|
Details: DetailLevel: ReturnAll |
123
|
|
|
|
|
|
|
|
124
|
|
|
|
|
|
|
# Returns: 'xs:string' |
125
|
|
|
|
|
|
|
|
126
|
|
|
|
|
|
|
=cut |
127
|
|
|
|
|
|
|
|
128
|
|
|
|
|
|
|
sub getAdditionalInformation { |
129
|
|
|
|
|
|
|
my $self = shift; |
130
|
|
|
|
|
|
|
return $self->{'AdditionalInformation'}; |
131
|
|
|
|
|
|
|
} |
132
|
|
|
|
|
|
|
|
133
|
|
|
|
|
|
|
|
134
|
|
|
|
|
|
|
=head2 setAddress() |
135
|
|
|
|
|
|
|
|
136
|
|
|
|
|
|
|
Address information for the prospective buyer. |
137
|
|
|
|
|
|
|
Not returned or returned self-closed if information is unavailable. |
138
|
|
|
|
|
|
|
|
139
|
|
|
|
|
|
|
# Argument: 'ns:AddressType' |
140
|
|
|
|
|
|
|
|
141
|
|
|
|
|
|
|
=cut |
142
|
|
|
|
|
|
|
|
143
|
|
|
|
|
|
|
sub setAddress { |
144
|
|
|
|
|
|
|
my $self = shift; |
145
|
|
|
|
|
|
|
$self->{'Address'} = shift |
146
|
|
|
|
|
|
|
} |
147
|
|
|
|
|
|
|
|
148
|
|
|
|
|
|
|
=head2 getAddress() |
149
|
|
|
|
|
|
|
|
150
|
|
|
|
|
|
|
Calls: GetAdFormatLeads |
151
|
|
|
|
|
|
|
Returned: Conditionally |
152
|
|
|
|
|
|
|
Details: DetailLevel: ReturnAll |
153
|
|
|
|
|
|
|
|
154
|
|
|
|
|
|
|
# Returns: 'ns:AddressType' |
155
|
|
|
|
|
|
|
|
156
|
|
|
|
|
|
|
=cut |
157
|
|
|
|
|
|
|
|
158
|
|
|
|
|
|
|
sub getAddress { |
159
|
|
|
|
|
|
|
my $self = shift; |
160
|
|
|
|
|
|
|
return $self->_getDataTypeInstance( 'Address' |
161
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::AddressType'); |
162
|
|
|
|
|
|
|
} |
163
|
|
|
|
|
|
|
|
164
|
|
|
|
|
|
|
|
165
|
|
|
|
|
|
|
=head2 setAnswer1() |
166
|
|
|
|
|
|
|
|
167
|
|
|
|
|
|
|
This field corresponds to a configurable question on the lead form in the View |
168
|
|
|
|
|
|
|
Item web page. The corresponding question is site-specific. To determine the |
169
|
|
|
|
|
|
|
question for a specific site, you must view the form in the web flow for the given |
170
|
|
|
|
|
|
|
site. This field applies to Classified Ad format listings in Motors categories |
171
|
|
|
|
|
|
|
only. |
172
|
|
|
|
|
|
|
|
173
|
|
|
|
|
|
|
MaxLength: 1 |
174
|
|
|
|
|
|
|
|
175
|
|
|
|
|
|
|
# Argument: 'xs:boolean' |
176
|
|
|
|
|
|
|
|
177
|
|
|
|
|
|
|
=cut |
178
|
|
|
|
|
|
|
|
179
|
|
|
|
|
|
|
sub setAnswer1 { |
180
|
|
|
|
|
|
|
my $self = shift; |
181
|
|
|
|
|
|
|
$self->{'Answer1'} = shift |
182
|
|
|
|
|
|
|
} |
183
|
|
|
|
|
|
|
|
184
|
|
|
|
|
|
|
=head2 isAnswer1() |
185
|
|
|
|
|
|
|
|
186
|
|
|
|
|
|
|
Calls: GetAdFormatLeads |
187
|
|
|
|
|
|
|
Returned: Conditionally |
188
|
|
|
|
|
|
|
Details: DetailLevel: ReturnAll |
189
|
|
|
|
|
|
|
|
190
|
|
|
|
|
|
|
# Returns: 'xs:boolean' |
191
|
|
|
|
|
|
|
|
192
|
|
|
|
|
|
|
=cut |
193
|
|
|
|
|
|
|
|
194
|
|
|
|
|
|
|
sub isAnswer1 { |
195
|
|
|
|
|
|
|
my $self = shift; |
196
|
|
|
|
|
|
|
return $self->{'Answer1'}; |
197
|
|
|
|
|
|
|
} |
198
|
|
|
|
|
|
|
|
199
|
|
|
|
|
|
|
|
200
|
|
|
|
|
|
|
=head2 setAnswer2() |
201
|
|
|
|
|
|
|
|
202
|
|
|
|
|
|
|
This field corresponds to a configurable question on the lead form in the View |
203
|
|
|
|
|
|
|
Item web page. The corresponding question is site-specific. To determine the |
204
|
|
|
|
|
|
|
question for a specific site, you must view the form in the web flow for the given |
205
|
|
|
|
|
|
|
site. This field applies to Classified Ad format listings in Motors categories |
206
|
|
|
|
|
|
|
only. |
207
|
|
|
|
|
|
|
|
208
|
|
|
|
|
|
|
MaxLength: 1 |
209
|
|
|
|
|
|
|
|
210
|
|
|
|
|
|
|
# Argument: 'xs:boolean' |
211
|
|
|
|
|
|
|
|
212
|
|
|
|
|
|
|
=cut |
213
|
|
|
|
|
|
|
|
214
|
|
|
|
|
|
|
sub setAnswer2 { |
215
|
|
|
|
|
|
|
my $self = shift; |
216
|
|
|
|
|
|
|
$self->{'Answer2'} = shift |
217
|
|
|
|
|
|
|
} |
218
|
|
|
|
|
|
|
|
219
|
|
|
|
|
|
|
=head2 isAnswer2() |
220
|
|
|
|
|
|
|
|
221
|
|
|
|
|
|
|
Calls: GetAdFormatLeads |
222
|
|
|
|
|
|
|
Returned: Conditionally |
223
|
|
|
|
|
|
|
Details: DetailLevel: ReturnAll |
224
|
|
|
|
|
|
|
|
225
|
|
|
|
|
|
|
# Returns: 'xs:boolean' |
226
|
|
|
|
|
|
|
|
227
|
|
|
|
|
|
|
=cut |
228
|
|
|
|
|
|
|
|
229
|
|
|
|
|
|
|
sub isAnswer2 { |
230
|
|
|
|
|
|
|
my $self = shift; |
231
|
|
|
|
|
|
|
return $self->{'Answer2'}; |
232
|
|
|
|
|
|
|
} |
233
|
|
|
|
|
|
|
|
234
|
|
|
|
|
|
|
|
235
|
|
|
|
|
|
|
=head2 setBestTimeToCall() |
236
|
|
|
|
|
|
|
|
237
|
|
|
|
|
|
|
The time of day when the prospective buyer prefers to be contacted by the |
238
|
|
|
|
|
|
|
seller. |
239
|
|
|
|
|
|
|
Not returned if information is unavailable. |
240
|
|
|
|
|
|
|
|
241
|
|
|
|
|
|
|
# Argument: 'xs:string' |
242
|
|
|
|
|
|
|
|
243
|
|
|
|
|
|
|
=cut |
244
|
|
|
|
|
|
|
|
245
|
|
|
|
|
|
|
sub setBestTimeToCall { |
246
|
|
|
|
|
|
|
my $self = shift; |
247
|
|
|
|
|
|
|
$self->{'BestTimeToCall'} = shift |
248
|
|
|
|
|
|
|
} |
249
|
|
|
|
|
|
|
|
250
|
|
|
|
|
|
|
=head2 getBestTimeToCall() |
251
|
|
|
|
|
|
|
|
252
|
|
|
|
|
|
|
Calls: GetAdFormatLeads |
253
|
|
|
|
|
|
|
Returned: Conditionally |
254
|
|
|
|
|
|
|
Details: DetailLevel: ReturnAll |
255
|
|
|
|
|
|
|
|
256
|
|
|
|
|
|
|
# Returns: 'xs:string' |
257
|
|
|
|
|
|
|
|
258
|
|
|
|
|
|
|
=cut |
259
|
|
|
|
|
|
|
|
260
|
|
|
|
|
|
|
sub getBestTimeToCall { |
261
|
|
|
|
|
|
|
my $self = shift; |
262
|
|
|
|
|
|
|
return $self->{'BestTimeToCall'}; |
263
|
|
|
|
|
|
|
} |
264
|
|
|
|
|
|
|
|
265
|
|
|
|
|
|
|
|
266
|
|
|
|
|
|
|
=head2 setEmail() |
267
|
|
|
|
|
|
|
|
268
|
|
|
|
|
|
|
Email address for the prospective buyer. If the prospective buyer chooses to |
269
|
|
|
|
|
|
|
hide his email address when contacting the seller, this element contains two |
270
|
|
|
|
|
|
|
dashes (--) instead of an email address. |
271
|
|
|
|
|
|
|
|
272
|
|
|
|
|
|
|
# Argument: 'xs:string' |
273
|
|
|
|
|
|
|
|
274
|
|
|
|
|
|
|
=cut |
275
|
|
|
|
|
|
|
|
276
|
|
|
|
|
|
|
sub setEmail { |
277
|
|
|
|
|
|
|
my $self = shift; |
278
|
|
|
|
|
|
|
$self->{'Email'} = shift |
279
|
|
|
|
|
|
|
} |
280
|
|
|
|
|
|
|
|
281
|
|
|
|
|
|
|
=head2 getEmail() |
282
|
|
|
|
|
|
|
|
283
|
|
|
|
|
|
|
Calls: GetAdFormatLeads |
284
|
|
|
|
|
|
|
Returned: Conditionally |
285
|
|
|
|
|
|
|
Details: DetailLevel: ReturnAll |
286
|
|
|
|
|
|
|
|
287
|
|
|
|
|
|
|
# Returns: 'xs:string' |
288
|
|
|
|
|
|
|
|
289
|
|
|
|
|
|
|
=cut |
290
|
|
|
|
|
|
|
|
291
|
|
|
|
|
|
|
sub getEmail { |
292
|
|
|
|
|
|
|
my $self = shift; |
293
|
|
|
|
|
|
|
return $self->{'Email'}; |
294
|
|
|
|
|
|
|
} |
295
|
|
|
|
|
|
|
|
296
|
|
|
|
|
|
|
|
297
|
|
|
|
|
|
|
=head2 setExternalEmail() |
298
|
|
|
|
|
|
|
|
299
|
|
|
|
|
|
|
Email address for the prospective buyer as entered in the lead form on the View |
300
|
|
|
|
|
|
|
Item page. Provides a way for sellers to contact prospective buyers who choose not to |
301
|
|
|
|
|
|
|
log in to eBay. This applies to only eBay Motors and eBay Motors categories. |
302
|
|
|
|
|
|
|
|
303
|
|
|
|
|
|
|
MaxLength: 128 |
304
|
|
|
|
|
|
|
|
305
|
|
|
|
|
|
|
# Argument: 'xs:string' |
306
|
|
|
|
|
|
|
|
307
|
|
|
|
|
|
|
=cut |
308
|
|
|
|
|
|
|
|
309
|
|
|
|
|
|
|
sub setExternalEmail { |
310
|
|
|
|
|
|
|
my $self = shift; |
311
|
|
|
|
|
|
|
$self->{'ExternalEmail'} = shift |
312
|
|
|
|
|
|
|
} |
313
|
|
|
|
|
|
|
|
314
|
|
|
|
|
|
|
=head2 getExternalEmail() |
315
|
|
|
|
|
|
|
|
316
|
|
|
|
|
|
|
Calls: GetAdFormatLeads |
317
|
|
|
|
|
|
|
Returned: Conditionally |
318
|
|
|
|
|
|
|
Details: DetailLevel: ReturnAll |
319
|
|
|
|
|
|
|
|
320
|
|
|
|
|
|
|
# Returns: 'xs:string' |
321
|
|
|
|
|
|
|
|
322
|
|
|
|
|
|
|
=cut |
323
|
|
|
|
|
|
|
|
324
|
|
|
|
|
|
|
sub getExternalEmail { |
325
|
|
|
|
|
|
|
my $self = shift; |
326
|
|
|
|
|
|
|
return $self->{'ExternalEmail'}; |
327
|
|
|
|
|
|
|
} |
328
|
|
|
|
|
|
|
|
329
|
|
|
|
|
|
|
|
330
|
|
|
|
|
|
|
=head2 setFinancingAnswer() |
331
|
|
|
|
|
|
|
|
332
|
|
|
|
|
|
|
Prospective buyer answer whether or not the prospective buyer would like |
333
|
|
|
|
|
|
|
financing. Entered on the lead form on the View Item page. Applies to eBay Motors |
334
|
|
|
|
|
|
|
and Motors categories only. Financing response meanings: 0= no response,1= yes, 2= |
335
|
|
|
|
|
|
|
no. |
336
|
|
|
|
|
|
|
|
337
|
|
|
|
|
|
|
MaxLength: 1 |
338
|
|
|
|
|
|
|
|
339
|
|
|
|
|
|
|
# Argument: 'xs:boolean' |
340
|
|
|
|
|
|
|
|
341
|
|
|
|
|
|
|
=cut |
342
|
|
|
|
|
|
|
|
343
|
|
|
|
|
|
|
sub setFinancingAnswer { |
344
|
|
|
|
|
|
|
my $self = shift; |
345
|
|
|
|
|
|
|
$self->{'FinancingAnswer'} = shift |
346
|
|
|
|
|
|
|
} |
347
|
|
|
|
|
|
|
|
348
|
|
|
|
|
|
|
=head2 isFinancingAnswer() |
349
|
|
|
|
|
|
|
|
350
|
|
|
|
|
|
|
Calls: GetAdFormatLeads |
351
|
|
|
|
|
|
|
Returned: Conditionally |
352
|
|
|
|
|
|
|
Details: DetailLevel: ReturnAll |
353
|
|
|
|
|
|
|
|
354
|
|
|
|
|
|
|
# Returns: 'xs:boolean' |
355
|
|
|
|
|
|
|
|
356
|
|
|
|
|
|
|
=cut |
357
|
|
|
|
|
|
|
|
358
|
|
|
|
|
|
|
sub isFinancingAnswer { |
359
|
|
|
|
|
|
|
my $self = shift; |
360
|
|
|
|
|
|
|
return $self->{'FinancingAnswer'}; |
361
|
|
|
|
|
|
|
} |
362
|
|
|
|
|
|
|
|
363
|
|
|
|
|
|
|
|
364
|
|
|
|
|
|
|
=head2 setItemID() |
365
|
|
|
|
|
|
|
|
366
|
|
|
|
|
|
|
The ID of the item that the lead is for. |
367
|
|
|
|
|
|
|
|
368
|
|
|
|
|
|
|
# Argument: 'ns:ItemIDType' |
369
|
|
|
|
|
|
|
|
370
|
|
|
|
|
|
|
=cut |
371
|
|
|
|
|
|
|
|
372
|
|
|
|
|
|
|
sub setItemID { |
373
|
|
|
|
|
|
|
my $self = shift; |
374
|
|
|
|
|
|
|
$self->{'ItemID'} = shift |
375
|
|
|
|
|
|
|
} |
376
|
|
|
|
|
|
|
|
377
|
|
|
|
|
|
|
=head2 getItemID() |
378
|
|
|
|
|
|
|
|
379
|
|
|
|
|
|
|
Calls: GetAdFormatLeads |
380
|
|
|
|
|
|
|
Returned: Conditionally |
381
|
|
|
|
|
|
|
Details: DetailLevel: ReturnAll |
382
|
|
|
|
|
|
|
|
383
|
|
|
|
|
|
|
# Returns: 'ns:ItemIDType' |
384
|
|
|
|
|
|
|
|
385
|
|
|
|
|
|
|
=cut |
386
|
|
|
|
|
|
|
|
387
|
|
|
|
|
|
|
sub getItemID { |
388
|
|
|
|
|
|
|
my $self = shift; |
389
|
|
|
|
|
|
|
return $self->_getDataTypeInstance( 'ItemID' |
390
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::ItemIDType'); |
391
|
|
|
|
|
|
|
} |
392
|
|
|
|
|
|
|
|
393
|
|
|
|
|
|
|
|
394
|
|
|
|
|
|
|
=head2 setItemTitle() |
395
|
|
|
|
|
|
|
|
396
|
|
|
|
|
|
|
The title of the item that the lead is for. |
397
|
|
|
|
|
|
|
|
398
|
|
|
|
|
|
|
# Argument: 'xs:string' |
399
|
|
|
|
|
|
|
|
400
|
|
|
|
|
|
|
=cut |
401
|
|
|
|
|
|
|
|
402
|
|
|
|
|
|
|
sub setItemTitle { |
403
|
|
|
|
|
|
|
my $self = shift; |
404
|
|
|
|
|
|
|
$self->{'ItemTitle'} = shift |
405
|
|
|
|
|
|
|
} |
406
|
|
|
|
|
|
|
|
407
|
|
|
|
|
|
|
=head2 getItemTitle() |
408
|
|
|
|
|
|
|
|
409
|
|
|
|
|
|
|
Calls: GetAdFormatLeads |
410
|
|
|
|
|
|
|
Returned: Conditionally |
411
|
|
|
|
|
|
|
Details: DetailLevel: ReturnAll |
412
|
|
|
|
|
|
|
|
413
|
|
|
|
|
|
|
# Returns: 'xs:string' |
414
|
|
|
|
|
|
|
|
415
|
|
|
|
|
|
|
=cut |
416
|
|
|
|
|
|
|
|
417
|
|
|
|
|
|
|
sub getItemTitle { |
418
|
|
|
|
|
|
|
my $self = shift; |
419
|
|
|
|
|
|
|
return $self->{'ItemTitle'}; |
420
|
|
|
|
|
|
|
} |
421
|
|
|
|
|
|
|
|
422
|
|
|
|
|
|
|
|
423
|
|
|
|
|
|
|
=head2 setLeadFee() |
424
|
|
|
|
|
|
|
|
425
|
|
|
|
|
|
|
The total fee from email and phone leads. |
426
|
|
|
|
|
|
|
Applies to the item specified in the request. |
427
|
|
|
|
|
|
|
LeadFee is part the pay-per-lead feature. |
428
|
|
|
|
|
|
|
|
429
|
|
|
|
|
|
|
# Argument: 'ns:AmountType' |
430
|
|
|
|
|
|
|
|
431
|
|
|
|
|
|
|
=cut |
432
|
|
|
|
|
|
|
|
433
|
|
|
|
|
|
|
sub setLeadFee { |
434
|
|
|
|
|
|
|
my $self = shift; |
435
|
|
|
|
|
|
|
$self->{'LeadFee'} = shift |
436
|
|
|
|
|
|
|
} |
437
|
|
|
|
|
|
|
|
438
|
|
|
|
|
|
|
=head2 getLeadFee() |
439
|
|
|
|
|
|
|
|
440
|
|
|
|
|
|
|
Calls: GetAdFormatLeads |
441
|
|
|
|
|
|
|
Returned: Conditionally |
442
|
|
|
|
|
|
|
Details: DetailLevel: ReturnAll |
443
|
|
|
|
|
|
|
|
444
|
|
|
|
|
|
|
# Returns: 'ns:AmountType' |
445
|
|
|
|
|
|
|
|
446
|
|
|
|
|
|
|
=cut |
447
|
|
|
|
|
|
|
|
448
|
|
|
|
|
|
|
sub getLeadFee { |
449
|
|
|
|
|
|
|
my $self = shift; |
450
|
|
|
|
|
|
|
return $self->_getDataTypeInstance( 'LeadFee' |
451
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::AmountType'); |
452
|
|
|
|
|
|
|
} |
453
|
|
|
|
|
|
|
|
454
|
|
|
|
|
|
|
|
455
|
|
|
|
|
|
|
=head2 setMemberMessage() |
456
|
|
|
|
|
|
|
|
457
|
|
|
|
|
|
|
Contains any mail message content shared between the seller and lead. |
458
|
|
|
|
|
|
|
|
459
|
|
|
|
|
|
|
# Argument: 'ns:MemberMessageExchangeArrayType' |
460
|
|
|
|
|
|
|
|
461
|
|
|
|
|
|
|
=cut |
462
|
|
|
|
|
|
|
|
463
|
|
|
|
|
|
|
sub setMemberMessage { |
464
|
|
|
|
|
|
|
my $self = shift; |
465
|
|
|
|
|
|
|
$self->{'MemberMessage'} = shift |
466
|
|
|
|
|
|
|
} |
467
|
|
|
|
|
|
|
|
468
|
|
|
|
|
|
|
=head2 getMemberMessage() |
469
|
|
|
|
|
|
|
|
470
|
|
|
|
|
|
|
Calls: GetAdFormatLeads |
471
|
|
|
|
|
|
|
Returned: Conditionally |
472
|
|
|
|
|
|
|
Details: DetailLevel: ReturnAll |
473
|
|
|
|
|
|
|
|
474
|
|
|
|
|
|
|
# Returns: 'ns:MemberMessageExchangeArrayType' |
475
|
|
|
|
|
|
|
|
476
|
|
|
|
|
|
|
=cut |
477
|
|
|
|
|
|
|
|
478
|
|
|
|
|
|
|
sub getMemberMessage { |
479
|
|
|
|
|
|
|
my $self = shift; |
480
|
|
|
|
|
|
|
return $self->_getDataTypeInstance( 'MemberMessage' |
481
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::MemberMessageExchangeArrayType'); |
482
|
|
|
|
|
|
|
} |
483
|
|
|
|
|
|
|
|
484
|
|
|
|
|
|
|
|
485
|
|
|
|
|
|
|
=head2 setPurchaseTimeFrame() |
486
|
|
|
|
|
|
|
|
487
|
|
|
|
|
|
|
Prospective buyer's time frame for purchasing a vehicle as entered in the |
488
|
|
|
|
|
|
|
Lead form on View Item page for eBay Motors and eBay Motors categories. |
489
|
|
|
|
|
|
|
Purchasing Time Frames include: |
490
|
|
|
|
|
|
|
|
491
|
|
|
|
|
|
|
|
492
|
|
|
|
|
|
|
within next 3 days |
493
|
|
|
|
|
|
|
|
494
|
|
|
|
|
|
|
|
495
|
|
|
|
|
|
|
within a week |
496
|
|
|
|
|
|
|
|
497
|
|
|
|
|
|
|
|
498
|
|
|
|
|
|
|
within a month |
499
|
|
|
|
|
|
|
|
500
|
|
|
|
|
|
|
|
501
|
|
|
|
|
|
|
within three months |
502
|
|
|
|
|
|
|
|
503
|
|
|
|
|
|
|
|
504
|
|
|
|
|
|
|
in more than three months |
505
|
|
|
|
|
|
|
|
506
|
|
|
|
|
|
|
|
507
|
|
|
|
|
|
|
within an undecided time frame |
508
|
|
|
|
|
|
|
|
509
|
|
|
|
|
|
|
|
510
|
|
|
|
|
|
|
|
511
|
|
|
|
|
|
|
MaxLength: 255 |
512
|
|
|
|
|
|
|
|
513
|
|
|
|
|
|
|
# Argument: 'xs:string' |
514
|
|
|
|
|
|
|
|
515
|
|
|
|
|
|
|
=cut |
516
|
|
|
|
|
|
|
|
517
|
|
|
|
|
|
|
sub setPurchaseTimeFrame { |
518
|
|
|
|
|
|
|
my $self = shift; |
519
|
|
|
|
|
|
|
$self->{'PurchaseTimeFrame'} = shift |
520
|
|
|
|
|
|
|
} |
521
|
|
|
|
|
|
|
|
522
|
|
|
|
|
|
|
=head2 getPurchaseTimeFrame() |
523
|
|
|
|
|
|
|
|
524
|
|
|
|
|
|
|
Calls: GetAdFormatLeads |
525
|
|
|
|
|
|
|
Returned: Conditionally |
526
|
|
|
|
|
|
|
Details: DetailLevel: ReturnAll |
527
|
|
|
|
|
|
|
|
528
|
|
|
|
|
|
|
# Returns: 'xs:string' |
529
|
|
|
|
|
|
|
|
530
|
|
|
|
|
|
|
=cut |
531
|
|
|
|
|
|
|
|
532
|
|
|
|
|
|
|
sub getPurchaseTimeFrame { |
533
|
|
|
|
|
|
|
my $self = shift; |
534
|
|
|
|
|
|
|
return $self->{'PurchaseTimeFrame'}; |
535
|
|
|
|
|
|
|
} |
536
|
|
|
|
|
|
|
|
537
|
|
|
|
|
|
|
|
538
|
|
|
|
|
|
|
=head2 setStatus() |
539
|
|
|
|
|
|
|
|
540
|
|
|
|
|
|
|
Status of the lead. |
541
|
|
|
|
|
|
|
|
542
|
|
|
|
|
|
|
# Argument: 'ns:AdFormatLeadStatusCodeType' |
543
|
|
|
|
|
|
|
|
544
|
|
|
|
|
|
|
=cut |
545
|
|
|
|
|
|
|
|
546
|
|
|
|
|
|
|
sub setStatus { |
547
|
|
|
|
|
|
|
my $self = shift; |
548
|
|
|
|
|
|
|
$self->{'Status'} = shift |
549
|
|
|
|
|
|
|
} |
550
|
|
|
|
|
|
|
|
551
|
|
|
|
|
|
|
=head2 getStatus() |
552
|
|
|
|
|
|
|
|
553
|
|
|
|
|
|
|
Calls: GetAdFormatLeads |
554
|
|
|
|
|
|
|
Returned: Conditionally |
555
|
|
|
|
|
|
|
Details: DetailLevel: ReturnAll |
556
|
|
|
|
|
|
|
|
557
|
|
|
|
|
|
|
# Returns: 'ns:AdFormatLeadStatusCodeType' |
558
|
|
|
|
|
|
|
|
559
|
|
|
|
|
|
|
=cut |
560
|
|
|
|
|
|
|
|
561
|
|
|
|
|
|
|
sub getStatus { |
562
|
|
|
|
|
|
|
my $self = shift; |
563
|
|
|
|
|
|
|
return $self->{'Status'}; |
564
|
|
|
|
|
|
|
} |
565
|
|
|
|
|
|
|
|
566
|
|
|
|
|
|
|
|
567
|
|
|
|
|
|
|
=head2 setSubmittedTime() |
568
|
|
|
|
|
|
|
|
569
|
|
|
|
|
|
|
Date and time (in GMT) that the lead was submitted. |
570
|
|
|
|
|
|
|
|
571
|
|
|
|
|
|
|
# Argument: 'xs:dateTime' |
572
|
|
|
|
|
|
|
|
573
|
|
|
|
|
|
|
=cut |
574
|
|
|
|
|
|
|
|
575
|
|
|
|
|
|
|
sub setSubmittedTime { |
576
|
|
|
|
|
|
|
my $self = shift; |
577
|
|
|
|
|
|
|
$self->{'SubmittedTime'} = shift |
578
|
|
|
|
|
|
|
} |
579
|
|
|
|
|
|
|
|
580
|
|
|
|
|
|
|
=head2 getSubmittedTime() |
581
|
|
|
|
|
|
|
|
582
|
|
|
|
|
|
|
Calls: GetAdFormatLeads |
583
|
|
|
|
|
|
|
Returned: Conditionally |
584
|
|
|
|
|
|
|
Details: DetailLevel: ReturnAll |
585
|
|
|
|
|
|
|
|
586
|
|
|
|
|
|
|
# Returns: 'xs:dateTime' |
587
|
|
|
|
|
|
|
|
588
|
|
|
|
|
|
|
=cut |
589
|
|
|
|
|
|
|
|
590
|
|
|
|
|
|
|
sub getSubmittedTime { |
591
|
|
|
|
|
|
|
my $self = shift; |
592
|
|
|
|
|
|
|
return $self->{'SubmittedTime'}; |
593
|
|
|
|
|
|
|
} |
594
|
|
|
|
|
|
|
|
595
|
|
|
|
|
|
|
|
596
|
|
|
|
|
|
|
=head2 setTradeInMake() |
597
|
|
|
|
|
|
|
|
598
|
|
|
|
|
|
|
The make of the vehicle the prospective buyer would like to trade in. Entered on |
599
|
|
|
|
|
|
|
the lead form on the View Item page. Applies to eBay Motors and Motors categories |
600
|
|
|
|
|
|
|
only. |
601
|
|
|
|
|
|
|
|
602
|
|
|
|
|
|
|
MaxLength: 128 |
603
|
|
|
|
|
|
|
|
604
|
|
|
|
|
|
|
# Argument: 'xs:string' |
605
|
|
|
|
|
|
|
|
606
|
|
|
|
|
|
|
=cut |
607
|
|
|
|
|
|
|
|
608
|
|
|
|
|
|
|
sub setTradeInMake { |
609
|
|
|
|
|
|
|
my $self = shift; |
610
|
|
|
|
|
|
|
$self->{'TradeInMake'} = shift |
611
|
|
|
|
|
|
|
} |
612
|
|
|
|
|
|
|
|
613
|
|
|
|
|
|
|
=head2 getTradeInMake() |
614
|
|
|
|
|
|
|
|
615
|
|
|
|
|
|
|
Calls: GetAdFormatLeads |
616
|
|
|
|
|
|
|
Returned: Conditionally |
617
|
|
|
|
|
|
|
Details: DetailLevel: ReturnAll |
618
|
|
|
|
|
|
|
|
619
|
|
|
|
|
|
|
# Returns: 'xs:string' |
620
|
|
|
|
|
|
|
|
621
|
|
|
|
|
|
|
=cut |
622
|
|
|
|
|
|
|
|
623
|
|
|
|
|
|
|
sub getTradeInMake { |
624
|
|
|
|
|
|
|
my $self = shift; |
625
|
|
|
|
|
|
|
return $self->{'TradeInMake'}; |
626
|
|
|
|
|
|
|
} |
627
|
|
|
|
|
|
|
|
628
|
|
|
|
|
|
|
|
629
|
|
|
|
|
|
|
=head2 setTradeInModel() |
630
|
|
|
|
|
|
|
|
631
|
|
|
|
|
|
|
The model of the vehicle the prospective buyer would like to trade in. Entered on the lead form on the View Item page.Applies to eBay Motors and Motors categories only. |
632
|
|
|
|
|
|
|
|
633
|
|
|
|
|
|
|
MaxLength: 128 |
634
|
|
|
|
|
|
|
|
635
|
|
|
|
|
|
|
# Argument: 'xs:string' |
636
|
|
|
|
|
|
|
|
637
|
|
|
|
|
|
|
=cut |
638
|
|
|
|
|
|
|
|
639
|
|
|
|
|
|
|
sub setTradeInModel { |
640
|
|
|
|
|
|
|
my $self = shift; |
641
|
|
|
|
|
|
|
$self->{'TradeInModel'} = shift |
642
|
|
|
|
|
|
|
} |
643
|
|
|
|
|
|
|
|
644
|
|
|
|
|
|
|
=head2 getTradeInModel() |
645
|
|
|
|
|
|
|
|
646
|
|
|
|
|
|
|
Calls: GetAdFormatLeads |
647
|
|
|
|
|
|
|
Returned: Conditionally |
648
|
|
|
|
|
|
|
Details: DetailLevel: ReturnAll |
649
|
|
|
|
|
|
|
|
650
|
|
|
|
|
|
|
# Returns: 'xs:string' |
651
|
|
|
|
|
|
|
|
652
|
|
|
|
|
|
|
=cut |
653
|
|
|
|
|
|
|
|
654
|
|
|
|
|
|
|
sub getTradeInModel { |
655
|
|
|
|
|
|
|
my $self = shift; |
656
|
|
|
|
|
|
|
return $self->{'TradeInModel'}; |
657
|
|
|
|
|
|
|
} |
658
|
|
|
|
|
|
|
|
659
|
|
|
|
|
|
|
|
660
|
|
|
|
|
|
|
=head2 setTradeInYear() |
661
|
|
|
|
|
|
|
|
662
|
|
|
|
|
|
|
The year of the vehicle the prospective buyer would like to trade in. Entered on |
663
|
|
|
|
|
|
|
the lead form on the View Item page. Applies to eBay Motors and Motors categories |
664
|
|
|
|
|
|
|
only. |
665
|
|
|
|
|
|
|
|
666
|
|
|
|
|
|
|
MaxLength: 32 |
667
|
|
|
|
|
|
|
|
668
|
|
|
|
|
|
|
# Argument: 'xs:string' |
669
|
|
|
|
|
|
|
|
670
|
|
|
|
|
|
|
=cut |
671
|
|
|
|
|
|
|
|
672
|
|
|
|
|
|
|
sub setTradeInYear { |
673
|
|
|
|
|
|
|
my $self = shift; |
674
|
|
|
|
|
|
|
$self->{'TradeInYear'} = shift |
675
|
|
|
|
|
|
|
} |
676
|
|
|
|
|
|
|
|
677
|
|
|
|
|
|
|
=head2 getTradeInYear() |
678
|
|
|
|
|
|
|
|
679
|
|
|
|
|
|
|
Calls: GetAdFormatLeads |
680
|
|
|
|
|
|
|
Returned: Conditionally |
681
|
|
|
|
|
|
|
Details: DetailLevel: ReturnAll |
682
|
|
|
|
|
|
|
|
683
|
|
|
|
|
|
|
# Returns: 'xs:string' |
684
|
|
|
|
|
|
|
|
685
|
|
|
|
|
|
|
=cut |
686
|
|
|
|
|
|
|
|
687
|
|
|
|
|
|
|
sub getTradeInYear { |
688
|
|
|
|
|
|
|
my $self = shift; |
689
|
|
|
|
|
|
|
return $self->{'TradeInYear'}; |
690
|
|
|
|
|
|
|
} |
691
|
|
|
|
|
|
|
|
692
|
|
|
|
|
|
|
|
693
|
|
|
|
|
|
|
=head2 setUserID() |
694
|
|
|
|
|
|
|
|
695
|
|
|
|
|
|
|
The eBay ID of the user who is interested in the seller's item. |
696
|
|
|
|
|
|
|
|
697
|
|
|
|
|
|
|
# Argument: 'ns:UserIDType' |
698
|
|
|
|
|
|
|
|
699
|
|
|
|
|
|
|
=cut |
700
|
|
|
|
|
|
|
|
701
|
|
|
|
|
|
|
sub setUserID { |
702
|
|
|
|
|
|
|
my $self = shift; |
703
|
|
|
|
|
|
|
$self->{'UserID'} = shift |
704
|
|
|
|
|
|
|
} |
705
|
|
|
|
|
|
|
|
706
|
|
|
|
|
|
|
=head2 getUserID() |
707
|
|
|
|
|
|
|
|
708
|
|
|
|
|
|
|
Calls: GetAdFormatLeads |
709
|
|
|
|
|
|
|
Returned: Conditionally |
710
|
|
|
|
|
|
|
Details: DetailLevel: ReturnAll |
711
|
|
|
|
|
|
|
|
712
|
|
|
|
|
|
|
# Returns: 'ns:UserIDType' |
713
|
|
|
|
|
|
|
|
714
|
|
|
|
|
|
|
=cut |
715
|
|
|
|
|
|
|
|
716
|
|
|
|
|
|
|
sub getUserID { |
717
|
|
|
|
|
|
|
my $self = shift; |
718
|
|
|
|
|
|
|
return $self->_getDataTypeInstance( 'UserID' |
719
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::UserIDType'); |
720
|
|
|
|
|
|
|
} |
721
|
|
|
|
|
|
|
|
722
|
|
|
|
|
|
|
|
723
|
|
|
|
|
|
|
|
724
|
|
|
|
|
|
|
|
725
|
|
|
|
|
|
|
|
726
|
|
|
|
|
|
|
## Attribute and Property lists |
727
|
|
|
|
|
|
|
sub getPropertiesList { |
728
|
|
|
|
|
|
|
my $self = shift; |
729
|
|
|
|
|
|
|
return \@gaProperties; |
730
|
|
|
|
|
|
|
} |
731
|
|
|
|
|
|
|
|
732
|
|
|
|
|
|
|
sub getAttributesList { |
733
|
|
|
|
|
|
|
my $self = shift; |
734
|
|
|
|
|
|
|
return \@gaAttributes; |
735
|
|
|
|
|
|
|
} |
736
|
|
|
|
|
|
|
|
737
|
|
|
|
|
|
|
|
738
|
|
|
|
|
|
|
|
739
|
|
|
|
|
|
|
1; |