| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
#!/usr/bin/perl |
|
2
|
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package eBay::API::XML::Call::GetCategory2CS; |
|
4
|
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
2346
|
use strict; |
|
|
1
|
|
|
|
|
2
|
|
|
|
1
|
|
|
|
|
26
|
|
|
6
|
1
|
|
|
1
|
|
6
|
use warnings; |
|
|
1
|
|
|
|
|
2
|
|
|
|
1
|
|
|
|
|
26
|
|
|
7
|
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
########################################################################## |
|
9
|
|
|
|
|
|
|
# |
|
10
|
|
|
|
|
|
|
# Module: ............... eBay/API/XML |
|
11
|
|
|
|
|
|
|
# File: ................. GetCategory2CS.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::GetCategory2CS |
|
21
|
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 DESCRIPTION |
|
23
|
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
=head1 SYNOPSIS |
|
27
|
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=cut |
|
29
|
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
=head1 INHERITANCE |
|
32
|
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
eBay::API::XML::Call::GetCategory2CS 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::GetCategory2CS::GetCategory2CSRequestType; |
|
41
|
|
|
|
|
|
|
use eBay::API::XML::Call::GetCategory2CS::GetCategory2CSResponseType; |
|
42
|
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=head1 Subroutines: |
|
45
|
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
=cut |
|
47
|
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
sub getApiCallName { |
|
49
|
|
|
|
|
|
|
return 'GetCategory2CS'; |
|
50
|
|
|
|
|
|
|
} |
|
51
|
|
|
|
|
|
|
sub getRequestDataTypeFullPackage { |
|
52
|
|
|
|
|
|
|
return 'eBay::API::XML::Call::GetCategory2CS::GetCategory2CSRequestType'; |
|
53
|
|
|
|
|
|
|
} |
|
54
|
|
|
|
|
|
|
sub getResponseDataTypeFullPackage { |
|
55
|
|
|
|
|
|
|
return 'eBay::API::XML::Call::GetCategory2CS::GetCategory2CSResponseType'; |
|
56
|
|
|
|
|
|
|
} |
|
57
|
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
# |
|
59
|
|
|
|
|
|
|
# input properties |
|
60
|
|
|
|
|
|
|
# |
|
61
|
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
=head2 setAttributeSystemVersion() |
|
63
|
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
A version of the mappings for the site. |
|
65
|
|
|
|
|
|
|
Typically, an application passes the version value that was returned the last |
|
66
|
|
|
|
|
|
|
time the application executed this call. |
|
67
|
|
|
|
|
|
|
Filter that causes the call to return only the categories |
|
68
|
|
|
|
|
|
|
for which the mappings have changed since the specified version. |
|
69
|
|
|
|
|
|
|
If not specified, all category-to-characteristics set mappings are returned. |
|
70
|
|
|
|
|
|
|
This value changes each time changes are made to the mappings. |
|
71
|
|
|
|
|
|
|
The current version value is not necessarily greater than the previous |
|
72
|
|
|
|
|
|
|
value. Therefore, when comparing versions, only compare whether the |
|
73
|
|
|
|
|
|
|
value has changed. |
|
74
|
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
SeeLink: URL: http://developer.ebay.com/DevZone/XML/docs/WebHelp/index.htm?context=eBay_XML_API&topic=AttrGC2CS |
|
76
|
|
|
|
|
|
|
Title: Retrieving Category-to-Meta-Data Mappings |
|
77
|
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
RequiredInput: No |
|
79
|
|
|
|
|
|
|
# Argument: 'xs:string' |
|
80
|
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
=cut |
|
82
|
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
sub setAttributeSystemVersion { |
|
84
|
|
|
|
|
|
|
my $self = shift; |
|
85
|
|
|
|
|
|
|
my $sAttributeSystemVersion = shift; |
|
86
|
|
|
|
|
|
|
$self->getRequestDataType()->setAttributeSystemVersion($sAttributeSystemVersion); |
|
87
|
|
|
|
|
|
|
} |
|
88
|
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
=head2 setCategoryID() |
|
90
|
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
ID of a category for which to retrieve mappings. |
|
92
|
|
|
|
|
|
|
If not specified, the call |
|
93
|
|
|
|
|
|
|
retrieves a map for all categories. |
|
94
|
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
MaxLength: 10 |
|
96
|
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
RequiredInput: No |
|
98
|
|
|
|
|
|
|
# Argument: 'xs:string' |
|
99
|
|
|
|
|
|
|
|
|
100
|
|
|
|
|
|
|
=cut |
|
101
|
|
|
|
|
|
|
|
|
102
|
|
|
|
|
|
|
sub setCategoryID { |
|
103
|
|
|
|
|
|
|
my $self = shift; |
|
104
|
|
|
|
|
|
|
my $sCategoryID = shift; |
|
105
|
|
|
|
|
|
|
$self->getRequestDataType()->setCategoryID($sCategoryID); |
|
106
|
|
|
|
|
|
|
} |
|
107
|
|
|
|
|
|
|
|
|
108
|
|
|
|
|
|
|
|
|
109
|
|
|
|
|
|
|
|
|
110
|
|
|
|
|
|
|
# |
|
111
|
|
|
|
|
|
|
# output properties |
|
112
|
|
|
|
|
|
|
# |
|
113
|
|
|
|
|
|
|
|
|
114
|
|
|
|
|
|
|
=head2 getAttributeSystemVersion() |
|
115
|
|
|
|
|
|
|
|
|
116
|
|
|
|
|
|
|
Current version of the mappings for the site. |
|
117
|
|
|
|
|
|
|
This value changes each time changes are made to the mappings. |
|
118
|
|
|
|
|
|
|
The current version value is not necessarily greater than the previous |
|
119
|
|
|
|
|
|
|
value. Therefore, when comparing versions, only compare whether the |
|
120
|
|
|
|
|
|
|
value has changed. |
|
121
|
|
|
|
|
|
|
|
|
122
|
|
|
|
|
|
|
Returned: Always |
|
123
|
|
|
|
|
|
|
Details: DetailLevel: none, ReturnAll |
|
124
|
|
|
|
|
|
|
# Returns: 'xs:string' |
|
125
|
|
|
|
|
|
|
|
|
126
|
|
|
|
|
|
|
=cut |
|
127
|
|
|
|
|
|
|
|
|
128
|
|
|
|
|
|
|
sub getAttributeSystemVersion { |
|
129
|
|
|
|
|
|
|
my $self = shift; |
|
130
|
|
|
|
|
|
|
return $self->getResponseDataType()->getAttributeSystemVersion(); |
|
131
|
|
|
|
|
|
|
} |
|
132
|
|
|
|
|
|
|
|
|
133
|
|
|
|
|
|
|
=head2 getMappedCategoryArray() |
|
134
|
|
|
|
|
|
|
|
|
135
|
|
|
|
|
|
|
Contains data about categories that are mapped to characteristics sets. |
|
136
|
|
|
|
|
|
|
Use this data to determine: |
|
137
|
|
|
|
|
|
|
- The names and IDs of the characteristics sets |
|
138
|
|
|
|
|
|
|
- The availability of the Pre-filled Item Information feature for listings in that category |
|
139
|
|
|
|
|
|
|
(i.e., whether the category is catalog-enabled) |
|
140
|
|
|
|
|
|
|
- For catalog-enabled categories, the available product search methods |
|
141
|
|
|
|
|
|
|
- The current version information for the complete mapping |
|
142
|
|
|
|
|
|
|
- The version information for each characteristics set |
|
143
|
|
|
|
|
|
|
|
|
144
|
|
|
|
|
|
|
Returned: Conditionally |
|
145
|
|
|
|
|
|
|
Details: DetailLevel: ReturnAll |
|
146
|
|
|
|
|
|
|
# Returns: 'ns:CategoryArrayType' |
|
147
|
|
|
|
|
|
|
|
|
148
|
|
|
|
|
|
|
=cut |
|
149
|
|
|
|
|
|
|
|
|
150
|
|
|
|
|
|
|
sub getMappedCategoryArray { |
|
151
|
|
|
|
|
|
|
my $self = shift; |
|
152
|
|
|
|
|
|
|
return $self->getResponseDataType()->getMappedCategoryArray(); |
|
153
|
|
|
|
|
|
|
} |
|
154
|
|
|
|
|
|
|
|
|
155
|
|
|
|
|
|
|
=head2 getSiteWideCharacteristicSets() |
|
156
|
|
|
|
|
|
|
|
|
157
|
|
|
|
|
|
|
A list of one or more characteristics sets mapped to the category, if any. Use this |
|
158
|
|
|
|
|
|
|
information when working with Item Specifics (Attributes) and Pre-filled Item |
|
159
|
|
|
|
|
|
|
Information (Catalogs) functionality. |
|
160
|
|
|
|
|
|
|
|
|
161
|
|
|
|
|
|
|
Returned: Conditionally |
|
162
|
|
|
|
|
|
|
Details: DetailLevel: ReturnAll |
|
163
|
|
|
|
|
|
|
# Returns: reference to an array |
|
164
|
|
|
|
|
|
|
of 'ns:SiteWideCharacteristicsType' |
|
165
|
|
|
|
|
|
|
|
|
166
|
|
|
|
|
|
|
=cut |
|
167
|
|
|
|
|
|
|
|
|
168
|
|
|
|
|
|
|
sub getSiteWideCharacteristicSets { |
|
169
|
|
|
|
|
|
|
my $self = shift; |
|
170
|
|
|
|
|
|
|
return $self->getResponseDataType()->getSiteWideCharacteristicSets(); |
|
171
|
|
|
|
|
|
|
} |
|
172
|
|
|
|
|
|
|
|
|
173
|
|
|
|
|
|
|
=head2 getUnmappedCategoryArray() |
|
174
|
|
|
|
|
|
|
|
|
175
|
|
|
|
|
|
|
Contains data about categories (if any) whose characteristics set mappings have changed |
|
176
|
|
|
|
|
|
|
since the version specified in the request. When a characteristics set mapping |
|
177
|
|
|
|
|
|
|
changes, the data appears in both the UnmappedCategoryArray object |
|
178
|
|
|
|
|
|
|
(to indicate that the change occurred) and the MappedCategoryArray object. |
|
179
|
|
|
|
|
|
|
|
|
180
|
|
|
|
|
|
|
Returned: Conditionally |
|
181
|
|
|
|
|
|
|
Details: DetailLevel: ReturnAll |
|
182
|
|
|
|
|
|
|
# Returns: 'ns:CategoryArrayType' |
|
183
|
|
|
|
|
|
|
|
|
184
|
|
|
|
|
|
|
=cut |
|
185
|
|
|
|
|
|
|
|
|
186
|
|
|
|
|
|
|
sub getUnmappedCategoryArray { |
|
187
|
|
|
|
|
|
|
my $self = shift; |
|
188
|
|
|
|
|
|
|
return $self->getResponseDataType()->getUnmappedCategoryArray(); |
|
189
|
|
|
|
|
|
|
} |
|
190
|
|
|
|
|
|
|
|
|
191
|
|
|
|
|
|
|
|
|
192
|
|
|
|
|
|
|
|
|
193
|
|
|
|
|
|
|
|
|
194
|
|
|
|
|
|
|
|
|
195
|
|
|
|
|
|
|
1; |