line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
#!/usr/bin/perl |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package eBay::API::XML::Call::GetAttributesCS; |
4
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
2344
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
26
|
|
6
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
25
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
########################################################################## |
9
|
|
|
|
|
|
|
# |
10
|
|
|
|
|
|
|
# Module: ............... eBay/API/XML |
11
|
|
|
|
|
|
|
# File: ................. GetAttributesCS.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::GetAttributesCS |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 DESCRIPTION |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
=head1 SYNOPSIS |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=cut |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
=head1 INHERITANCE |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
eBay::API::XML::Call::GetAttributesCS inherits from the L class |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
=cut |
36
|
|
|
|
|
|
|
|
37
|
1
|
|
|
1
|
|
32
|
use eBay::API::XML::BaseCall; |
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
our @ISA = ("eBay::API::XML::BaseCall"); |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
use eBay::API::XML::Call::GetAttributesCS::GetAttributesCSRequestType; |
41
|
|
|
|
|
|
|
use eBay::API::XML::Call::GetAttributesCS::GetAttributesCSResponseType; |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=head1 Subroutines: |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
=cut |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
sub getApiCallName { |
49
|
|
|
|
|
|
|
return 'GetAttributesCS'; |
50
|
|
|
|
|
|
|
} |
51
|
|
|
|
|
|
|
sub getRequestDataTypeFullPackage { |
52
|
|
|
|
|
|
|
return 'eBay::API::XML::Call::GetAttributesCS::GetAttributesCSRequestType'; |
53
|
|
|
|
|
|
|
} |
54
|
|
|
|
|
|
|
sub getResponseDataTypeFullPackage { |
55
|
|
|
|
|
|
|
return 'eBay::API::XML::Call::GetAttributesCS::GetAttributesCSResponseType'; |
56
|
|
|
|
|
|
|
} |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
# |
59
|
|
|
|
|
|
|
# input properties |
60
|
|
|
|
|
|
|
# |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
=head2 setAttributeSetID() |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
An array of characteristic setIDs (which always correspond to |
65
|
|
|
|
|
|
|
attribute set IDs). |
66
|
|
|
|
|
|
|
Each characteristic setcorresponds to a level in the eBay |
67
|
|
|
|
|
|
|
category hierarchy at |
68
|
|
|
|
|
|
|
which all items share common characteristics. |
69
|
|
|
|
|
|
|
Multiple categories can be mapped to the same characteristic set. |
70
|
|
|
|
|
|
|
AttributeSetIDs is an optional input. When IDs are specified, |
71
|
|
|
|
|
|
|
the call only returns meta-data for the corresponding |
72
|
|
|
|
|
|
|
characteristic sets. |
73
|
|
|
|
|
|
|
When no IDs are specified, the call returns all the current |
74
|
|
|
|
|
|
|
attribute meta-data in the system. |
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
RequiredInput: No |
77
|
|
|
|
|
|
|
# Argument: reference to an array |
78
|
|
|
|
|
|
|
of 'xs:int' |
79
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
=cut |
81
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
sub setAttributeSetID { |
83
|
|
|
|
|
|
|
my $self = shift; |
84
|
|
|
|
|
|
|
my $sAttributeSetID = shift; |
85
|
|
|
|
|
|
|
$self->getRequestDataType()->setAttributeSetID($sAttributeSetID); |
86
|
|
|
|
|
|
|
} |
87
|
|
|
|
|
|
|
|
88
|
|
|
|
|
|
|
=head2 setAttributeSystemVersion() |
89
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
A version of the Item Specifics definitions (attribute meta-data) |
91
|
|
|
|
|
|
|
for the site. |
92
|
|
|
|
|
|
|
Typically, an application passes the version value that was |
93
|
|
|
|
|
|
|
returned the last time the application executed this call. |
94
|
|
|
|
|
|
|
Filter that causes the call to return only the characteristic sets |
95
|
|
|
|
|
|
|
for which the attribute meta-data has changed since the specified |
96
|
|
|
|
|
|
|
version. If not specified, all characteristics sets are returned. |
97
|
|
|
|
|
|
|
The latest version value is not necessarily greater than the |
98
|
|
|
|
|
|
|
previous value that was returned. Therefore, when comparing |
99
|
|
|
|
|
|
|
versions, only compare whether the value has changed. |
100
|
|
|
|
|
|
|
|
101
|
|
|
|
|
|
|
RequiredInput: No |
102
|
|
|
|
|
|
|
# Argument: 'xs:string' |
103
|
|
|
|
|
|
|
|
104
|
|
|
|
|
|
|
=cut |
105
|
|
|
|
|
|
|
|
106
|
|
|
|
|
|
|
sub setAttributeSystemVersion { |
107
|
|
|
|
|
|
|
my $self = shift; |
108
|
|
|
|
|
|
|
my $sAttributeSystemVersion = shift; |
109
|
|
|
|
|
|
|
$self->getRequestDataType()->setAttributeSystemVersion($sAttributeSystemVersion); |
110
|
|
|
|
|
|
|
} |
111
|
|
|
|
|
|
|
|
112
|
|
|
|
|
|
|
=head2 setIncludeCategoryMappingDetails() |
113
|
|
|
|
|
|
|
|
114
|
|
|
|
|
|
|
If true, includes a list of CategoryMapping nodes in the response. |
115
|
|
|
|
|
|
|
Each CategoryMapping node specifies category information as well as |
116
|
|
|
|
|
|
|
attributes and values that your application can auto-fill for |
117
|
|
|
|
|
|
|
items listed in that category. See the eBay Web Services Guide for more |
118
|
|
|
|
|
|
|
information about options for maintaining category data and |
119
|
|
|
|
|
|
|
auto-filling Item Specifics. |
120
|
|
|
|
|
|
|
|
121
|
|
|
|
|
|
|
RequiredInput: No |
122
|
|
|
|
|
|
|
# Argument: 'xs:boolean' |
123
|
|
|
|
|
|
|
|
124
|
|
|
|
|
|
|
=cut |
125
|
|
|
|
|
|
|
|
126
|
|
|
|
|
|
|
sub setIncludeCategoryMappingDetails { |
127
|
|
|
|
|
|
|
my $self = shift; |
128
|
|
|
|
|
|
|
my $sIncludeCategoryMappingDetails = shift; |
129
|
|
|
|
|
|
|
$self->getRequestDataType()->setIncludeCategoryMappingDetails($sIncludeCategoryMappingDetails); |
130
|
|
|
|
|
|
|
} |
131
|
|
|
|
|
|
|
|
132
|
|
|
|
|
|
|
|
133
|
|
|
|
|
|
|
|
134
|
|
|
|
|
|
|
# |
135
|
|
|
|
|
|
|
# output properties |
136
|
|
|
|
|
|
|
# |
137
|
|
|
|
|
|
|
|
138
|
|
|
|
|
|
|
=head2 getAttributeData() |
139
|
|
|
|
|
|
|
|
140
|
|
|
|
|
|
|
A string containing a list of all the attributes that are |
141
|
|
|
|
|
|
|
applicable to the site (or characteristic sets in the request), |
142
|
|
|
|
|
|
|
along with related meta-data. |
143
|
|
|
|
|
|
|
The meta-data specifies all the possible values of each attribute, |
144
|
|
|
|
|
|
|
the logic for presenting attributes to a user, and rules for |
145
|
|
|
|
|
|
|
validating the user's selections. Individual |
146
|
|
|
|
|
|
|
elements are not described in the eBay schema format. |
147
|
|
|
|
|
|
|
For information about each element in the AttributeData string, |
148
|
|
|
|
|
|
|
see the attribute model documentation in the |
149
|
|
|
|
|
|
|
eBay Web Services guide (see links below). |
150
|
|
|
|
|
|
|
|
151
|
|
|
|
|
|
|
Because this is returned as a string, the XML markup elements |
152
|
|
|
|
|
|
|
are escaped with character entity references (e.g., |
153
|
|
|
|
|
|
|
<eBay><Attributes> |
154
|
|
|
|
|
|
|
...). |
155
|
|
|
|
|
|
|
See the appendices in the eBay Web Services guide for general |
156
|
|
|
|
|
|
|
information about string data types. |
157
|
|
|
|
|
|
|
|
158
|
|
|
|
|
|
|
Returned: Always |
159
|
|
|
|
|
|
|
Details: DetailLevel: none, ReturnAll |
160
|
|
|
|
|
|
|
# Returns: 'xs:string' |
161
|
|
|
|
|
|
|
|
162
|
|
|
|
|
|
|
=cut |
163
|
|
|
|
|
|
|
|
164
|
|
|
|
|
|
|
sub getAttributeData { |
165
|
|
|
|
|
|
|
my $self = shift; |
166
|
|
|
|
|
|
|
return $self->getResponseDataType()->getAttributeData(); |
167
|
|
|
|
|
|
|
} |
168
|
|
|
|
|
|
|
|
169
|
|
|
|
|
|
|
=head2 getAttributeSystemVersion() |
170
|
|
|
|
|
|
|
|
171
|
|
|
|
|
|
|
Current version of the Item Specifics meta-data system for |
172
|
|
|
|
|
|
|
the site. |
173
|
|
|
|
|
|
|
This value changes each time changes are made to the meta-data. |
174
|
|
|
|
|
|
|
The current version value is not necessarily greater than |
175
|
|
|
|
|
|
|
the previous value. Therefore, when comparing versions, only |
176
|
|
|
|
|
|
|
compare whether the value has changed. |
177
|
|
|
|
|
|
|
|
178
|
|
|
|
|
|
|
Returned: Always |
179
|
|
|
|
|
|
|
Details: DetailLevel: none |
180
|
|
|
|
|
|
|
# Returns: 'xs:string' |
181
|
|
|
|
|
|
|
|
182
|
|
|
|
|
|
|
=cut |
183
|
|
|
|
|
|
|
|
184
|
|
|
|
|
|
|
sub getAttributeSystemVersion { |
185
|
|
|
|
|
|
|
my $self = shift; |
186
|
|
|
|
|
|
|
return $self->getResponseDataType()->getAttributeSystemVersion(); |
187
|
|
|
|
|
|
|
} |
188
|
|
|
|
|
|
|
|
189
|
|
|
|
|
|
|
|
190
|
|
|
|
|
|
|
|
191
|
|
|
|
|
|
|
|
192
|
|
|
|
|
|
|
|
193
|
|
|
|
|
|
|
1; |