line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
#!/usr/bin/perl |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package eBay::API::XML::DataType::DataElementSetType; |
4
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
1326
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
31
|
|
6
|
1
|
|
|
1
|
|
6
|
use warnings; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
35
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
########################################################################## |
9
|
|
|
|
|
|
|
# |
10
|
|
|
|
|
|
|
# Module: ............... eBay/API/XML |
11
|
|
|
|
|
|
|
# File: ................. DataElementSetType.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::DataElementSetType |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 DESCRIPTION |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
Container for a set of data elements (see below) that are applicable for a set |
25
|
|
|
|
|
|
|
of products that were returned within the same response. The data elements contain |
26
|
|
|
|
|
|
|
supplemental information that can help end users understand product search results. |
27
|
|
|
|
|
|
|
Usage of this information is optional and may require developers to inspect |
28
|
|
|
|
|
|
|
the information to determine how it can be applied in an application. |
29
|
|
|
|
|
|
|
Output only. |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=head1 SYNOPSIS |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
=cut |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
=head1 INHERITANCE |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
eBay::API::XML::DataType::DataElementSetType inherits from the L class |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
=cut |
43
|
|
|
|
|
|
|
|
44
|
1
|
|
|
1
|
|
43
|
use eBay::API::XML::BaseDataType; |
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
our @ISA = ("eBay::API::XML::BaseDataType"); |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
my @gaProperties = ( [ 'DataElement', 'xs:string', '', '', '' ] |
50
|
|
|
|
|
|
|
, [ 'DataElementID', 'xs:int', '', '', '' ] |
51
|
|
|
|
|
|
|
); |
52
|
|
|
|
|
|
|
push @gaProperties, @{eBay::API::XML::BaseDataType::getPropertiesList()}; |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
my @gaAttributes = ( [ 'attributeSetID', 'xs:int', '', '', '' ] |
55
|
|
|
|
|
|
|
); |
56
|
|
|
|
|
|
|
push @gaAttributes, @{eBay::API::XML::BaseDataType::getAttributesList()}; |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
=head1 Subroutines: |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
=cut |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
sub new { |
63
|
|
|
|
|
|
|
my $classname = shift; |
64
|
|
|
|
|
|
|
my %args = @_; |
65
|
|
|
|
|
|
|
my $self = $classname->SUPER::new(%args); |
66
|
|
|
|
|
|
|
return $self; |
67
|
|
|
|
|
|
|
} |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
sub isScalar { |
70
|
|
|
|
|
|
|
return 0; |
71
|
|
|
|
|
|
|
} |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
=head2 setDataElement() |
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
An HTML snippet that specifies hints for the user, help links, help graphics, |
78
|
|
|
|
|
|
|
and other supplemental information that varies per characteristic set. |
79
|
|
|
|
|
|
|
In GetProductSearchPage, one DataElement value contains a hint (including an empty HTML achor element), |
80
|
|
|
|
|
|
|
one DataElement value may contain a URL to insert into the HTML anchor as the href value, |
81
|
|
|
|
|
|
|
and one DataElement value may contain a URL that eBay uses as a help graphic. |
82
|
|
|
|
|
|
|
If no value is available in the meta-data, a dash ("--") is returned instead. |
83
|
|
|
|
|
|
|
Usage of this information is optional and may require developers to inspect |
84
|
|
|
|
|
|
|
the information to determine how it can be applied in an application. |
85
|
|
|
|
|
|
|
Because this is returned as a string, the HTML markup elements are escaped with |
86
|
|
|
|
|
|
|
character entity references (e.g.,<a href=""><Attributes>...). |
87
|
|
|
|
|
|
|
See the appendices in the eBay Web Services guide for general information about |
88
|
|
|
|
|
|
|
string data types. |
89
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
# Argument: 'xs:string' |
91
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
=cut |
93
|
|
|
|
|
|
|
|
94
|
|
|
|
|
|
|
sub setDataElement { |
95
|
|
|
|
|
|
|
my $self = shift; |
96
|
|
|
|
|
|
|
$self->{'DataElement'} = shift |
97
|
|
|
|
|
|
|
} |
98
|
|
|
|
|
|
|
|
99
|
|
|
|
|
|
|
=head2 getDataElement() |
100
|
|
|
|
|
|
|
|
101
|
|
|
|
|
|
|
Calls: GetProductSearchPage |
102
|
|
|
|
|
|
|
Returned: Always |
103
|
|
|
|
|
|
|
Details: DetailLevel: ReturnAll |
104
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
# Returns: 'xs:string' |
106
|
|
|
|
|
|
|
|
107
|
|
|
|
|
|
|
=cut |
108
|
|
|
|
|
|
|
|
109
|
|
|
|
|
|
|
sub getDataElement { |
110
|
|
|
|
|
|
|
my $self = shift; |
111
|
|
|
|
|
|
|
return $self->{'DataElement'}; |
112
|
|
|
|
|
|
|
} |
113
|
|
|
|
|
|
|
|
114
|
|
|
|
|
|
|
|
115
|
|
|
|
|
|
|
=head2 setDataElementID() |
116
|
|
|
|
|
|
|
|
117
|
|
|
|
|
|
|
Identifier for a data element. This is primarily for internal use by eBay. |
118
|
|
|
|
|
|
|
Developers can choose to inspect this information and determine how it |
119
|
|
|
|
|
|
|
can be applied in their applications. |
120
|
|
|
|
|
|
|
|
121
|
|
|
|
|
|
|
# Argument: 'xs:int' |
122
|
|
|
|
|
|
|
|
123
|
|
|
|
|
|
|
=cut |
124
|
|
|
|
|
|
|
|
125
|
|
|
|
|
|
|
sub setDataElementID { |
126
|
|
|
|
|
|
|
my $self = shift; |
127
|
|
|
|
|
|
|
$self->{'DataElementID'} = shift |
128
|
|
|
|
|
|
|
} |
129
|
|
|
|
|
|
|
|
130
|
|
|
|
|
|
|
=head2 getDataElementID() |
131
|
|
|
|
|
|
|
|
132
|
|
|
|
|
|
|
Calls: GetProductSearchPage |
133
|
|
|
|
|
|
|
Returned: Always |
134
|
|
|
|
|
|
|
Details: DetailLevel: ReturnAll |
135
|
|
|
|
|
|
|
|
136
|
|
|
|
|
|
|
# Returns: 'xs:int' |
137
|
|
|
|
|
|
|
|
138
|
|
|
|
|
|
|
=cut |
139
|
|
|
|
|
|
|
|
140
|
|
|
|
|
|
|
sub getDataElementID { |
141
|
|
|
|
|
|
|
my $self = shift; |
142
|
|
|
|
|
|
|
return $self->{'DataElementID'}; |
143
|
|
|
|
|
|
|
} |
144
|
|
|
|
|
|
|
|
145
|
|
|
|
|
|
|
|
146
|
|
|
|
|
|
|
|
147
|
|
|
|
|
|
|
|
148
|
|
|
|
|
|
|
=head2 setAttributeSetID() |
149
|
|
|
|
|
|
|
|
150
|
|
|
|
|
|
|
Matches the AttributeSetID associated with a response |
151
|
|
|
|
|
|
|
returned from the same call that returned the data element set. |
152
|
|
|
|
|
|
|
As calls like GetProductSearchResults can perform batch searches, this ID helps |
153
|
|
|
|
|
|
|
you determine which attribute set the data element set is associated with. |
154
|
|
|
|
|
|
|
|
155
|
|
|
|
|
|
|
# Argument: 'xs:int' |
156
|
|
|
|
|
|
|
|
157
|
|
|
|
|
|
|
=cut |
158
|
|
|
|
|
|
|
|
159
|
|
|
|
|
|
|
sub setAttributeSetID { |
160
|
|
|
|
|
|
|
my $self = shift; |
161
|
|
|
|
|
|
|
$self->{'attributeSetID'} = shift |
162
|
|
|
|
|
|
|
} |
163
|
|
|
|
|
|
|
|
164
|
|
|
|
|
|
|
=head2 getAttributeSetID() |
165
|
|
|
|
|
|
|
|
166
|
|
|
|
|
|
|
Calls: GetProductFamilyMembers |
167
|
|
|
|
|
|
|
GetProductSearchPage |
168
|
|
|
|
|
|
|
GetProductSearchResults |
169
|
|
|
|
|
|
|
Returned: Always |
170
|
|
|
|
|
|
|
Details: DetailLevel: ReturnAll |
171
|
|
|
|
|
|
|
|
172
|
|
|
|
|
|
|
# Returns: 'xs:int' |
173
|
|
|
|
|
|
|
|
174
|
|
|
|
|
|
|
=cut |
175
|
|
|
|
|
|
|
|
176
|
|
|
|
|
|
|
sub getAttributeSetID { |
177
|
|
|
|
|
|
|
my $self = shift; |
178
|
|
|
|
|
|
|
return $self->{'attributeSetID'}; |
179
|
|
|
|
|
|
|
} |
180
|
|
|
|
|
|
|
|
181
|
|
|
|
|
|
|
|
182
|
|
|
|
|
|
|
|
183
|
|
|
|
|
|
|
## Attribute and Property lists |
184
|
|
|
|
|
|
|
sub getPropertiesList { |
185
|
|
|
|
|
|
|
my $self = shift; |
186
|
|
|
|
|
|
|
return \@gaProperties; |
187
|
|
|
|
|
|
|
} |
188
|
|
|
|
|
|
|
|
189
|
|
|
|
|
|
|
sub getAttributesList { |
190
|
|
|
|
|
|
|
my $self = shift; |
191
|
|
|
|
|
|
|
return \@gaAttributes; |
192
|
|
|
|
|
|
|
} |
193
|
|
|
|
|
|
|
|
194
|
|
|
|
|
|
|
|
195
|
|
|
|
|
|
|
|
196
|
|
|
|
|
|
|
1; |