line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
#!/usr/bin/perl |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package eBay::API::XML::Call::GetCategoryListings; |
4
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
2381
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
29
|
|
6
|
1
|
|
|
1
|
|
6
|
use warnings; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
31
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
########################################################################## |
9
|
|
|
|
|
|
|
# |
10
|
|
|
|
|
|
|
# Module: ............... eBay/API/XML |
11
|
|
|
|
|
|
|
# File: ................. GetCategoryListings.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::GetCategoryListings |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 DESCRIPTION |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
=head1 SYNOPSIS |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=cut |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
=head1 INHERITANCE |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
eBay::API::XML::Call::GetCategoryListings inherits from the L class |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
=cut |
36
|
|
|
|
|
|
|
|
37
|
1
|
|
|
1
|
|
38
|
use eBay::API::XML::BaseCall; |
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
our @ISA = ("eBay::API::XML::BaseCall"); |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
use eBay::API::XML::Call::GetCategoryListings::GetCategoryListingsRequestType; |
41
|
|
|
|
|
|
|
use eBay::API::XML::Call::GetCategoryListings::GetCategoryListingsResponseType; |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=head1 Subroutines: |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
=cut |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
sub getApiCallName { |
49
|
|
|
|
|
|
|
return 'GetCategoryListings'; |
50
|
|
|
|
|
|
|
} |
51
|
|
|
|
|
|
|
sub getRequestDataTypeFullPackage { |
52
|
|
|
|
|
|
|
return 'eBay::API::XML::Call::GetCategoryListings::GetCategoryListingsRequestType'; |
53
|
|
|
|
|
|
|
} |
54
|
|
|
|
|
|
|
sub getResponseDataTypeFullPackage { |
55
|
|
|
|
|
|
|
return 'eBay::API::XML::Call::GetCategoryListings::GetCategoryListingsResponseType'; |
56
|
|
|
|
|
|
|
} |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
# |
59
|
|
|
|
|
|
|
# input properties |
60
|
|
|
|
|
|
|
# |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
=head2 setAdFormat() |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
Restricts listings to return only items that have the Ad Format feature. |
65
|
|
|
|
|
|
|
If true, the values of ItemTypeFilter and |
66
|
|
|
|
|
|
|
StoreSearchFilter are ignored (if they are specified). That is, "AND" |
67
|
|
|
|
|
|
|
logic is not applied. |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
RequiredInput: No |
70
|
|
|
|
|
|
|
# Argument: 'xs:boolean' |
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
=cut |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
sub setAdFormat { |
75
|
|
|
|
|
|
|
my $self = shift; |
76
|
|
|
|
|
|
|
my $sAdFormat = shift; |
77
|
|
|
|
|
|
|
$self->getRequestDataType()->setAdFormat($sAdFormat); |
78
|
|
|
|
|
|
|
} |
79
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
=head2 setCategoryID() |
81
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
Specifies the category for which to retrieve item listings. |
83
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
SeeLink: URL: http://developer.ebay.com/DevZone/XML/docs/WebHelp/index.htm?context=eBay_XML_API&topic=SearchingByCategoryID |
85
|
|
|
|
|
|
|
Title: Searching by Category ID |
86
|
|
|
|
|
|
|
MaxLength: 10 |
87
|
|
|
|
|
|
|
|
88
|
|
|
|
|
|
|
RequiredInput: Yes |
89
|
|
|
|
|
|
|
# Argument: 'xs:string' |
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
=cut |
92
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
sub setCategoryID { |
94
|
|
|
|
|
|
|
my $self = shift; |
95
|
|
|
|
|
|
|
my $sCategoryID = shift; |
96
|
|
|
|
|
|
|
$self->getRequestDataType()->setCategoryID($sCategoryID); |
97
|
|
|
|
|
|
|
} |
98
|
|
|
|
|
|
|
|
99
|
|
|
|
|
|
|
=head2 setCurrency() |
100
|
|
|
|
|
|
|
|
101
|
|
|
|
|
|
|
A currency value. Limits the result set to just those items listed |
102
|
|
|
|
|
|
|
using a specified currency. Not applicable to US eBay Motors searches. |
103
|
|
|
|
|
|
|
|
104
|
|
|
|
|
|
|
RequiredInput: No |
105
|
|
|
|
|
|
|
# Argument: 'ns:CurrencyCodeType' |
106
|
|
|
|
|
|
|
|
107
|
|
|
|
|
|
|
=cut |
108
|
|
|
|
|
|
|
|
109
|
|
|
|
|
|
|
sub setCurrency { |
110
|
|
|
|
|
|
|
my $self = shift; |
111
|
|
|
|
|
|
|
my $sCurrency = shift; |
112
|
|
|
|
|
|
|
$self->getRequestDataType()->setCurrency($sCurrency); |
113
|
|
|
|
|
|
|
} |
114
|
|
|
|
|
|
|
|
115
|
|
|
|
|
|
|
=head2 setFreeShipping() |
116
|
|
|
|
|
|
|
|
117
|
|
|
|
|
|
|
If true, only items with free shipping for the user's location are |
118
|
|
|
|
|
|
|
returned. The user's location is determined from the site ID specified |
119
|
|
|
|
|
|
|
in the request. If false, no filtering is done via this attribute. A |
120
|
|
|
|
|
|
|
listing is not considered a free shipping listing if it requires |
121
|
|
|
|
|
|
|
insurance or requires pick up or requires a shipping surcharge. |
122
|
|
|
|
|
|
|
|
123
|
|
|
|
|
|
|
Default: false |
124
|
|
|
|
|
|
|
|
125
|
|
|
|
|
|
|
RequiredInput: No |
126
|
|
|
|
|
|
|
# Argument: 'xs:boolean' |
127
|
|
|
|
|
|
|
|
128
|
|
|
|
|
|
|
=cut |
129
|
|
|
|
|
|
|
|
130
|
|
|
|
|
|
|
sub setFreeShipping { |
131
|
|
|
|
|
|
|
my $self = shift; |
132
|
|
|
|
|
|
|
my $sFreeShipping = shift; |
133
|
|
|
|
|
|
|
$self->getRequestDataType()->setFreeShipping($sFreeShipping); |
134
|
|
|
|
|
|
|
} |
135
|
|
|
|
|
|
|
|
136
|
|
|
|
|
|
|
=head2 setGroup() |
137
|
|
|
|
|
|
|
|
138
|
|
|
|
|
|
|
You can group Best Match search results by category. To group |
139
|
|
|
|
|
|
|
by category, put the BestMatchCategoryGroup value |
140
|
|
|
|
|
|
|
in the OrderBy field. |
141
|
|
|
|
|
|
|
When you use the BestMatchCategoryGroup value, |
142
|
|
|
|
|
|
|
you can include group |
143
|
|
|
|
|
|
|
parameters in your call. Note |
144
|
|
|
|
|
|
|
that there will be significanty fewer results returned with a BestMatchCategoryGroup sort because the results account |
145
|
|
|
|
|
|
|
for Best Matches in lower-level |
146
|
|
|
|
|
|
|
(leaf) as well as higher-level categories. |
147
|
|
|
|
|
|
|
There is not a direct correlation between the number of results returned in a regular sort or |
148
|
|
|
|
|
|
|
the number of results returned with a BestMatch sort, and the results that are returned by |
149
|
|
|
|
|
|
|
the BestMatchCategoryGroup sort. You should not receive more |
150
|
|
|
|
|
|
|
than 2 pages of results with |
151
|
|
|
|
|
|
|
this type of sort. See also |
152
|
|
|
|
|
|
|
the new GroupCategoryID element |
153
|
|
|
|
|
|
|
in ItemType. |
154
|
|
|
|
|
|
|
|
155
|
|
|
|
|
|
|
RequiredInput: No |
156
|
|
|
|
|
|
|
# Argument: 'ns:GroupType' |
157
|
|
|
|
|
|
|
|
158
|
|
|
|
|
|
|
=cut |
159
|
|
|
|
|
|
|
|
160
|
|
|
|
|
|
|
sub setGroup { |
161
|
|
|
|
|
|
|
my $self = shift; |
162
|
|
|
|
|
|
|
my $pGroup = shift; |
163
|
|
|
|
|
|
|
$self->getRequestDataType()->setGroup($pGroup); |
164
|
|
|
|
|
|
|
} |
165
|
|
|
|
|
|
|
|
166
|
|
|
|
|
|
|
=head2 setIncludeCondition() |
167
|
|
|
|
|
|
|
|
168
|
|
|
|
|
|
|
If true, each item in the result set can also include the item |
169
|
|
|
|
|
|
|
condition (whether the item is new or used). |
170
|
|
|
|
|
|
|
The item's condition is returned in Item.AttributeSetArray. |
171
|
|
|
|
|
|
|
An item only includes condition attribute if the item's seller |
172
|
|
|
|
|
|
|
filled in the Item Condition in the Item Specifics section of the |
173
|
|
|
|
|
|
|
listing. (That is, the condition is not returned if the seller |
174
|
|
|
|
|
|
|
only put the word "New" in the listing's title.) |
175
|
|
|
|
|
|
|
|
176
|
|
|
|
|
|
|
RequiredInput: No |
177
|
|
|
|
|
|
|
# Argument: 'xs:boolean' |
178
|
|
|
|
|
|
|
|
179
|
|
|
|
|
|
|
=cut |
180
|
|
|
|
|
|
|
|
181
|
|
|
|
|
|
|
sub setIncludeCondition { |
182
|
|
|
|
|
|
|
my $self = shift; |
183
|
|
|
|
|
|
|
my $sIncludeCondition = shift; |
184
|
|
|
|
|
|
|
$self->getRequestDataType()->setIncludeCondition($sIncludeCondition); |
185
|
|
|
|
|
|
|
} |
186
|
|
|
|
|
|
|
|
187
|
|
|
|
|
|
|
=head2 setIncludeFeedback() |
188
|
|
|
|
|
|
|
|
189
|
|
|
|
|
|
|
If true, each item in the result set also includes information about the |
190
|
|
|
|
|
|
|
seller's feedback. |
191
|
|
|
|
|
|
|
|
192
|
|
|
|
|
|
|
RequiredInput: No |
193
|
|
|
|
|
|
|
# Argument: 'xs:boolean' |
194
|
|
|
|
|
|
|
|
195
|
|
|
|
|
|
|
=cut |
196
|
|
|
|
|
|
|
|
197
|
|
|
|
|
|
|
sub setIncludeFeedback { |
198
|
|
|
|
|
|
|
my $self = shift; |
199
|
|
|
|
|
|
|
my $sIncludeFeedback = shift; |
200
|
|
|
|
|
|
|
$self->getRequestDataType()->setIncludeFeedback($sIncludeFeedback); |
201
|
|
|
|
|
|
|
} |
202
|
|
|
|
|
|
|
|
203
|
|
|
|
|
|
|
=head2 setIncludeGetItFastItems() |
204
|
|
|
|
|
|
|
|
205
|
|
|
|
|
|
|
When passed with a value of true, limits the results to Get It Fast listings. |
206
|
|
|
|
|
|
|
|
207
|
|
|
|
|
|
|
RequiredInput: No |
208
|
|
|
|
|
|
|
# Argument: 'xs:boolean' |
209
|
|
|
|
|
|
|
|
210
|
|
|
|
|
|
|
=cut |
211
|
|
|
|
|
|
|
|
212
|
|
|
|
|
|
|
sub setIncludeGetItFastItems { |
213
|
|
|
|
|
|
|
my $self = shift; |
214
|
|
|
|
|
|
|
my $sIncludeGetItFastItems = shift; |
215
|
|
|
|
|
|
|
$self->getRequestDataType()->setIncludeGetItFastItems($sIncludeGetItFastItems); |
216
|
|
|
|
|
|
|
} |
217
|
|
|
|
|
|
|
|
218
|
|
|
|
|
|
|
=head2 setItemTypeFilter() |
219
|
|
|
|
|
|
|
|
220
|
|
|
|
|
|
|
Filters items based on the ListingType set for the items. |
221
|
|
|
|
|
|
|
If ItemTypeFilter is not specified (or if the |
222
|
|
|
|
|
|
|
AllItemTypes value of ItemTypeFilter is specified), all listing types can |
223
|
|
|
|
|
|
|
be returned unless another relevant filter is specified. |
224
|
|
|
|
|
|
|
|
225
|
|
|
|
|
|
|
SeeLink: URL: http://developer.ebay.com/DevZone/XML/docs/WebHelp/index.htm?context=eBay_XML_API&topic=SearchingByListingType |
226
|
|
|
|
|
|
|
Title: Searching By Listing Type |
227
|
|
|
|
|
|
|
|
228
|
|
|
|
|
|
|
RequiredInput: No |
229
|
|
|
|
|
|
|
# Argument: 'ns:ItemTypeFilterCodeType' |
230
|
|
|
|
|
|
|
|
231
|
|
|
|
|
|
|
=cut |
232
|
|
|
|
|
|
|
|
233
|
|
|
|
|
|
|
sub setItemTypeFilter { |
234
|
|
|
|
|
|
|
my $self = shift; |
235
|
|
|
|
|
|
|
my $sItemTypeFilter = shift; |
236
|
|
|
|
|
|
|
$self->getRequestDataType()->setItemTypeFilter($sItemTypeFilter); |
237
|
|
|
|
|
|
|
} |
238
|
|
|
|
|
|
|
|
239
|
|
|
|
|
|
|
=head2 setLocalSearchPostalCode() |
240
|
|
|
|
|
|
|
|
241
|
|
|
|
|
|
|
Include local items in returning results near this postal code. This |
242
|
|
|
|
|
|
|
postal code is the basis for local search. |
243
|
|
|
|
|
|
|
|
244
|
|
|
|
|
|
|
RequiredInput: No |
245
|
|
|
|
|
|
|
# Argument: 'xs:string' |
246
|
|
|
|
|
|
|
|
247
|
|
|
|
|
|
|
=cut |
248
|
|
|
|
|
|
|
|
249
|
|
|
|
|
|
|
sub setLocalSearchPostalCode { |
250
|
|
|
|
|
|
|
my $self = shift; |
251
|
|
|
|
|
|
|
my $sLocalSearchPostalCode = shift; |
252
|
|
|
|
|
|
|
$self->getRequestDataType()->setLocalSearchPostalCode($sLocalSearchPostalCode); |
253
|
|
|
|
|
|
|
} |
254
|
|
|
|
|
|
|
|
255
|
|
|
|
|
|
|
=head2 setMaxRelatedSearchKeywords() |
256
|
|
|
|
|
|
|
|
257
|
|
|
|
|
|
|
The maximum number of related keywords to be retrieved. |
258
|
|
|
|
|
|
|
Use this field if you want the results to include |
259
|
|
|
|
|
|
|
recommended keywords (that is, keywords matching the category ID) |
260
|
|
|
|
|
|
|
in a RelatedSearchKeywordArray container. |
261
|
|
|
|
|
|
|
A value of 0 (the default) means no related search information is processed. |
262
|
|
|
|
|
|
|
|
263
|
|
|
|
|
|
|
Max: 100 |
264
|
|
|
|
|
|
|
Min: 0 |
265
|
|
|
|
|
|
|
|
266
|
|
|
|
|
|
|
RequiredInput: No |
267
|
|
|
|
|
|
|
# Argument: 'xs:int' |
268
|
|
|
|
|
|
|
|
269
|
|
|
|
|
|
|
=cut |
270
|
|
|
|
|
|
|
|
271
|
|
|
|
|
|
|
sub setMaxRelatedSearchKeywords { |
272
|
|
|
|
|
|
|
my $self = shift; |
273
|
|
|
|
|
|
|
my $sMaxRelatedSearchKeywords = shift; |
274
|
|
|
|
|
|
|
$self->getRequestDataType()->setMaxRelatedSearchKeywords($sMaxRelatedSearchKeywords); |
275
|
|
|
|
|
|
|
} |
276
|
|
|
|
|
|
|
|
277
|
|
|
|
|
|
|
=head2 setMotorsGermanySearchable() |
278
|
|
|
|
|
|
|
|
279
|
|
|
|
|
|
|
Filters the response based on each item's eligibility to appear on the |
280
|
|
|
|
|
|
|
mobile.de site. If false, excludes eligible items from search results. If |
281
|
|
|
|
|
|
|
true, queries for eligible items only. If not specified, the search |
282
|
|
|
|
|
|
|
results are not affected. Only applicable for items listed on the eBay |
283
|
|
|
|
|
|
|
Germany site (site ID 77) in subcategories of mobile.de search-enabled |
284
|
|
|
|
|
|
|
categories. |
285
|
|
|
|
|
|
|
|
286
|
|
|
|
|
|
|
RequiredInput: No |
287
|
|
|
|
|
|
|
# Argument: 'xs:boolean' |
288
|
|
|
|
|
|
|
|
289
|
|
|
|
|
|
|
=cut |
290
|
|
|
|
|
|
|
|
291
|
|
|
|
|
|
|
sub setMotorsGermanySearchable { |
292
|
|
|
|
|
|
|
my $self = shift; |
293
|
|
|
|
|
|
|
my $sMotorsGermanySearchable = shift; |
294
|
|
|
|
|
|
|
$self->getRequestDataType()->setMotorsGermanySearchable($sMotorsGermanySearchable); |
295
|
|
|
|
|
|
|
} |
296
|
|
|
|
|
|
|
|
297
|
|
|
|
|
|
|
=head2 setOrderBy() |
298
|
|
|
|
|
|
|
|
299
|
|
|
|
|
|
|
Specifies the order in which the item listings returned will be sorted. |
300
|
|
|
|
|
|
|
Store Inventory listings are usually returned after other listing types, |
301
|
|
|
|
|
|
|
regardless of the sort order. |
302
|
|
|
|
|
|
|
|
303
|
|
|
|
|
|
|
Default: BestMatchSort |
304
|
|
|
|
|
|
|
|
305
|
|
|
|
|
|
|
RequiredInput: No |
306
|
|
|
|
|
|
|
# Argument: 'ns:CategoryListingsOrderCodeType' |
307
|
|
|
|
|
|
|
|
308
|
|
|
|
|
|
|
=cut |
309
|
|
|
|
|
|
|
|
310
|
|
|
|
|
|
|
sub setOrderBy { |
311
|
|
|
|
|
|
|
my $self = shift; |
312
|
|
|
|
|
|
|
my $sOrderBy = shift; |
313
|
|
|
|
|
|
|
$self->getRequestDataType()->setOrderBy($sOrderBy); |
314
|
|
|
|
|
|
|
} |
315
|
|
|
|
|
|
|
|
316
|
|
|
|
|
|
|
=head2 setPagination() |
317
|
|
|
|
|
|
|
|
318
|
|
|
|
|
|
|
Controls the pagination of the result set. Child elements specify the |
319
|
|
|
|
|
|
|
maximum number of item listings to return per call and which page of data |
320
|
|
|
|
|
|
|
to return. |
321
|
|
|
|
|
|
|
|
322
|
|
|
|
|
|
|
RequiredInput: No |
323
|
|
|
|
|
|
|
# Argument: 'ns:PaginationType' |
324
|
|
|
|
|
|
|
|
325
|
|
|
|
|
|
|
=cut |
326
|
|
|
|
|
|
|
|
327
|
|
|
|
|
|
|
sub setPagination { |
328
|
|
|
|
|
|
|
my $self = shift; |
329
|
|
|
|
|
|
|
my $pPagination = shift; |
330
|
|
|
|
|
|
|
$self->getRequestDataType()->setPagination($pPagination); |
331
|
|
|
|
|
|
|
} |
332
|
|
|
|
|
|
|
|
333
|
|
|
|
|
|
|
=head2 setPaymentMethod() |
334
|
|
|
|
|
|
|
|
335
|
|
|
|
|
|
|
Specifies items that accept a specific payment method or methods. |
336
|
|
|
|
|
|
|
|
337
|
|
|
|
|
|
|
RequiredInput: No |
338
|
|
|
|
|
|
|
# Argument: 'ns:PaymentMethodSearchCodeType' |
339
|
|
|
|
|
|
|
|
340
|
|
|
|
|
|
|
=cut |
341
|
|
|
|
|
|
|
|
342
|
|
|
|
|
|
|
sub setPaymentMethod { |
343
|
|
|
|
|
|
|
my $self = shift; |
344
|
|
|
|
|
|
|
my $sPaymentMethod = shift; |
345
|
|
|
|
|
|
|
$self->getRequestDataType()->setPaymentMethod($sPaymentMethod); |
346
|
|
|
|
|
|
|
} |
347
|
|
|
|
|
|
|
|
348
|
|
|
|
|
|
|
=head2 setProximitySearch() |
349
|
|
|
|
|
|
|
|
350
|
|
|
|
|
|
|
Limits the result set to just those items that meet proximity search |
351
|
|
|
|
|
|
|
criteria: postal code and max distance. |
352
|
|
|
|
|
|
|
|
353
|
|
|
|
|
|
|
RequiredInput: No |
354
|
|
|
|
|
|
|
# Argument: 'ns:ProximitySearchType' |
355
|
|
|
|
|
|
|
|
356
|
|
|
|
|
|
|
=cut |
357
|
|
|
|
|
|
|
|
358
|
|
|
|
|
|
|
sub setProximitySearch { |
359
|
|
|
|
|
|
|
my $self = shift; |
360
|
|
|
|
|
|
|
my $pProximitySearch = shift; |
361
|
|
|
|
|
|
|
$self->getRequestDataType()->setProximitySearch($pProximitySearch); |
362
|
|
|
|
|
|
|
} |
363
|
|
|
|
|
|
|
|
364
|
|
|
|
|
|
|
=head2 setSearchLocation() |
365
|
|
|
|
|
|
|
|
366
|
|
|
|
|
|
|
Limits the result set to just those items that meet location criteria: |
367
|
|
|
|
|
|
|
listed in a specified eBay site, location where the seller has the item, |
368
|
|
|
|
|
|
|
location from which the user is searching, and/or items listed with a |
369
|
|
|
|
|
|
|
specified currency. |
370
|
|
|
|
|
|
|
|
371
|
|
|
|
|
|
|
RequiredInput: No |
372
|
|
|
|
|
|
|
# Argument: 'ns:SearchLocationType' |
373
|
|
|
|
|
|
|
|
374
|
|
|
|
|
|
|
=cut |
375
|
|
|
|
|
|
|
|
376
|
|
|
|
|
|
|
sub setSearchLocation { |
377
|
|
|
|
|
|
|
my $self = shift; |
378
|
|
|
|
|
|
|
my $pSearchLocation = shift; |
379
|
|
|
|
|
|
|
$self->getRequestDataType()->setSearchLocation($pSearchLocation); |
380
|
|
|
|
|
|
|
} |
381
|
|
|
|
|
|
|
|
382
|
|
|
|
|
|
|
=head2 setSearchType() |
383
|
|
|
|
|
|
|
|
384
|
|
|
|
|
|
|
Specifies whether to limit the item listings to just those that are |
385
|
|
|
|
|
|
|
category featured or super featured or all items. |
386
|
|
|
|
|
|
|
|
387
|
|
|
|
|
|
|
RequiredInput: No |
388
|
|
|
|
|
|
|
# Argument: 'ns:CategoryListingsSearchCodeType' |
389
|
|
|
|
|
|
|
|
390
|
|
|
|
|
|
|
=cut |
391
|
|
|
|
|
|
|
|
392
|
|
|
|
|
|
|
sub setSearchType { |
393
|
|
|
|
|
|
|
my $self = shift; |
394
|
|
|
|
|
|
|
my $sSearchType = shift; |
395
|
|
|
|
|
|
|
$self->getRequestDataType()->setSearchType($sSearchType); |
396
|
|
|
|
|
|
|
} |
397
|
|
|
|
|
|
|
|
398
|
|
|
|
|
|
|
|
399
|
|
|
|
|
|
|
|
400
|
|
|
|
|
|
|
# |
401
|
|
|
|
|
|
|
# output properties |
402
|
|
|
|
|
|
|
# |
403
|
|
|
|
|
|
|
|
404
|
|
|
|
|
|
|
=head2 getBuyingGuideDetails() |
405
|
|
|
|
|
|
|
|
406
|
|
|
|
|
|
|
Contains information about relevant buying guides (if any) and the |
407
|
|
|
|
|
|
|
site's buying guide hub. Buying guides are useful to buyers who do not |
408
|
|
|
|
|
|
|
have a specific product in mind. For example, a digital camera buying |
409
|
|
|
|
|
|
|
guide could help a buyer determine what kind of digital camera is right |
410
|
|
|
|
|
|
|
for them. |
411
|
|
|
|
|
|
|
|
412
|
|
|
|
|
|
|
Returned: Conditionally |
413
|
|
|
|
|
|
|
# Returns: 'ns:BuyingGuideDetailsType' |
414
|
|
|
|
|
|
|
|
415
|
|
|
|
|
|
|
=cut |
416
|
|
|
|
|
|
|
|
417
|
|
|
|
|
|
|
sub getBuyingGuideDetails { |
418
|
|
|
|
|
|
|
my $self = shift; |
419
|
|
|
|
|
|
|
return $self->getResponseDataType()->getBuyingGuideDetails(); |
420
|
|
|
|
|
|
|
} |
421
|
|
|
|
|
|
|
|
422
|
|
|
|
|
|
|
=head2 getCategory() |
423
|
|
|
|
|
|
|
|
424
|
|
|
|
|
|
|
Indicates the category from which the listings were drawn. |
425
|
|
|
|
|
|
|
|
426
|
|
|
|
|
|
|
Returned: Always |
427
|
|
|
|
|
|
|
# Returns: 'ns:CategoryType' |
428
|
|
|
|
|
|
|
|
429
|
|
|
|
|
|
|
=cut |
430
|
|
|
|
|
|
|
|
431
|
|
|
|
|
|
|
sub getCategory { |
432
|
|
|
|
|
|
|
my $self = shift; |
433
|
|
|
|
|
|
|
return $self->getResponseDataType()->getCategory(); |
434
|
|
|
|
|
|
|
} |
435
|
|
|
|
|
|
|
|
436
|
|
|
|
|
|
|
=head2 isHasMoreItems() |
437
|
|
|
|
|
|
|
|
438
|
|
|
|
|
|
|
Indicates whether there are more item listings that can be returned |
439
|
|
|
|
|
|
|
(items listed in the specified category and that meet any input filtering |
440
|
|
|
|
|
|
|
criteria). |
441
|
|
|
|
|
|
|
|
442
|
|
|
|
|
|
|
Returned: Always |
443
|
|
|
|
|
|
|
# Returns: 'xs:boolean' |
444
|
|
|
|
|
|
|
|
445
|
|
|
|
|
|
|
=cut |
446
|
|
|
|
|
|
|
|
447
|
|
|
|
|
|
|
sub isHasMoreItems { |
448
|
|
|
|
|
|
|
my $self = shift; |
449
|
|
|
|
|
|
|
return $self->getResponseDataType()->isHasMoreItems(); |
450
|
|
|
|
|
|
|
} |
451
|
|
|
|
|
|
|
|
452
|
|
|
|
|
|
|
=head2 getItemArray() |
453
|
|
|
|
|
|
|
|
454
|
|
|
|
|
|
|
Contains the item listings for the specified category and which meet the |
455
|
|
|
|
|
|
|
input filtering criteria (if any is specified). Consists of one ItemType |
456
|
|
|
|
|
|
|
object for each returned item listing. |
457
|
|
|
|
|
|
|
|
458
|
|
|
|
|
|
|
Returned: Conditionally |
459
|
|
|
|
|
|
|
# Returns: 'ns:ItemArrayType' |
460
|
|
|
|
|
|
|
|
461
|
|
|
|
|
|
|
=cut |
462
|
|
|
|
|
|
|
|
463
|
|
|
|
|
|
|
sub getItemArray { |
464
|
|
|
|
|
|
|
my $self = shift; |
465
|
|
|
|
|
|
|
return $self->getResponseDataType()->getItemArray(); |
466
|
|
|
|
|
|
|
} |
467
|
|
|
|
|
|
|
|
468
|
|
|
|
|
|
|
=head2 getItemsPerPage() |
469
|
|
|
|
|
|
|
|
470
|
|
|
|
|
|
|
Indicates the maximum number of item listings that will be returned per |
471
|
|
|
|
|
|
|
call. |
472
|
|
|
|
|
|
|
|
473
|
|
|
|
|
|
|
Returned: Always |
474
|
|
|
|
|
|
|
# Returns: 'xs:int' |
475
|
|
|
|
|
|
|
|
476
|
|
|
|
|
|
|
=cut |
477
|
|
|
|
|
|
|
|
478
|
|
|
|
|
|
|
sub getItemsPerPage { |
479
|
|
|
|
|
|
|
my $self = shift; |
480
|
|
|
|
|
|
|
return $self->getResponseDataType()->getItemsPerPage(); |
481
|
|
|
|
|
|
|
} |
482
|
|
|
|
|
|
|
|
483
|
|
|
|
|
|
|
=head2 getPageNumber() |
484
|
|
|
|
|
|
|
|
485
|
|
|
|
|
|
|
Indicates the page of data returned in the current call. |
486
|
|
|
|
|
|
|
|
487
|
|
|
|
|
|
|
Returned: Always |
488
|
|
|
|
|
|
|
# Returns: 'xs:int' |
489
|
|
|
|
|
|
|
|
490
|
|
|
|
|
|
|
=cut |
491
|
|
|
|
|
|
|
|
492
|
|
|
|
|
|
|
sub getPageNumber { |
493
|
|
|
|
|
|
|
my $self = shift; |
494
|
|
|
|
|
|
|
return $self->getResponseDataType()->getPageNumber(); |
495
|
|
|
|
|
|
|
} |
496
|
|
|
|
|
|
|
|
497
|
|
|
|
|
|
|
=head2 getPaginationResult() |
498
|
|
|
|
|
|
|
|
499
|
|
|
|
|
|
|
Indicates the results of the pagination, including the total number of |
500
|
|
|
|
|
|
|
pages of data there are to be returned and the total number of items |
501
|
|
|
|
|
|
|
there are to be returned. |
502
|
|
|
|
|
|
|
|
503
|
|
|
|
|
|
|
Returned: Always |
504
|
|
|
|
|
|
|
# Returns: 'ns:PaginationResultType' |
505
|
|
|
|
|
|
|
|
506
|
|
|
|
|
|
|
=cut |
507
|
|
|
|
|
|
|
|
508
|
|
|
|
|
|
|
sub getPaginationResult { |
509
|
|
|
|
|
|
|
my $self = shift; |
510
|
|
|
|
|
|
|
return $self->getResponseDataType()->getPaginationResult(); |
511
|
|
|
|
|
|
|
} |
512
|
|
|
|
|
|
|
|
513
|
|
|
|
|
|
|
=head2 getRelatedSearchKeywordArray() |
514
|
|
|
|
|
|
|
|
515
|
|
|
|
|
|
|
Container for keywords related to the category ID in the request. |
516
|
|
|
|
|
|
|
Can be returned if the request specified more than zero in |
517
|
|
|
|
|
|
|
the MaxRelatedSearchKeywords field. |
518
|
|
|
|
|
|
|
|
519
|
|
|
|
|
|
|
Returned: Conditionally |
520
|
|
|
|
|
|
|
# Returns: 'ns:RelatedSearchKeywordArrayType' |
521
|
|
|
|
|
|
|
|
522
|
|
|
|
|
|
|
=cut |
523
|
|
|
|
|
|
|
|
524
|
|
|
|
|
|
|
sub getRelatedSearchKeywordArray { |
525
|
|
|
|
|
|
|
my $self = shift; |
526
|
|
|
|
|
|
|
return $self->getResponseDataType()->getRelatedSearchKeywordArray(); |
527
|
|
|
|
|
|
|
} |
528
|
|
|
|
|
|
|
|
529
|
|
|
|
|
|
|
=head2 getSubCategories() |
530
|
|
|
|
|
|
|
|
531
|
|
|
|
|
|
|
Collection of the sub-categories that are child to the category indicated |
532
|
|
|
|
|
|
|
in Category. Data for each sub-category is conveyed in a CategoryType |
533
|
|
|
|
|
|
|
object. |
534
|
|
|
|
|
|
|
|
535
|
|
|
|
|
|
|
Returned: Conditionally |
536
|
|
|
|
|
|
|
# Returns: 'ns:CategoryArrayType' |
537
|
|
|
|
|
|
|
|
538
|
|
|
|
|
|
|
=cut |
539
|
|
|
|
|
|
|
|
540
|
|
|
|
|
|
|
sub getSubCategories { |
541
|
|
|
|
|
|
|
my $self = shift; |
542
|
|
|
|
|
|
|
return $self->getResponseDataType()->getSubCategories(); |
543
|
|
|
|
|
|
|
} |
544
|
|
|
|
|
|
|
|
545
|
|
|
|
|
|
|
|
546
|
|
|
|
|
|
|
|
547
|
|
|
|
|
|
|
|
548
|
|
|
|
|
|
|
|
549
|
|
|
|
|
|
|
1; |