| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
#!/usr/bin/perl |
|
2
|
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package eBay::API::XML::Call::GetProductSearchResults; |
|
4
|
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
2428
|
use strict; |
|
|
1
|
|
|
|
|
2
|
|
|
|
1
|
|
|
|
|
29
|
|
|
6
|
1
|
|
|
1
|
|
4
|
use warnings; |
|
|
1
|
|
|
|
|
1
|
|
|
|
1
|
|
|
|
|
26
|
|
|
7
|
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
########################################################################## |
|
9
|
|
|
|
|
|
|
# |
|
10
|
|
|
|
|
|
|
# Module: ............... eBay/API/XML |
|
11
|
|
|
|
|
|
|
# File: ................. GetProductSearchResults.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::GetProductSearchResults |
|
21
|
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 DESCRIPTION |
|
23
|
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
=head1 SYNOPSIS |
|
27
|
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=cut |
|
29
|
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
=head1 INHERITANCE |
|
32
|
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
eBay::API::XML::Call::GetProductSearchResults inherits from the L class |
|
34
|
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
=cut |
|
36
|
|
|
|
|
|
|
|
|
37
|
1
|
|
|
1
|
|
35
|
use eBay::API::XML::BaseCall; |
|
|
0
|
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
our @ISA = ("eBay::API::XML::BaseCall"); |
|
39
|
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
use eBay::API::XML::Call::GetProductSearchResults::GetProductSearchResultsRequestType; |
|
41
|
|
|
|
|
|
|
use eBay::API::XML::Call::GetProductSearchResults::GetProductSearchResultsResponseType; |
|
42
|
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=head1 Subroutines: |
|
45
|
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
=cut |
|
47
|
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
sub getApiCallName { |
|
49
|
|
|
|
|
|
|
return 'GetProductSearchResults'; |
|
50
|
|
|
|
|
|
|
} |
|
51
|
|
|
|
|
|
|
sub getRequestDataTypeFullPackage { |
|
52
|
|
|
|
|
|
|
return 'eBay::API::XML::Call::GetProductSearchResults::GetProductSearchResultsRequestType'; |
|
53
|
|
|
|
|
|
|
} |
|
54
|
|
|
|
|
|
|
sub getResponseDataTypeFullPackage { |
|
55
|
|
|
|
|
|
|
return 'eBay::API::XML::Call::GetProductSearchResults::GetProductSearchResultsResponseType'; |
|
56
|
|
|
|
|
|
|
} |
|
57
|
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
# |
|
59
|
|
|
|
|
|
|
# input properties |
|
60
|
|
|
|
|
|
|
# |
|
61
|
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
=head2 setProductSearch() |
|
63
|
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
Specifies the keywords or attributes that make up the product query, with |
|
65
|
|
|
|
|
|
|
pagination instructions. ProductSearch is a required input. To search for |
|
66
|
|
|
|
|
|
|
multiple different products at the same time (i.e., to perform a batch |
|
67
|
|
|
|
|
|
|
search), pass in multiple ProductSearch properties. |
|
68
|
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
SeeLink: URL: http://developer.ebay.com/DevZone/XML/docs/WebHelp/index.htm?context=eBay_XML_API&topic=AttrProductSearch |
|
70
|
|
|
|
|
|
|
Title: Searching for Pre-filled Item Information |
|
71
|
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
RequiredInput: Yes |
|
73
|
|
|
|
|
|
|
# Argument: reference to an array |
|
74
|
|
|
|
|
|
|
of 'ns:ProductSearchType' |
|
75
|
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
=cut |
|
77
|
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
sub setProductSearch { |
|
79
|
|
|
|
|
|
|
my $self = shift; |
|
80
|
|
|
|
|
|
|
my $pProductSearch = shift; |
|
81
|
|
|
|
|
|
|
$self->getRequestDataType()->setProductSearch($pProductSearch); |
|
82
|
|
|
|
|
|
|
} |
|
83
|
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
# |
|
87
|
|
|
|
|
|
|
# output properties |
|
88
|
|
|
|
|
|
|
# |
|
89
|
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
=head2 getDataElementSets() |
|
91
|
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
Container for one or more DataElement fields containing supplemental |
|
93
|
|
|
|
|
|
|
helpful data. A DataElement field is an HTML snippet that specifies hints |
|
94
|
|
|
|
|
|
|
for the user, help links, help graphics, and other supplemental |
|
95
|
|
|
|
|
|
|
information that varies per characteristic set. Usage of this information |
|
96
|
|
|
|
|
|
|
is optional and may require you to inspect the information to determine |
|
97
|
|
|
|
|
|
|
how it can be applied in an application. Also returned with warnings when |
|
98
|
|
|
|
|
|
|
no matches are found. |
|
99
|
|
|
|
|
|
|
|
|
100
|
|
|
|
|
|
|
Returned: Always |
|
101
|
|
|
|
|
|
|
# Returns: reference to an array |
|
102
|
|
|
|
|
|
|
of 'ns:DataElementSetType' |
|
103
|
|
|
|
|
|
|
|
|
104
|
|
|
|
|
|
|
=cut |
|
105
|
|
|
|
|
|
|
|
|
106
|
|
|
|
|
|
|
sub getDataElementSets { |
|
107
|
|
|
|
|
|
|
my $self = shift; |
|
108
|
|
|
|
|
|
|
return $self->getResponseDataType()->getDataElementSets(); |
|
109
|
|
|
|
|
|
|
} |
|
110
|
|
|
|
|
|
|
|
|
111
|
|
|
|
|
|
|
=head2 getProductSearchResult() |
|
112
|
|
|
|
|
|
|
|
|
113
|
|
|
|
|
|
|
Contains the attributes and product details that match the attributes or |
|
114
|
|
|
|
|
|
|
query keywords passed in the request. Always returned when product search |
|
115
|
|
|
|
|
|
|
results are found. |
|
116
|
|
|
|
|
|
|
|
|
117
|
|
|
|
|
|
|
Returned: Always |
|
118
|
|
|
|
|
|
|
# Returns: reference to an array |
|
119
|
|
|
|
|
|
|
of 'ns:ProductSearchResultType' |
|
120
|
|
|
|
|
|
|
|
|
121
|
|
|
|
|
|
|
=cut |
|
122
|
|
|
|
|
|
|
|
|
123
|
|
|
|
|
|
|
sub getProductSearchResult { |
|
124
|
|
|
|
|
|
|
my $self = shift; |
|
125
|
|
|
|
|
|
|
return $self->getResponseDataType()->getProductSearchResult(); |
|
126
|
|
|
|
|
|
|
} |
|
127
|
|
|
|
|
|
|
|
|
128
|
|
|
|
|
|
|
|
|
129
|
|
|
|
|
|
|
|
|
130
|
|
|
|
|
|
|
|
|
131
|
|
|
|
|
|
|
|
|
132
|
|
|
|
|
|
|
1; |