line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
#!/usr/bin/perl |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package eBay::API::XML::Call::GetAdFormatLeads::GetAdFormatLeadsRequestType; |
4
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
1359
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
26
|
|
6
|
1
|
|
|
1
|
|
4
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
26
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
########################################################################## |
9
|
|
|
|
|
|
|
# |
10
|
|
|
|
|
|
|
# Module: ............... eBay/API/XML |
11
|
|
|
|
|
|
|
# File: ................. GetAdFormatLeadsRequestType.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::GetAdFormatLeads::GetAdFormatLeadsRequestType |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 DESCRIPTION |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
Retrieves sales lead information for a lead generation listing. |
25
|
|
|
|
|
|
|
GetAdFormatLeadsRequest returns the number of leads for an ad and any contact |
26
|
|
|
|
|
|
|
information that the prospective buyer submitted. |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=head1 SYNOPSIS |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
=cut |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
=head1 INHERITANCE |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
eBay::API::XML::Call::GetAdFormatLeads::GetAdFormatLeadsRequestType inherits from the L class |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
=cut |
40
|
|
|
|
|
|
|
|
41
|
1
|
|
|
1
|
|
32
|
use eBay::API::XML::RequestDataType; |
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
our @ISA = ("eBay::API::XML::RequestDataType"); |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
use eBay::API::XML::DataType::ItemIDType; |
45
|
|
|
|
|
|
|
use eBay::API::XML::DataType::Enum::MessageStatusTypeCodeType; |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
my @gaProperties = ( [ 'EndCreationTime', 'xs:dateTime', '', '', '' ] |
49
|
|
|
|
|
|
|
, [ 'IncludeMemberMessages', 'xs:boolean', '', '', '' ] |
50
|
|
|
|
|
|
|
, [ 'ItemID', 'ns:ItemIDType', '' |
51
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::ItemIDType', '1' ] |
52
|
|
|
|
|
|
|
, [ 'StartCreationTime', 'xs:dateTime', '', '', '' ] |
53
|
|
|
|
|
|
|
, [ 'Status', 'ns:MessageStatusTypeCodeType', '' |
54
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::Enum::MessageStatusTypeCodeType', '' ] |
55
|
|
|
|
|
|
|
); |
56
|
|
|
|
|
|
|
push @gaProperties, @{eBay::API::XML::RequestDataType::getPropertiesList()}; |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
my @gaAttributes = ( |
59
|
|
|
|
|
|
|
); |
60
|
|
|
|
|
|
|
push @gaAttributes, @{eBay::API::XML::RequestDataType::getAttributesList()}; |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
=head1 Subroutines: |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
=cut |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
sub new { |
67
|
|
|
|
|
|
|
my $classname = shift; |
68
|
|
|
|
|
|
|
my %args = @_; |
69
|
|
|
|
|
|
|
my $self = $classname->SUPER::new(%args); |
70
|
|
|
|
|
|
|
return $self; |
71
|
|
|
|
|
|
|
} |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
sub isScalar { |
74
|
|
|
|
|
|
|
return 0; |
75
|
|
|
|
|
|
|
} |
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
=head2 setEndCreationTime() |
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
Used with StartCreationTime to limit the returned leads for a user to only |
82
|
|
|
|
|
|
|
those with a creation date less than or equal to the specified date and |
83
|
|
|
|
|
|
|
time. |
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
RequiredInput: Conditionally |
86
|
|
|
|
|
|
|
# Argument: 'xs:dateTime' |
87
|
|
|
|
|
|
|
|
88
|
|
|
|
|
|
|
=cut |
89
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
sub setEndCreationTime { |
91
|
|
|
|
|
|
|
my $self = shift; |
92
|
|
|
|
|
|
|
$self->{'EndCreationTime'} = shift |
93
|
|
|
|
|
|
|
} |
94
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
=head2 getEndCreationTime() |
96
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
# Returns: 'xs:dateTime' |
98
|
|
|
|
|
|
|
|
99
|
|
|
|
|
|
|
=cut |
100
|
|
|
|
|
|
|
|
101
|
|
|
|
|
|
|
sub getEndCreationTime { |
102
|
|
|
|
|
|
|
my $self = shift; |
103
|
|
|
|
|
|
|
return $self->{'EndCreationTime'}; |
104
|
|
|
|
|
|
|
} |
105
|
|
|
|
|
|
|
|
106
|
|
|
|
|
|
|
|
107
|
|
|
|
|
|
|
=head2 setIncludeMemberMessages() |
108
|
|
|
|
|
|
|
|
109
|
|
|
|
|
|
|
Boolean which indicates whether to return mail messages for this lead in a MemberMessage node. |
110
|
|
|
|
|
|
|
|
111
|
|
|
|
|
|
|
RequiredInput: No |
112
|
|
|
|
|
|
|
# Argument: 'xs:boolean' |
113
|
|
|
|
|
|
|
|
114
|
|
|
|
|
|
|
=cut |
115
|
|
|
|
|
|
|
|
116
|
|
|
|
|
|
|
sub setIncludeMemberMessages { |
117
|
|
|
|
|
|
|
my $self = shift; |
118
|
|
|
|
|
|
|
$self->{'IncludeMemberMessages'} = shift |
119
|
|
|
|
|
|
|
} |
120
|
|
|
|
|
|
|
|
121
|
|
|
|
|
|
|
=head2 isIncludeMemberMessages() |
122
|
|
|
|
|
|
|
|
123
|
|
|
|
|
|
|
# Returns: 'xs:boolean' |
124
|
|
|
|
|
|
|
|
125
|
|
|
|
|
|
|
=cut |
126
|
|
|
|
|
|
|
|
127
|
|
|
|
|
|
|
sub isIncludeMemberMessages { |
128
|
|
|
|
|
|
|
my $self = shift; |
129
|
|
|
|
|
|
|
return $self->{'IncludeMemberMessages'}; |
130
|
|
|
|
|
|
|
} |
131
|
|
|
|
|
|
|
|
132
|
|
|
|
|
|
|
|
133
|
|
|
|
|
|
|
=head2 setItemID() |
134
|
|
|
|
|
|
|
|
135
|
|
|
|
|
|
|
The unique identifier of an item listed on the eBay site. |
136
|
|
|
|
|
|
|
Returned by eBay when the item is created. This ID must correspond |
137
|
|
|
|
|
|
|
to an ad format item. |
138
|
|
|
|
|
|
|
|
139
|
|
|
|
|
|
|
MaxLength: 19 (Note: The eBay database specifies 38. Currently, Item IDs are usually 9 to 12 digits) |
140
|
|
|
|
|
|
|
|
141
|
|
|
|
|
|
|
RequiredInput: No |
142
|
|
|
|
|
|
|
# Argument: 'ns:ItemIDType' |
143
|
|
|
|
|
|
|
|
144
|
|
|
|
|
|
|
=cut |
145
|
|
|
|
|
|
|
|
146
|
|
|
|
|
|
|
sub setItemID { |
147
|
|
|
|
|
|
|
my $self = shift; |
148
|
|
|
|
|
|
|
$self->{'ItemID'} = shift |
149
|
|
|
|
|
|
|
} |
150
|
|
|
|
|
|
|
|
151
|
|
|
|
|
|
|
=head2 getItemID() |
152
|
|
|
|
|
|
|
|
153
|
|
|
|
|
|
|
# Returns: 'ns:ItemIDType' |
154
|
|
|
|
|
|
|
|
155
|
|
|
|
|
|
|
=cut |
156
|
|
|
|
|
|
|
|
157
|
|
|
|
|
|
|
sub getItemID { |
158
|
|
|
|
|
|
|
my $self = shift; |
159
|
|
|
|
|
|
|
return $self->_getDataTypeInstance( 'ItemID' |
160
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::ItemIDType'); |
161
|
|
|
|
|
|
|
} |
162
|
|
|
|
|
|
|
|
163
|
|
|
|
|
|
|
|
164
|
|
|
|
|
|
|
=head2 setStartCreationTime() |
165
|
|
|
|
|
|
|
|
166
|
|
|
|
|
|
|
Used with EndCreationTime to limit the returned leads for a user to only |
167
|
|
|
|
|
|
|
those with a creation date greater than or equal to the specified date and |
168
|
|
|
|
|
|
|
time. |
169
|
|
|
|
|
|
|
|
170
|
|
|
|
|
|
|
RequiredInput: Conditionally |
171
|
|
|
|
|
|
|
# Argument: 'xs:dateTime' |
172
|
|
|
|
|
|
|
|
173
|
|
|
|
|
|
|
=cut |
174
|
|
|
|
|
|
|
|
175
|
|
|
|
|
|
|
sub setStartCreationTime { |
176
|
|
|
|
|
|
|
my $self = shift; |
177
|
|
|
|
|
|
|
$self->{'StartCreationTime'} = shift |
178
|
|
|
|
|
|
|
} |
179
|
|
|
|
|
|
|
|
180
|
|
|
|
|
|
|
=head2 getStartCreationTime() |
181
|
|
|
|
|
|
|
|
182
|
|
|
|
|
|
|
# Returns: 'xs:dateTime' |
183
|
|
|
|
|
|
|
|
184
|
|
|
|
|
|
|
=cut |
185
|
|
|
|
|
|
|
|
186
|
|
|
|
|
|
|
sub getStartCreationTime { |
187
|
|
|
|
|
|
|
my $self = shift; |
188
|
|
|
|
|
|
|
return $self->{'StartCreationTime'}; |
189
|
|
|
|
|
|
|
} |
190
|
|
|
|
|
|
|
|
191
|
|
|
|
|
|
|
|
192
|
|
|
|
|
|
|
=head2 setStatus() |
193
|
|
|
|
|
|
|
|
194
|
|
|
|
|
|
|
Filters the leads based on their status. |
195
|
|
|
|
|
|
|
|
196
|
|
|
|
|
|
|
RequiredInput: No |
197
|
|
|
|
|
|
|
# Argument: 'ns:MessageStatusTypeCodeType' |
198
|
|
|
|
|
|
|
|
199
|
|
|
|
|
|
|
=cut |
200
|
|
|
|
|
|
|
|
201
|
|
|
|
|
|
|
sub setStatus { |
202
|
|
|
|
|
|
|
my $self = shift; |
203
|
|
|
|
|
|
|
$self->{'Status'} = shift |
204
|
|
|
|
|
|
|
} |
205
|
|
|
|
|
|
|
|
206
|
|
|
|
|
|
|
=head2 getStatus() |
207
|
|
|
|
|
|
|
|
208
|
|
|
|
|
|
|
# Returns: 'ns:MessageStatusTypeCodeType' |
209
|
|
|
|
|
|
|
|
210
|
|
|
|
|
|
|
=cut |
211
|
|
|
|
|
|
|
|
212
|
|
|
|
|
|
|
sub getStatus { |
213
|
|
|
|
|
|
|
my $self = shift; |
214
|
|
|
|
|
|
|
return $self->{'Status'}; |
215
|
|
|
|
|
|
|
} |
216
|
|
|
|
|
|
|
|
217
|
|
|
|
|
|
|
|
218
|
|
|
|
|
|
|
|
219
|
|
|
|
|
|
|
|
220
|
|
|
|
|
|
|
|
221
|
|
|
|
|
|
|
## Attribute and Property lists |
222
|
|
|
|
|
|
|
sub getPropertiesList { |
223
|
|
|
|
|
|
|
my $self = shift; |
224
|
|
|
|
|
|
|
return \@gaProperties; |
225
|
|
|
|
|
|
|
} |
226
|
|
|
|
|
|
|
|
227
|
|
|
|
|
|
|
sub getAttributesList { |
228
|
|
|
|
|
|
|
my $self = shift; |
229
|
|
|
|
|
|
|
return \@gaAttributes; |
230
|
|
|
|
|
|
|
} |
231
|
|
|
|
|
|
|
|
232
|
|
|
|
|
|
|
|
233
|
|
|
|
|
|
|
|
234
|
|
|
|
|
|
|
1; |