line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
#!/usr/bin/perl |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package eBay::API::XML::Call::GetSearchResultsExpress; |
4
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
2462
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
28
|
|
6
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
27
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
########################################################################## |
9
|
|
|
|
|
|
|
# |
10
|
|
|
|
|
|
|
# Module: ............... eBay/API/XML |
11
|
|
|
|
|
|
|
# File: ................. GetSearchResultsExpress.pm |
12
|
|
|
|
|
|
|
# Generated by: ......... genEBayApiDataTypes.pl |
13
|
|
|
|
|
|
|
# Last Generated: ....... 07/07/2008 17:42 |
14
|
|
|
|
|
|
|
# API Release Number: ... 571 |
15
|
|
|
|
|
|
|
# |
16
|
|
|
|
|
|
|
########################################################################## |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
=head1 NAME |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
eBay::API::XML::Call::GetSearchResultsExpress |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 DESCRIPTION |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
=head1 SYNOPSIS |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=cut |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
=head1 INHERITANCE |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
eBay::API::XML::Call::GetSearchResultsExpress inherits from the L class |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
=cut |
36
|
|
|
|
|
|
|
|
37
|
1
|
|
|
1
|
|
33
|
use eBay::API::XML::BaseCall; |
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
our @ISA = ("eBay::API::XML::BaseCall"); |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
use eBay::API::XML::Call::GetSearchResultsExpress::GetSearchResultsExpressRequestType; |
41
|
|
|
|
|
|
|
use eBay::API::XML::Call::GetSearchResultsExpress::GetSearchResultsExpressResponseType; |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=head1 Subroutines: |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
=cut |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
sub getApiCallName { |
49
|
|
|
|
|
|
|
return 'GetSearchResultsExpress'; |
50
|
|
|
|
|
|
|
} |
51
|
|
|
|
|
|
|
sub getRequestDataTypeFullPackage { |
52
|
|
|
|
|
|
|
return 'eBay::API::XML::Call::GetSearchResultsExpress::GetSearchResultsExpressRequestType'; |
53
|
|
|
|
|
|
|
} |
54
|
|
|
|
|
|
|
sub getResponseDataTypeFullPackage { |
55
|
|
|
|
|
|
|
return 'eBay::API::XML::Call::GetSearchResultsExpress::GetSearchResultsExpressResponseType'; |
56
|
|
|
|
|
|
|
} |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
# |
59
|
|
|
|
|
|
|
# input properties |
60
|
|
|
|
|
|
|
# |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
=head2 setAffiliateTrackingDetails() |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
Container for affiliate tags. |
65
|
|
|
|
|
|
|
If you use affiliate tags, it is possible to get affiliate commissions |
66
|
|
|
|
|
|
|
based on calls made by your application. |
67
|
|
|
|
|
|
|
(See the eBay Partner Network |
68
|
|
|
|
|
|
|
for information about commissions.) |
69
|
|
|
|
|
|
|
Affiliate tags enable the tracking of user activity. |
70
|
|
|
|
|
|
|
You can use child tags of AffiliateTrackingDetails if you want |
71
|
|
|
|
|
|
|
call output to include a string, in |
72
|
|
|
|
|
|
|
ItemArray.Item.ListingDetails.ViewItemURL, that includes |
73
|
|
|
|
|
|
|
affiliate tracking information. |
74
|
|
|
|
|
|
|
For GetSearchResultsExpress, the ViewItemURL field is returned only if you specify AffiliateTrackingDetails in the request. |
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
SeeLink: URL: http://developer.ebay.com/DevZone/XML/docs/WebHelp/index.htm?context=eBay_XML_API&topic=AffiliateTrackingConcepts |
77
|
|
|
|
|
|
|
Title: Affiliate Tracking Concepts |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
RequiredInput: No |
80
|
|
|
|
|
|
|
# Argument: 'ns:AffiliateTrackingDetailsType' |
81
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
=cut |
83
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
sub setAffiliateTrackingDetails { |
85
|
|
|
|
|
|
|
my $self = shift; |
86
|
|
|
|
|
|
|
my $pAffiliateTrackingDetails = shift; |
87
|
|
|
|
|
|
|
$self->getRequestDataType()->setAffiliateTrackingDetails($pAffiliateTrackingDetails); |
88
|
|
|
|
|
|
|
} |
89
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
=head2 setAisleName() |
91
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
An aisle is a grouping of product types that share a common theme. This |
93
|
|
|
|
|
|
|
filter limits the search to the specified Express aisle. If not specified, |
94
|
|
|
|
|
|
|
this filter is ignored by the search engine. |
95
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
See DepartmentName for information about how to retrieve all available |
97
|
|
|
|
|
|
|
department, aisle, and product type names. The valid aisle names are |
98
|
|
|
|
|
|
|
returned in the Histogram.Department.Aisle.DomainDetails.Name |
99
|
|
|
|
|
|
|
fields. |
100
|
|
|
|
|
|
|
|
101
|
|
|
|
|
|
|
At least one of Query, ProductReferenceID, ExternalProductIDValue (and |
102
|
|
|
|
|
|
|
Type), SellerID, DepartmentName, AisleName, or ProductTypeName is required. |
103
|
|
|
|
|
|
|
Optionally, both DepartmentName and AisleName can be specified in the same |
104
|
|
|
|
|
|
|
request. In this case, the search engine treats the combination as a fully |
105
|
|
|
|
|
|
|
qualified aisle name (and it returns an error if the combination is |
106
|
|
|
|
|
|
|
invalid). |
107
|
|
|
|
|
|
|
|
108
|
|
|
|
|
|
|
MaxLength: 200 |
109
|
|
|
|
|
|
|
|
110
|
|
|
|
|
|
|
RequiredInput: Conditionally |
111
|
|
|
|
|
|
|
# Argument: 'xs:string' |
112
|
|
|
|
|
|
|
|
113
|
|
|
|
|
|
|
=cut |
114
|
|
|
|
|
|
|
|
115
|
|
|
|
|
|
|
sub setAisleName { |
116
|
|
|
|
|
|
|
my $self = shift; |
117
|
|
|
|
|
|
|
my $sAisleName = shift; |
118
|
|
|
|
|
|
|
$self->getRequestDataType()->setAisleName($sAisleName); |
119
|
|
|
|
|
|
|
} |
120
|
|
|
|
|
|
|
|
121
|
|
|
|
|
|
|
=head2 setCondition() |
122
|
|
|
|
|
|
|
|
123
|
|
|
|
|
|
|
A filter that limits the results by the item condition. If not specified, |
124
|
|
|
|
|
|
|
the default is New. If the item is listed in a category that does not |
125
|
|
|
|
|
|
|
normally require the condition to be specified (like Event Tickets), the |
126
|
|
|
|
|
|
|
item is returned regardless of this condition setting. |
127
|
|
|
|
|
|
|
|
128
|
|
|
|
|
|
|
Default: New |
129
|
|
|
|
|
|
|
|
130
|
|
|
|
|
|
|
RequiredInput: No |
131
|
|
|
|
|
|
|
# Argument: 'ns:ConditionSelectionCodeType' |
132
|
|
|
|
|
|
|
|
133
|
|
|
|
|
|
|
=cut |
134
|
|
|
|
|
|
|
|
135
|
|
|
|
|
|
|
sub setCondition { |
136
|
|
|
|
|
|
|
my $self = shift; |
137
|
|
|
|
|
|
|
my $sCondition = shift; |
138
|
|
|
|
|
|
|
$self->getRequestDataType()->setCondition($sCondition); |
139
|
|
|
|
|
|
|
} |
140
|
|
|
|
|
|
|
|
141
|
|
|
|
|
|
|
=head2 setDepartmentName() |
142
|
|
|
|
|
|
|
|
143
|
|
|
|
|
|
|
A department is a grouping of aisles and/or product types that share a |
144
|
|
|
|
|
|
|
common theme. This filter limits the search to the specified Express |
145
|
|
|
|
|
|
|
department. If not specified, this filter is ignored by the search |
146
|
|
|
|
|
|
|
engine. |
147
|
|
|
|
|
|
|
|
148
|
|
|
|
|
|
|
You can specify the value "Express" (without quotes) as the department |
149
|
|
|
|
|
|
|
name to retrieve all departments on Express. With this use case, the |
150
|
|
|
|
|
|
|
ItemArray and ProductArray nodes aren't returned. The valid department |
151
|
|
|
|
|
|
|
names are returned in the Histogram.Department.DomainDetails.Name fields. |
152
|
|
|
|
|
|
|
When DepartmentName=Express, you can only specify HistogramSort and/or |
153
|
|
|
|
|
|
|
HistogramDetails. Set HistogramDetail to Fine to also retrieve all aisles |
154
|
|
|
|
|
|
|
and product types. Do not specify ItemDetails or ProductDetails at all in |
155
|
|
|
|
|
|
|
the request. (Setting the values to None will return an error). Also do |
156
|
|
|
|
|
|
|
not specify any other query, pagination, price, or sorting fields in the |
157
|
|
|
|
|
|
|
request. |
158
|
|
|
|
|
|
|
|
159
|
|
|
|
|
|
|
The Query, ProductReferenceID, and ExternalProductID query formats are |
160
|
|
|
|
|
|
|
mutually exclusive. That is, they cannot be used together in the same |
161
|
|
|
|
|
|
|
request. At least one of Query, ProductReferenceID, ExternalProductIDValue |
162
|
|
|
|
|
|
|
(and Type), SellerID, DepartmentName, AisleName, or ProductTypeName is |
163
|
|
|
|
|
|
|
required. |
164
|
|
|
|
|
|
|
|
165
|
|
|
|
|
|
|
MaxLength: 200 |
166
|
|
|
|
|
|
|
|
167
|
|
|
|
|
|
|
RequiredInput: No |
168
|
|
|
|
|
|
|
# Argument: 'xs:string' |
169
|
|
|
|
|
|
|
|
170
|
|
|
|
|
|
|
=cut |
171
|
|
|
|
|
|
|
|
172
|
|
|
|
|
|
|
sub setDepartmentName { |
173
|
|
|
|
|
|
|
my $self = shift; |
174
|
|
|
|
|
|
|
my $sDepartmentName = shift; |
175
|
|
|
|
|
|
|
$self->getRequestDataType()->setDepartmentName($sDepartmentName); |
176
|
|
|
|
|
|
|
} |
177
|
|
|
|
|
|
|
|
178
|
|
|
|
|
|
|
=head2 setEntriesPerPage() |
179
|
|
|
|
|
|
|
|
180
|
|
|
|
|
|
|
The maximum number of entries to return in the ProductArray or ItemArray. |
181
|
|
|
|
|
|
|
That is, if you specify 10, then up to 10 products and up to 10 items are |
182
|
|
|
|
|
|
|
returned in the current call's response. |
183
|
|
|
|
|
|
|
|
184
|
|
|
|
|
|
|
If the number of entries found is less than the value specified in |
185
|
|
|
|
|
|
|
EntriesPerPage, then that number of entries is returned instead. For |
186
|
|
|
|
|
|
|
example, if you specify 10, Express might only return 4 products and 9 |
187
|
|
|
|
|
|
|
items (if no more matches are found). If not specified, the default is 15. |
188
|
|
|
|
|
|
|
|
189
|
|
|
|
|
|
|
Max: 200 |
190
|
|
|
|
|
|
|
Default: 15 |
191
|
|
|
|
|
|
|
Min: 1 |
192
|
|
|
|
|
|
|
|
193
|
|
|
|
|
|
|
RequiredInput: No |
194
|
|
|
|
|
|
|
# Argument: 'xs:int' |
195
|
|
|
|
|
|
|
|
196
|
|
|
|
|
|
|
=cut |
197
|
|
|
|
|
|
|
|
198
|
|
|
|
|
|
|
sub setEntriesPerPage { |
199
|
|
|
|
|
|
|
my $self = shift; |
200
|
|
|
|
|
|
|
my $sEntriesPerPage = shift; |
201
|
|
|
|
|
|
|
$self->getRequestDataType()->setEntriesPerPage($sEntriesPerPage); |
202
|
|
|
|
|
|
|
} |
203
|
|
|
|
|
|
|
|
204
|
|
|
|
|
|
|
=head2 setExternalProductIDType() |
205
|
|
|
|
|
|
|
|
206
|
|
|
|
|
|
|
The combination of ExternalProductIDType and ExternalProductIDValue create |
207
|
|
|
|
|
|
|
a query that only retrieves items that were listed with |
208
|
|
|
|
|
|
|
Pre-filled Item Information in categories that support |
209
|
|
|
|
|
|
|
ISBN or UPC codes (such as Books, DVDs and Movies, |
210
|
|
|
|
|
|
|
Music, and Video Games). |
211
|
|
|
|
|
|
|
ExternalProductIDType identifies which type of code you are |
212
|
|
|
|
|
|
|
searching for. If specified, also specify the ISBN or UPC |
213
|
|
|
|
|
|
|
code number in ExternalProductIDValue. |
214
|
|
|
|
|
|
|
|
215
|
|
|
|
|
|
|
The Query, ProductReferenceID, and ExternalProductID query formats |
216
|
|
|
|
|
|
|
are mutually exclusive. That is, they cannot be used together in the same request. At least one of Query, ProductReferenceID, |
217
|
|
|
|
|
|
|
ExternalProductIDValue (and Type), SellerID, DepartmentName, |
218
|
|
|
|
|
|
|
AisleName, or ProductTypeName is required. |
219
|
|
|
|
|
|
|
|
220
|
|
|
|
|
|
|
RequiredInput: Conditionally |
221
|
|
|
|
|
|
|
OnlyTheseValues: ISBN, UPC |
222
|
|
|
|
|
|
|
# Argument: 'ns:ExternalProductCodeType' |
223
|
|
|
|
|
|
|
|
224
|
|
|
|
|
|
|
=cut |
225
|
|
|
|
|
|
|
|
226
|
|
|
|
|
|
|
sub setExternalProductIDType { |
227
|
|
|
|
|
|
|
my $self = shift; |
228
|
|
|
|
|
|
|
my $sExternalProductIDType = shift; |
229
|
|
|
|
|
|
|
$self->getRequestDataType()->setExternalProductIDType($sExternalProductIDType); |
230
|
|
|
|
|
|
|
} |
231
|
|
|
|
|
|
|
|
232
|
|
|
|
|
|
|
=head2 setExternalProductIDValue() |
233
|
|
|
|
|
|
|
|
234
|
|
|
|
|
|
|
An ISBN or UPC code (depending on ExternalProductIDType) for the eBay |
235
|
|
|
|
|
|
|
catalog product that you are searching for. Only valid when |
236
|
|
|
|
|
|
|
ExternalProductIDType is specified. |
237
|
|
|
|
|
|
|
|
238
|
|
|
|
|
|
|
MaxLength: 15 |
239
|
|
|
|
|
|
|
|
240
|
|
|
|
|
|
|
RequiredInput: Conditionally |
241
|
|
|
|
|
|
|
# Argument: 'xs:string' |
242
|
|
|
|
|
|
|
|
243
|
|
|
|
|
|
|
=cut |
244
|
|
|
|
|
|
|
|
245
|
|
|
|
|
|
|
sub setExternalProductIDValue { |
246
|
|
|
|
|
|
|
my $self = shift; |
247
|
|
|
|
|
|
|
my $sExternalProductIDValue = shift; |
248
|
|
|
|
|
|
|
$self->getRequestDataType()->setExternalProductIDValue($sExternalProductIDValue); |
249
|
|
|
|
|
|
|
} |
250
|
|
|
|
|
|
|
|
251
|
|
|
|
|
|
|
=head2 setHighestPrice() |
252
|
|
|
|
|
|
|
|
253
|
|
|
|
|
|
|
A filter that limits the results to items with a SellingStatus.CurrentPrice |
254
|
|
|
|
|
|
|
value lower than this value. For example, if you specify 10.01, the results |
255
|
|
|
|
|
|
|
will include items with a CurrentPrice of 10.00 or lower. Use without |
256
|
|
|
|
|
|
|
LowestPrice to specify a maximum price, or use with LowestPrice to define a |
257
|
|
|
|
|
|
|
price range that bounds the results. Must be higher than LowestPrice if both |
258
|
|
|
|
|
|
|
are specified. If not specified, no maximum price filter is applied to the |
259
|
|
|
|
|
|
|
query. |
260
|
|
|
|
|
|
|
|
261
|
|
|
|
|
|
|
You can specify any double value, but in practice the highest price of any |
262
|
|
|
|
|
|
|
item on Express is USD 10000 for Express US and (in the future) EUR 10000 |
263
|
|
|
|
|
|
|
for Express Germany. If you specify a value of 0.0 or lower, this filter is |
264
|
|
|
|
|
|
|
ignored. See "Data Types" in the eBay Web Services Guide for information |
265
|
|
|
|
|
|
|
about specifying double values. |
266
|
|
|
|
|
|
|
|
267
|
|
|
|
|
|
|
Does not control the order in which items are returned. (To sort by highest |
268
|
|
|
|
|
|
|
total price, use ItemSort.) |
269
|
|
|
|
|
|
|
|
270
|
|
|
|
|
|
|
Max: Default: Min: |
271
|
|
|
|
|
|
|
RequiredInput: Conditionally |
272
|
|
|
|
|
|
|
# Argument: 'ns:AmountType' |
273
|
|
|
|
|
|
|
|
274
|
|
|
|
|
|
|
=cut |
275
|
|
|
|
|
|
|
|
276
|
|
|
|
|
|
|
sub setHighestPrice { |
277
|
|
|
|
|
|
|
my $self = shift; |
278
|
|
|
|
|
|
|
my $pHighestPrice = shift; |
279
|
|
|
|
|
|
|
$self->getRequestDataType()->setHighestPrice($pHighestPrice); |
280
|
|
|
|
|
|
|
} |
281
|
|
|
|
|
|
|
|
282
|
|
|
|
|
|
|
=head2 setHistogramDetails() |
283
|
|
|
|
|
|
|
|
284
|
|
|
|
|
|
|
Controls the amount of statistical data to return in the response. If not |
285
|
|
|
|
|
|
|
specified, the default is Coarse. |
286
|
|
|
|
|
|
|
|
287
|
|
|
|
|
|
|
This setting is not a filter that limits the search; it only configures |
288
|
|
|
|
|
|
|
how much detail to retrieve in the resulting histogram. This setting has |
289
|
|
|
|
|
|
|
no effect on the product or item details. |
290
|
|
|
|
|
|
|
|
291
|
|
|
|
|
|
|
Default: Coarse |
292
|
|
|
|
|
|
|
|
293
|
|
|
|
|
|
|
RequiredInput: No |
294
|
|
|
|
|
|
|
# Argument: 'ns:ExpressDetailLevelCodeType' |
295
|
|
|
|
|
|
|
|
296
|
|
|
|
|
|
|
=cut |
297
|
|
|
|
|
|
|
|
298
|
|
|
|
|
|
|
sub setHistogramDetails { |
299
|
|
|
|
|
|
|
my $self = shift; |
300
|
|
|
|
|
|
|
my $sHistogramDetails = shift; |
301
|
|
|
|
|
|
|
$self->getRequestDataType()->setHistogramDetails($sHistogramDetails); |
302
|
|
|
|
|
|
|
} |
303
|
|
|
|
|
|
|
|
304
|
|
|
|
|
|
|
=head2 setHistogramSort() |
305
|
|
|
|
|
|
|
|
306
|
|
|
|
|
|
|
Specifies the order of the data in the histogram (if any). Controls the |
307
|
|
|
|
|
|
|
way the histogram data is organized in the response (not the details to |
308
|
|
|
|
|
|
|
return). If not specified, the default sort order is ItemCount. |
309
|
|
|
|
|
|
|
|
310
|
|
|
|
|
|
|
This option has no effect on how item or product results are sorted. |
311
|
|
|
|
|
|
|
Histogram, item, and product results are sorted independently. |
312
|
|
|
|
|
|
|
|
313
|
|
|
|
|
|
|
Note: If you want to sort the results by criteria that eBay has not |
314
|
|
|
|
|
|
|
defined, retrieve the desired histogram data and then sort the results |
315
|
|
|
|
|
|
|
locally in your application. |
316
|
|
|
|
|
|
|
|
317
|
|
|
|
|
|
|
Default: ItemCount |
318
|
|
|
|
|
|
|
|
319
|
|
|
|
|
|
|
RequiredInput: No |
320
|
|
|
|
|
|
|
# Argument: 'ns:ExpressHistogramSortCodeType' |
321
|
|
|
|
|
|
|
|
322
|
|
|
|
|
|
|
=cut |
323
|
|
|
|
|
|
|
|
324
|
|
|
|
|
|
|
sub setHistogramSort { |
325
|
|
|
|
|
|
|
my $self = shift; |
326
|
|
|
|
|
|
|
my $sHistogramSort = shift; |
327
|
|
|
|
|
|
|
$self->getRequestDataType()->setHistogramSort($sHistogramSort); |
328
|
|
|
|
|
|
|
} |
329
|
|
|
|
|
|
|
|
330
|
|
|
|
|
|
|
=head2 setItemDetails() |
331
|
|
|
|
|
|
|
|
332
|
|
|
|
|
|
|
Selects the set of fields to retrieve for each item that matches the |
333
|
|
|
|
|
|
|
query. If not specified, the default is Coarse. |
334
|
|
|
|
|
|
|
|
335
|
|
|
|
|
|
|
This setting is not a filter that limits the search; it only configures |
336
|
|
|
|
|
|
|
which fields to retrieve for each item found. This setting has no effect |
337
|
|
|
|
|
|
|
on the histogram or product details. |
338
|
|
|
|
|
|
|
|
339
|
|
|
|
|
|
|
Default: Coarse |
340
|
|
|
|
|
|
|
|
341
|
|
|
|
|
|
|
RequiredInput: No |
342
|
|
|
|
|
|
|
# Argument: 'ns:ExpressDetailLevelCodeType' |
343
|
|
|
|
|
|
|
|
344
|
|
|
|
|
|
|
=cut |
345
|
|
|
|
|
|
|
|
346
|
|
|
|
|
|
|
sub setItemDetails { |
347
|
|
|
|
|
|
|
my $self = shift; |
348
|
|
|
|
|
|
|
my $sItemDetails = shift; |
349
|
|
|
|
|
|
|
$self->getRequestDataType()->setItemDetails($sItemDetails); |
350
|
|
|
|
|
|
|
} |
351
|
|
|
|
|
|
|
|
352
|
|
|
|
|
|
|
=head2 setItemSort() |
353
|
|
|
|
|
|
|
|
354
|
|
|
|
|
|
|
Specifies the order in which listings (if any) are returned in the result |
355
|
|
|
|
|
|
|
set. If not specified, the items are sorted by relevance (as determined by |
356
|
|
|
|
|
|
|
eBay). If you choose to sort by total cost, a PostalCode must also be |
357
|
|
|
|
|
|
|
specified (so that eBay can calculate the shipping cost as part of the |
358
|
|
|
|
|
|
|
total cost for each item). |
359
|
|
|
|
|
|
|
|
360
|
|
|
|
|
|
|
Controls the way the data is organized in the response (not the details to |
361
|
|
|
|
|
|
|
return). |
362
|
|
|
|
|
|
|
|
363
|
|
|
|
|
|
|
This option has no effect on how histogram or product results are sorted. |
364
|
|
|
|
|
|
|
Histogram, item, and product results are sorted independently. |
365
|
|
|
|
|
|
|
|
366
|
|
|
|
|
|
|
Note: If you want to sort the results by criteria that eBay has not |
367
|
|
|
|
|
|
|
defined, retrieve all available pages and then sort the results locally in |
368
|
|
|
|
|
|
|
your application. |
369
|
|
|
|
|
|
|
|
370
|
|
|
|
|
|
|
Default: Relevance |
371
|
|
|
|
|
|
|
|
372
|
|
|
|
|
|
|
RequiredInput: No |
373
|
|
|
|
|
|
|
# Argument: 'ns:ExpressItemSortCodeType' |
374
|
|
|
|
|
|
|
|
375
|
|
|
|
|
|
|
=cut |
376
|
|
|
|
|
|
|
|
377
|
|
|
|
|
|
|
sub setItemSort { |
378
|
|
|
|
|
|
|
my $self = shift; |
379
|
|
|
|
|
|
|
my $sItemSort = shift; |
380
|
|
|
|
|
|
|
$self->getRequestDataType()->setItemSort($sItemSort); |
381
|
|
|
|
|
|
|
} |
382
|
|
|
|
|
|
|
|
383
|
|
|
|
|
|
|
=head2 setLowestPrice() |
384
|
|
|
|
|
|
|
|
385
|
|
|
|
|
|
|
A filter that limits the results to items with a |
386
|
|
|
|
|
|
|
SellingStatus.CurrentPrice value equal to or higher than this value. For |
387
|
|
|
|
|
|
|
example, if you specify 6.00, the results will include items with a |
388
|
|
|
|
|
|
|
CurrentPrice of 6.00 or higher. If specified, HighestPrice must also be |
389
|
|
|
|
|
|
|
specified; otherwise, the lowest price filter is ignored. Must be lower |
390
|
|
|
|
|
|
|
than HighestPrice. If not specified or if the value is less than 0.0, no |
391
|
|
|
|
|
|
|
minimum price filter is applied to the query. |
392
|
|
|
|
|
|
|
|
393
|
|
|
|
|
|
|
You can specify any double value, but in practice the highest price of any |
394
|
|
|
|
|
|
|
item on Express is USD 10000 for Express US and (in the future) EUR 10000 |
395
|
|
|
|
|
|
|
for Express Germany. See "Data Types" in the eBay Web Services Guide for |
396
|
|
|
|
|
|
|
information about specifying double values . |
397
|
|
|
|
|
|
|
|
398
|
|
|
|
|
|
|
Does not control the order in which items are returned. (To sort by lowest |
399
|
|
|
|
|
|
|
total price, use ItemSort.) |
400
|
|
|
|
|
|
|
|
401
|
|
|
|
|
|
|
Max: Default: Min: |
402
|
|
|
|
|
|
|
RequiredInput: No |
403
|
|
|
|
|
|
|
# Argument: 'ns:AmountType' |
404
|
|
|
|
|
|
|
|
405
|
|
|
|
|
|
|
=cut |
406
|
|
|
|
|
|
|
|
407
|
|
|
|
|
|
|
sub setLowestPrice { |
408
|
|
|
|
|
|
|
my $self = shift; |
409
|
|
|
|
|
|
|
my $pLowestPrice = shift; |
410
|
|
|
|
|
|
|
$self->getRequestDataType()->setLowestPrice($pLowestPrice); |
411
|
|
|
|
|
|
|
} |
412
|
|
|
|
|
|
|
|
413
|
|
|
|
|
|
|
=head2 setPageNumber() |
414
|
|
|
|
|
|
|
|
415
|
|
|
|
|
|
|
Specifies the number of the page of data to return in the current call. If |
416
|
|
|
|
|
|
|
not specified, the default is 1 (the first page). |
417
|
|
|
|
|
|
|
|
418
|
|
|
|
|
|
|
Max: 90 |
419
|
|
|
|
|
|
|
Default: 1 |
420
|
|
|
|
|
|
|
Min: 1 |
421
|
|
|
|
|
|
|
|
422
|
|
|
|
|
|
|
RequiredInput: No |
423
|
|
|
|
|
|
|
# Argument: 'xs:int' |
424
|
|
|
|
|
|
|
|
425
|
|
|
|
|
|
|
=cut |
426
|
|
|
|
|
|
|
|
427
|
|
|
|
|
|
|
sub setPageNumber { |
428
|
|
|
|
|
|
|
my $self = shift; |
429
|
|
|
|
|
|
|
my $sPageNumber = shift; |
430
|
|
|
|
|
|
|
$self->getRequestDataType()->setPageNumber($sPageNumber); |
431
|
|
|
|
|
|
|
} |
432
|
|
|
|
|
|
|
|
433
|
|
|
|
|
|
|
=head2 setPostalCode() |
434
|
|
|
|
|
|
|
|
435
|
|
|
|
|
|
|
Postal code of the buyer. For the US site, this is a 5-digit zip code. |
436
|
|
|
|
|
|
|
(Other sites may support longer alphanumeric values in the future.) The |
437
|
|
|
|
|
|
|
postal code enables Express to calculate the item's default shipping cost |
438
|
|
|
|
|
|
|
based on the buyer's postal code, the postal code defined on the item, and |
439
|
|
|
|
|
|
|
the cost of the default shipping service that the seller specified in the |
440
|
|
|
|
|
|
|
listing. The default shipping cost is returned in the |
441
|
|
|
|
|
|
|
Item.ShippingDetails.DefaultShippingCost field. If not specified, items |
442
|
|
|
|
|
|
|
with calculated shipping will return an |
443
|
|
|
|
|
|
|
Item.ShippingDetails.ShippingRateErrorMessage string that indicates that a |
444
|
|
|
|
|
|
|
postal code is needed to calculate shipping. |
445
|
|
|
|
|
|
|
|
446
|
|
|
|
|
|
|
Required if ItemSort is set to LowestTotalCost or HighestTotalCost |
447
|
|
|
|
|
|
|
(because the total cost calculation depends on the shipping cost |
448
|
|
|
|
|
|
|
calculation). |
449
|
|
|
|
|
|
|
|
450
|
|
|
|
|
|
|
This is not a query or filter, so it has no effect on which items or |
451
|
|
|
|
|
|
|
products are returned. |
452
|
|
|
|
|
|
|
|
453
|
|
|
|
|
|
|
MaxLength: 5 |
454
|
|
|
|
|
|
|
|
455
|
|
|
|
|
|
|
RequiredInput: Conditionally |
456
|
|
|
|
|
|
|
# Argument: 'xs:string' |
457
|
|
|
|
|
|
|
|
458
|
|
|
|
|
|
|
=cut |
459
|
|
|
|
|
|
|
|
460
|
|
|
|
|
|
|
sub setPostalCode { |
461
|
|
|
|
|
|
|
my $self = shift; |
462
|
|
|
|
|
|
|
my $sPostalCode = shift; |
463
|
|
|
|
|
|
|
$self->getRequestDataType()->setPostalCode($sPostalCode); |
464
|
|
|
|
|
|
|
} |
465
|
|
|
|
|
|
|
|
466
|
|
|
|
|
|
|
=head2 setProductDetails() |
467
|
|
|
|
|
|
|
|
468
|
|
|
|
|
|
|
Selects the set of fields to retrieve for each catalog product that |
469
|
|
|
|
|
|
|
matches the query. If not specified, the default is Coarse. |
470
|
|
|
|
|
|
|
|
471
|
|
|
|
|
|
|
This setting is not a filter that limits the search; it only configures |
472
|
|
|
|
|
|
|
which fields to retrieve for each product found. This setting has no |
473
|
|
|
|
|
|
|
effect on the histogram or item details. |
474
|
|
|
|
|
|
|
|
475
|
|
|
|
|
|
|
Default: Coarse |
476
|
|
|
|
|
|
|
|
477
|
|
|
|
|
|
|
RequiredInput: No |
478
|
|
|
|
|
|
|
# Argument: 'ns:ExpressDetailLevelCodeType' |
479
|
|
|
|
|
|
|
|
480
|
|
|
|
|
|
|
=cut |
481
|
|
|
|
|
|
|
|
482
|
|
|
|
|
|
|
sub setProductDetails { |
483
|
|
|
|
|
|
|
my $self = shift; |
484
|
|
|
|
|
|
|
my $sProductDetails = shift; |
485
|
|
|
|
|
|
|
$self->getRequestDataType()->setProductDetails($sProductDetails); |
486
|
|
|
|
|
|
|
} |
487
|
|
|
|
|
|
|
|
488
|
|
|
|
|
|
|
=head2 setProductReferenceID() |
489
|
|
|
|
|
|
|
|
490
|
|
|
|
|
|
|
The global reference ID for an eBay catalog product. eBay catalog products |
491
|
|
|
|
|
|
|
provide stock information that sellers can use to pre-fill Item Specifics |
492
|
|
|
|
|
|
|
and other listing details. Use this query to retrieve basic details about |
493
|
|
|
|
|
|
|
the catalog product (returned in ProductArray) along with items (in |
494
|
|
|
|
|
|
|
ItemArray) that were |
495
|
|
|
|
|
|
|
listed with any version of the product. |
496
|
|
|
|
|
|
|
|
497
|
|
|
|
|
|
|
To determine valid reference IDs, call GetSearchResultsExpress without |
498
|
|
|
|
|
|
|
using this value. The IDs that match the query (if any) are returned in |
499
|
|
|
|
|
|
|
ProductArray.Product.ProductReferenceID fields. |
500
|
|
|
|
|
|
|
|
501
|
|
|
|
|
|
|
Note: |
502
|
|
|
|
|
|
|
This value is not the same as the ProductID used in AddItem and related calls. A ProductID represents a particular version |
503
|
|
|
|
|
|
|
of a catalog product, which is associated with a particular set of |
504
|
|
|
|
|
|
|
Item Specifics and other details. A ProductReferenceID is a more generic |
505
|
|
|
|
|
|
|
or global reference to a catalog product, which is useful for buy-side searching. One ProductReferenceID can be associated with multiple ProductIDs. |
506
|
|
|
|
|
|
|
|
507
|
|
|
|
|
|
|
The Query, ProductReferenceID, and ExternalProductID query formats are |
508
|
|
|
|
|
|
|
mutually exclusive. That is, they cannot be used together in the same |
509
|
|
|
|
|
|
|
request. At least one of Query, ProductReferenceID, ExternalProductIDValue |
510
|
|
|
|
|
|
|
(and Type), SellerID, DepartmentName, AisleName, or ProductTypeName is |
511
|
|
|
|
|
|
|
required. |
512
|
|
|
|
|
|
|
|
513
|
|
|
|
|
|
|
As of mid-2008, some sites (such as eBay US, Germany, Austria, and Switzerland) are |
514
|
|
|
|
|
|
|
updating, replacing, deleting, or merging some products (as a result of migrating from one |
515
|
|
|
|
|
|
|
catalog data provider to another). |
516
|
|
|
|
|
|
|
If you specify one of these products, the call may return a warning, |
517
|
|
|
|
|
|
|
or it may return an error if the product has been deleted. |
518
|
|
|
|
|
|
|
|
519
|
|
|
|
|
|
|
Max: Default: Min: |
520
|
|
|
|
|
|
|
RequiredInput: Conditionally |
521
|
|
|
|
|
|
|
# Argument: 'xs:long' |
522
|
|
|
|
|
|
|
|
523
|
|
|
|
|
|
|
=cut |
524
|
|
|
|
|
|
|
|
525
|
|
|
|
|
|
|
sub setProductReferenceID { |
526
|
|
|
|
|
|
|
my $self = shift; |
527
|
|
|
|
|
|
|
my $sProductReferenceID = shift; |
528
|
|
|
|
|
|
|
$self->getRequestDataType()->setProductReferenceID($sProductReferenceID); |
529
|
|
|
|
|
|
|
} |
530
|
|
|
|
|
|
|
|
531
|
|
|
|
|
|
|
=head2 setProductSort() |
532
|
|
|
|
|
|
|
|
533
|
|
|
|
|
|
|
Specifies the order in which Express products are returned in a result |
534
|
|
|
|
|
|
|
set. If not specified, the products are sorted by sales rank (bestselling |
535
|
|
|
|
|
|
|
first). |
536
|
|
|
|
|
|
|
|
537
|
|
|
|
|
|
|
This option has no effect on how histogram or item results are sorted. |
538
|
|
|
|
|
|
|
Histogram, item, and product results are sorted independently. |
539
|
|
|
|
|
|
|
|
540
|
|
|
|
|
|
|
Note: If you want to sort the results by criteria that eBay has not |
541
|
|
|
|
|
|
|
defined, retrieve all available pages and then sort the results locally in |
542
|
|
|
|
|
|
|
your application. |
543
|
|
|
|
|
|
|
|
544
|
|
|
|
|
|
|
Controls the way the data is organized in the response (not the details to |
545
|
|
|
|
|
|
|
return). |
546
|
|
|
|
|
|
|
|
547
|
|
|
|
|
|
|
Default: SalesRank |
548
|
|
|
|
|
|
|
|
549
|
|
|
|
|
|
|
RequiredInput: No |
550
|
|
|
|
|
|
|
# Argument: 'ns:ExpressProductSortCodeType' |
551
|
|
|
|
|
|
|
|
552
|
|
|
|
|
|
|
=cut |
553
|
|
|
|
|
|
|
|
554
|
|
|
|
|
|
|
sub setProductSort { |
555
|
|
|
|
|
|
|
my $self = shift; |
556
|
|
|
|
|
|
|
my $sProductSort = shift; |
557
|
|
|
|
|
|
|
$self->getRequestDataType()->setProductSort($sProductSort); |
558
|
|
|
|
|
|
|
} |
559
|
|
|
|
|
|
|
|
560
|
|
|
|
|
|
|
=head2 setProductTypeName() |
561
|
|
|
|
|
|
|
|
562
|
|
|
|
|
|
|
A product type is a type of good or service that can be purchased. This |
563
|
|
|
|
|
|
|
filter limits the search to the specified Express product type. If not |
564
|
|
|
|
|
|
|
specified, this filter is ignored by the search engine. |
565
|
|
|
|
|
|
|
|
566
|
|
|
|
|
|
|
Note: Express product types are not eBay catalog |
567
|
|
|
|
|
|
|
products. This field does not support eBay catalog product names or |
568
|
|
|
|
|
|
|
IDs. |
569
|
|
|
|
|
|
|
|
570
|
|
|
|
|
|
|
See DepartmentName for information about how to retrieve all available |
571
|
|
|
|
|
|
|
department, aisle, and product type names. The valid product type names |
572
|
|
|
|
|
|
|
are returned in Histogram.Department.Aisle.ProductType.DomainDetails.Name |
573
|
|
|
|
|
|
|
fields. |
574
|
|
|
|
|
|
|
|
575
|
|
|
|
|
|
|
Optionally, DepartmentName and/or AisleName can be specified in the same |
576
|
|
|
|
|
|
|
request with ProductTypeName. In this case, the search engine treats the |
577
|
|
|
|
|
|
|
combination as a fully qualified product type name (and it returns an |
578
|
|
|
|
|
|
|
error if the combination is invalid). |
579
|
|
|
|
|
|
|
|
580
|
|
|
|
|
|
|
MaxLength: 200 |
581
|
|
|
|
|
|
|
|
582
|
|
|
|
|
|
|
RequiredInput: No |
583
|
|
|
|
|
|
|
# Argument: 'xs:string' |
584
|
|
|
|
|
|
|
|
585
|
|
|
|
|
|
|
=cut |
586
|
|
|
|
|
|
|
|
587
|
|
|
|
|
|
|
sub setProductTypeName { |
588
|
|
|
|
|
|
|
my $self = shift; |
589
|
|
|
|
|
|
|
my $sProductTypeName = shift; |
590
|
|
|
|
|
|
|
$self->getRequestDataType()->setProductTypeName($sProductTypeName); |
591
|
|
|
|
|
|
|
} |
592
|
|
|
|
|
|
|
|
593
|
|
|
|
|
|
|
=head2 setQuery() |
594
|
|
|
|
|
|
|
|
595
|
|
|
|
|
|
|
A free-text query that retrieves items, information about eBay catalog |
596
|
|
|
|
|
|
|
products that were used to list the items, and/or applicable domain |
597
|
|
|
|
|
|
|
details. For a quick, targeted search, use keywords that best fit the item |
598
|
|
|
|
|
|
|
you're looking for. You can also search by brand name or descriptive |
599
|
|
|
|
|
|
|
features. The search engine checks all specified keywords against the item |
600
|
|
|
|
|
|
|
title, description, eBay category, Item Specifics, and/or Pre-filled Item |
601
|
|
|
|
|
|
|
Information. (Express does not necessarily check all Item Specifics |
602
|
|
|
|
|
|
|
defined on the item.) The exact combination of fields that are checked for |
603
|
|
|
|
|
|
|
any given set of keywords varies by a number of factors that are not |
604
|
|
|
|
|
|
|
disclosed in this documentation. |
605
|
|
|
|
|
|
|
|
606
|
|
|
|
|
|
|
Specify at least two characters when you use Query. If you specify |
607
|
|
|
|
|
|
|
multiple words, AND logic is used. The keywords can be specified any |
608
|
|
|
|
|
|
|
order. The words "and" and "or" are treated like any other word. Only use |
609
|
|
|
|
|
|
|
"and", "or", or "the" if you are searching for listings containing these |
610
|
|
|
|
|
|
|
words. |
611
|
|
|
|
|
|
|
|
612
|
|
|
|
|
|
|
You can control AND or OR logic by including certain modifiers. Wildcards |
613
|
|
|
|
|
|
|
(e.g., *) are also supported. Be careful when using spaces before or after |
614
|
|
|
|
|
|
|
modifiers and wildcards (+, -, or *). These are the same modifiers that |
615
|
|
|
|
|
|
|
GetSearchResults supports. See "Searching by Keywords" in the eBay Web |
616
|
|
|
|
|
|
|
Services Guide for a list of valid modifiers and examples. Modifiers do |
617
|
|
|
|
|
|
|
not count in the 2-character minimum. |
618
|
|
|
|
|
|
|
|
619
|
|
|
|
|
|
|
|
620
|
|
|
|
|
|
|
Alternatively, you can specify an item ID to retrieve a specific item's |
621
|
|
|
|
|
|
|
Express search details. To search by ISBN or UPC, use |
622
|
|
|
|
|
|
|
ExternalProductIDType and ExternalProductIDValue instead. |
623
|
|
|
|
|
|
|
|
624
|
|
|
|
|
|
|
The Query, ProductReferenceID, and ExternalProductID query formats are |
625
|
|
|
|
|
|
|
mutually exclusive. That is, they cannot be used together in the same |
626
|
|
|
|
|
|
|
request. At least one of Query, ProductReferenceID, ExternalProductIDValue |
627
|
|
|
|
|
|
|
(and Type), SellerID, DepartmentName, AisleName, or ProductTypeName is |
628
|
|
|
|
|
|
|
required. |
629
|
|
|
|
|
|
|
|
630
|
|
|
|
|
|
|
MaxLength: 350 |
631
|
|
|
|
|
|
|
|
632
|
|
|
|
|
|
|
RequiredInput: Conditionally |
633
|
|
|
|
|
|
|
# Argument: 'xs:string' |
634
|
|
|
|
|
|
|
|
635
|
|
|
|
|
|
|
=cut |
636
|
|
|
|
|
|
|
|
637
|
|
|
|
|
|
|
sub setQuery { |
638
|
|
|
|
|
|
|
my $self = shift; |
639
|
|
|
|
|
|
|
my $sQuery = shift; |
640
|
|
|
|
|
|
|
$self->getRequestDataType()->setQuery($sQuery); |
641
|
|
|
|
|
|
|
} |
642
|
|
|
|
|
|
|
|
643
|
|
|
|
|
|
|
=head2 setSellerID() |
644
|
|
|
|
|
|
|
|
645
|
|
|
|
|
|
|
A filter that limits the search to a particular seller's listings that are |
646
|
|
|
|
|
|
|
included on Express. Retrieves all of the seller's eligible items, without |
647
|
|
|
|
|
|
|
consolidating (deduping) similar items into single representative results. |
648
|
|
|
|
|
|
|
If specified, you can only search within one seller's listings per call. |
649
|
|
|
|
|
|
|
(It is not possible to exclude a particular seller's listings from the |
650
|
|
|
|
|
|
|
search.) If not specified, the engine searches across all listings on |
651
|
|
|
|
|
|
|
Express. If the seller has no items listed on Express, no results are |
652
|
|
|
|
|
|
|
returned. |
653
|
|
|
|
|
|
|
|
654
|
|
|
|
|
|
|
RequiredInput: No |
655
|
|
|
|
|
|
|
# Argument: 'ns:UserIDType' |
656
|
|
|
|
|
|
|
|
657
|
|
|
|
|
|
|
=cut |
658
|
|
|
|
|
|
|
|
659
|
|
|
|
|
|
|
sub setSellerID { |
660
|
|
|
|
|
|
|
my $self = shift; |
661
|
|
|
|
|
|
|
my $pSellerID = shift; |
662
|
|
|
|
|
|
|
$self->getRequestDataType()->setSellerID($pSellerID); |
663
|
|
|
|
|
|
|
} |
664
|
|
|
|
|
|
|
|
665
|
|
|
|
|
|
|
|
666
|
|
|
|
|
|
|
|
667
|
|
|
|
|
|
|
# |
668
|
|
|
|
|
|
|
# output properties |
669
|
|
|
|
|
|
|
# |
670
|
|
|
|
|
|
|
|
671
|
|
|
|
|
|
|
=head2 getEntriesPerPage() |
672
|
|
|
|
|
|
|
|
673
|
|
|
|
|
|
|
Indicates the number of item and product results per page that you |
674
|
|
|
|
|
|
|
originally requested (not the number of items or products |
675
|
|
|
|
|
|
|
that were returned). |
676
|
|
|
|
|
|
|
To determine how many items or products were actually returned, |
677
|
|
|
|
|
|
|
count the number of Item nodes in ItemArray (if any) and the |
678
|
|
|
|
|
|
|
number of Product nodes in ProductArray (if any). |
679
|
|
|
|
|
|
|
|
680
|
|
|
|
|
|
|
Returned: Always |
681
|
|
|
|
|
|
|
# Returns: 'xs:int' |
682
|
|
|
|
|
|
|
|
683
|
|
|
|
|
|
|
=cut |
684
|
|
|
|
|
|
|
|
685
|
|
|
|
|
|
|
sub getEntriesPerPage { |
686
|
|
|
|
|
|
|
my $self = shift; |
687
|
|
|
|
|
|
|
return $self->getResponseDataType()->getEntriesPerPage(); |
688
|
|
|
|
|
|
|
} |
689
|
|
|
|
|
|
|
|
690
|
|
|
|
|
|
|
=head2 isHasMoreEntries() |
691
|
|
|
|
|
|
|
|
692
|
|
|
|
|
|
|
If true, there are additional item and/or product results (on higher- |
693
|
|
|
|
|
|
|
numbered pages) that match the query. To retrieve them, call |
694
|
|
|
|
|
|
|
GetSearchResultsExpress again and increment the page number or specify a |
695
|
|
|
|
|
|
|
higher value for EntriesPerPage in the request. |
696
|
|
|
|
|
|
|
|
697
|
|
|
|
|
|
|
Returned: Always |
698
|
|
|
|
|
|
|
# Returns: 'xs:boolean' |
699
|
|
|
|
|
|
|
|
700
|
|
|
|
|
|
|
=cut |
701
|
|
|
|
|
|
|
|
702
|
|
|
|
|
|
|
sub isHasMoreEntries { |
703
|
|
|
|
|
|
|
my $self = shift; |
704
|
|
|
|
|
|
|
return $self->getResponseDataType()->isHasMoreEntries(); |
705
|
|
|
|
|
|
|
} |
706
|
|
|
|
|
|
|
|
707
|
|
|
|
|
|
|
=head2 getHistogram() |
708
|
|
|
|
|
|
|
|
709
|
|
|
|
|
|
|
Indicates the quantity of items and catalog products that fall into |
710
|
|
|
|
|
|
|
departments, aisles, and/or product types that match the criteria in the |
711
|
|
|
|
|
|
|
request. The sort order is controlled by the value of HistogramSort in the |
712
|
|
|
|
|
|
|
request. Only returned when matching data is found and HistogramDetails is |
713
|
|
|
|
|
|
|
Coarse (the default) or Fine. |
714
|
|
|
|
|
|
|
|
715
|
|
|
|
|
|
|
When HistogramDetails==Coarse and no DepartmentName, AisleName, or |
716
|
|
|
|
|
|
|
ProductTypeName is specified in the request, Express only returns |
717
|
|
|
|
|
|
|
histogram details for departments. In this particular case, Express |
718
|
|
|
|
|
|
|
returns no histogram details when no departments match the request. |
719
|
|
|
|
|
|
|
This could occur when Express only finds matching results in |
720
|
|
|
|
|
|
|
stand-alone product types or stand-alone aisles (because they aren't |
721
|
|
|
|
|
|
|
grouped into departments). |
722
|
|
|
|
|
|
|
|
723
|
|
|
|
|
|
|
Returned: Conditionally |
724
|
|
|
|
|
|
|
# Returns: 'ns:DomainHistogramType' |
725
|
|
|
|
|
|
|
|
726
|
|
|
|
|
|
|
=cut |
727
|
|
|
|
|
|
|
|
728
|
|
|
|
|
|
|
sub getHistogram { |
729
|
|
|
|
|
|
|
my $self = shift; |
730
|
|
|
|
|
|
|
return $self->getResponseDataType()->getHistogram(); |
731
|
|
|
|
|
|
|
} |
732
|
|
|
|
|
|
|
|
733
|
|
|
|
|
|
|
=head2 getItemArray() |
734
|
|
|
|
|
|
|
|
735
|
|
|
|
|
|
|
Contains a list of items on Express that match all the criteria specified in |
736
|
|
|
|
|
|
|
the request. The sort order is controlled by the value of ItemSort in the |
737
|
|
|
|
|
|
|
request. Only returned when matching data is found and ItemDetails is Coarse |
738
|
|
|
|
|
|
|
(the default) or Fine. |
739
|
|
|
|
|
|
|
|
740
|
|
|
|
|
|
|
If the same seller has listed multiple items with the same title and |
741
|
|
|
|
|
|
|
costs, only one of |
742
|
|
|
|
|
|
|
those items is returned by default. This is treated as a consolidated |
743
|
|
|
|
|
|
|
(deduped) search result item |
744
|
|
|
|
|
|
|
that represents the seller's other, identical items. |
745
|
|
|
|
|
|
|
If you want to retrieve all duplicates for an item, pass the seller's |
746
|
|
|
|
|
|
|
user ID in the SellerID field |
747
|
|
|
|
|
|
|
in the request. Use the results to identify items with duplicate |
748
|
|
|
|
|
|
|
titles and costs. |
749
|
|
|
|
|
|
|
|
750
|
|
|
|
|
|
|
Items can belong to multiple departments, aisles, or product types at |
751
|
|
|
|
|
|
|
any given time, |
752
|
|
|
|
|
|
|
and this information is not stored or returned in the item data. To |
753
|
|
|
|
|
|
|
determine which items |
754
|
|
|
|
|
|
|
are currently available in a given domain, specify the |
755
|
|
|
|
|
|
|
DepartmentName, AisleName, or ProductTypeName |
756
|
|
|
|
|
|
|
in the request. |
757
|
|
|
|
|
|
|
|
758
|
|
|
|
|
|
|
Returned: Conditionally |
759
|
|
|
|
|
|
|
# Returns: 'ns:ItemArrayType' |
760
|
|
|
|
|
|
|
|
761
|
|
|
|
|
|
|
=cut |
762
|
|
|
|
|
|
|
|
763
|
|
|
|
|
|
|
sub getItemArray { |
764
|
|
|
|
|
|
|
my $self = shift; |
765
|
|
|
|
|
|
|
return $self->getResponseDataType()->getItemArray(); |
766
|
|
|
|
|
|
|
} |
767
|
|
|
|
|
|
|
|
768
|
|
|
|
|
|
|
=head2 getPageNumber() |
769
|
|
|
|
|
|
|
|
770
|
|
|
|
|
|
|
Indicates the page of data returned by the current call. |
771
|
|
|
|
|
|
|
|
772
|
|
|
|
|
|
|
Returned: Always |
773
|
|
|
|
|
|
|
# Returns: 'xs:int' |
774
|
|
|
|
|
|
|
|
775
|
|
|
|
|
|
|
=cut |
776
|
|
|
|
|
|
|
|
777
|
|
|
|
|
|
|
sub getPageNumber { |
778
|
|
|
|
|
|
|
my $self = shift; |
779
|
|
|
|
|
|
|
return $self->getResponseDataType()->getPageNumber(); |
780
|
|
|
|
|
|
|
} |
781
|
|
|
|
|
|
|
|
782
|
|
|
|
|
|
|
=head2 getProductArray() |
783
|
|
|
|
|
|
|
|
784
|
|
|
|
|
|
|
Contains a list of eBay catalog products have been used to pre-fill |
785
|
|
|
|
|
|
|
listings that match the criteria specified in the request. The sort order |
786
|
|
|
|
|
|
|
is controlled by the value of ProductSort in the request. Only returned |
787
|
|
|
|
|
|
|
when matching data is found and ProductDetails is Coarse (the default) or |
788
|
|
|
|
|
|
|
Fine. To determine which products are currently available in a given |
789
|
|
|
|
|
|
|
domain, specify the DepartmentName, AisleName, or ProductTypeName in the |
790
|
|
|
|
|
|
|
request. |
791
|
|
|
|
|
|
|
|
792
|
|
|
|
|
|
|
Returned: Conditionally |
793
|
|
|
|
|
|
|
# Returns: 'ns:ProductArrayType' |
794
|
|
|
|
|
|
|
|
795
|
|
|
|
|
|
|
=cut |
796
|
|
|
|
|
|
|
|
797
|
|
|
|
|
|
|
sub getProductArray { |
798
|
|
|
|
|
|
|
my $self = shift; |
799
|
|
|
|
|
|
|
return $self->getResponseDataType()->getProductArray(); |
800
|
|
|
|
|
|
|
} |
801
|
|
|
|
|
|
|
|
802
|
|
|
|
|
|
|
|
803
|
|
|
|
|
|
|
|
804
|
|
|
|
|
|
|
|
805
|
|
|
|
|
|
|
|
806
|
|
|
|
|
|
|
1; |