line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
#!/usr/bin/perl |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package eBay::API::XML::DataType::StorefrontType; |
4
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
1303
|
use strict; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
27
|
|
6
|
1
|
|
|
1
|
|
4
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
26
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
########################################################################## |
9
|
|
|
|
|
|
|
# |
10
|
|
|
|
|
|
|
# Module: ............... eBay/API/XML |
11
|
|
|
|
|
|
|
# File: ................. StorefrontType.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::StorefrontType |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 DESCRIPTION |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
Contains information related to the item in the context of |
25
|
|
|
|
|
|
|
a seller's eBay Store. Applicable for auction format, Basic Fixed Price, |
26
|
|
|
|
|
|
|
and Store Inventory format items listed by eBay Stores sellers. |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=head1 SYNOPSIS |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
=cut |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
=head1 INHERITANCE |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
eBay::API::XML::DataType::StorefrontType inherits from the L class |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
=cut |
40
|
|
|
|
|
|
|
|
41
|
1
|
|
|
1
|
|
33
|
use eBay::API::XML::BaseDataType; |
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
our @ISA = ("eBay::API::XML::BaseDataType"); |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
my @gaProperties = ( [ 'StoreCategory2ID', 'xs:long', '', '', '' ] |
47
|
|
|
|
|
|
|
, [ 'StoreCategoryID', 'xs:long', '', '', '' ] |
48
|
|
|
|
|
|
|
, [ 'StoreName', 'xs:string', '', '', '' ] |
49
|
|
|
|
|
|
|
, [ 'StoreURL', 'xs:anyURI', '', '', '' ] |
50
|
|
|
|
|
|
|
); |
51
|
|
|
|
|
|
|
push @gaProperties, @{eBay::API::XML::BaseDataType::getPropertiesList()}; |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
my @gaAttributes = ( |
54
|
|
|
|
|
|
|
); |
55
|
|
|
|
|
|
|
push @gaAttributes, @{eBay::API::XML::BaseDataType::getAttributesList()}; |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
=head1 Subroutines: |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
=cut |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
sub new { |
62
|
|
|
|
|
|
|
my $classname = shift; |
63
|
|
|
|
|
|
|
my %args = @_; |
64
|
|
|
|
|
|
|
my $self = $classname->SUPER::new(%args); |
65
|
|
|
|
|
|
|
return $self; |
66
|
|
|
|
|
|
|
} |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
sub isScalar { |
69
|
|
|
|
|
|
|
return 0; |
70
|
|
|
|
|
|
|
} |
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
=head2 setStoreCategory2ID() |
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
Applicable for eBay Store sellers only. Numeric ID for a second custom |
77
|
|
|
|
|
|
|
category that the seller created in their eBay Store. eBay Stores sellers can |
78
|
|
|
|
|
|
|
create up to 300 custom categories for their stores. (One additional Store |
79
|
|
|
|
|
|
|
category cannot be customized and retains the value of "Other"). |
80
|
|
|
|
|
|
|
If you specify an invalid value, the values are the same for both the primary |
81
|
|
|
|
|
|
|
and secondary store categories, or if the seondary store category is |
82
|
|
|
|
|
|
|
specified but the primary is left blank (or other), the system resets the |
83
|
|
|
|
|
|
|
value to 0 (None). In short, the primary store category must be set to |
84
|
|
|
|
|
|
|
something meaningful and different from the second store category |
85
|
|
|
|
|
|
|
in order to set the secondary store category to a value other than 0. |
86
|
|
|
|
|
|
|
In GetSearchResults and GetProducts, this field currently returns 0. |
87
|
|
|
|
|
|
|
As a workaround, use GetItem or related calls to get the ID. |
88
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
Calls: AddItem |
90
|
|
|
|
|
|
|
GetItemRecommendations |
91
|
|
|
|
|
|
|
RelistItem |
92
|
|
|
|
|
|
|
ReviseItem |
93
|
|
|
|
|
|
|
VerifyAddItem |
94
|
|
|
|
|
|
|
RequiredInput: No |
95
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
# Argument: 'xs:long' |
97
|
|
|
|
|
|
|
|
98
|
|
|
|
|
|
|
=cut |
99
|
|
|
|
|
|
|
|
100
|
|
|
|
|
|
|
sub setStoreCategory2ID { |
101
|
|
|
|
|
|
|
my $self = shift; |
102
|
|
|
|
|
|
|
$self->{'StoreCategory2ID'} = shift |
103
|
|
|
|
|
|
|
} |
104
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
=head2 getStoreCategory2ID() |
106
|
|
|
|
|
|
|
|
107
|
|
|
|
|
|
|
Calls: GetSellerList |
108
|
|
|
|
|
|
|
Returned: Conditionally |
109
|
|
|
|
|
|
|
Details: DetailLevel: ItemReturnDescription, ReturnAll |
110
|
|
|
|
|
|
|
GranularityLevel: Coarse, Medium, Fine |
111
|
|
|
|
|
|
|
|
112
|
|
|
|
|
|
|
|
113
|
|
|
|
|
|
|
Calls: GetBidderList |
114
|
|
|
|
|
|
|
Returned: Conditionally |
115
|
|
|
|
|
|
|
|
116
|
|
|
|
|
|
|
Calls: GetItem |
117
|
|
|
|
|
|
|
Returned: Conditionally |
118
|
|
|
|
|
|
|
Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll |
119
|
|
|
|
|
|
|
|
120
|
|
|
|
|
|
|
Calls: GetSearchResults |
121
|
|
|
|
|
|
|
Returned: Conditionally |
122
|
|
|
|
|
|
|
Details: DetailLevel: ItemReturnAttributes, ItemReturnCategories, none, ReturnAll |
123
|
|
|
|
|
|
|
GranularityLevel: Coarse |
124
|
|
|
|
|
|
|
|
125
|
|
|
|
|
|
|
|
126
|
|
|
|
|
|
|
# Returns: 'xs:long' |
127
|
|
|
|
|
|
|
|
128
|
|
|
|
|
|
|
=cut |
129
|
|
|
|
|
|
|
|
130
|
|
|
|
|
|
|
sub getStoreCategory2ID { |
131
|
|
|
|
|
|
|
my $self = shift; |
132
|
|
|
|
|
|
|
return $self->{'StoreCategory2ID'}; |
133
|
|
|
|
|
|
|
} |
134
|
|
|
|
|
|
|
|
135
|
|
|
|
|
|
|
|
136
|
|
|
|
|
|
|
=head2 setStoreCategoryID() |
137
|
|
|
|
|
|
|
|
138
|
|
|
|
|
|
|
Numeric ID for a custom category that the seller created in |
139
|
|
|
|
|
|
|
their eBay Store, if any. |
140
|
|
|
|
|
|
|
eBay Stores sellers can create up to three levels of custom |
141
|
|
|
|
|
|
|
categories for their stores. |
142
|
|
|
|
|
|
|
Items can only be listed in store categories |
143
|
|
|
|
|
|
|
that have no child categories (subcategories). |
144
|
|
|
|
|
|
|
If you attempt to list an item in a category that has subcategories, |
145
|
|
|
|
|
|
|
the call response contains a warning, |
146
|
|
|
|
|
|
|
and the item is listed in the Other store category. |
147
|
|
|
|
|
|
|
In GetSearchResults and GetProducts, this field currently returns 0. |
148
|
|
|
|
|
|
|
As a workaround, use GetItem or related calls to get the ID. |
149
|
|
|
|
|
|
|
|
150
|
|
|
|
|
|
|
Calls: AddItem |
151
|
|
|
|
|
|
|
GetItemRecommendations |
152
|
|
|
|
|
|
|
RelistItem |
153
|
|
|
|
|
|
|
ReviseItem |
154
|
|
|
|
|
|
|
VerifyAddItem |
155
|
|
|
|
|
|
|
RequiredInput: No |
156
|
|
|
|
|
|
|
|
157
|
|
|
|
|
|
|
# Argument: 'xs:long' |
158
|
|
|
|
|
|
|
|
159
|
|
|
|
|
|
|
=cut |
160
|
|
|
|
|
|
|
|
161
|
|
|
|
|
|
|
sub setStoreCategoryID { |
162
|
|
|
|
|
|
|
my $self = shift; |
163
|
|
|
|
|
|
|
$self->{'StoreCategoryID'} = shift |
164
|
|
|
|
|
|
|
} |
165
|
|
|
|
|
|
|
|
166
|
|
|
|
|
|
|
=head2 getStoreCategoryID() |
167
|
|
|
|
|
|
|
|
168
|
|
|
|
|
|
|
Calls: GetSellerList |
169
|
|
|
|
|
|
|
Returned: Conditionally |
170
|
|
|
|
|
|
|
Details: DetailLevel: ItemReturnDescription, ReturnAll |
171
|
|
|
|
|
|
|
GranularityLevel: Coarse, Medium, Fine |
172
|
|
|
|
|
|
|
|
173
|
|
|
|
|
|
|
|
174
|
|
|
|
|
|
|
Calls: GetBidderList |
175
|
|
|
|
|
|
|
Returned: Conditionally |
176
|
|
|
|
|
|
|
|
177
|
|
|
|
|
|
|
Calls: GetItem |
178
|
|
|
|
|
|
|
Returned: Conditionally |
179
|
|
|
|
|
|
|
Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll |
180
|
|
|
|
|
|
|
|
181
|
|
|
|
|
|
|
Calls: GetSearchResults |
182
|
|
|
|
|
|
|
Returned: Conditionally |
183
|
|
|
|
|
|
|
Details: DetailLevel: ItemReturnAttributes, ItemReturnCategories, none, ReturnAll |
184
|
|
|
|
|
|
|
GranularityLevel: Coarse |
185
|
|
|
|
|
|
|
|
186
|
|
|
|
|
|
|
|
187
|
|
|
|
|
|
|
# Returns: 'xs:long' |
188
|
|
|
|
|
|
|
|
189
|
|
|
|
|
|
|
=cut |
190
|
|
|
|
|
|
|
|
191
|
|
|
|
|
|
|
sub getStoreCategoryID { |
192
|
|
|
|
|
|
|
my $self = shift; |
193
|
|
|
|
|
|
|
return $self->{'StoreCategoryID'}; |
194
|
|
|
|
|
|
|
} |
195
|
|
|
|
|
|
|
|
196
|
|
|
|
|
|
|
|
197
|
|
|
|
|
|
|
=head2 setStoreName() |
198
|
|
|
|
|
|
|
|
199
|
|
|
|
|
|
|
The name of the seller's eBay Store. GetProducts returns an empty |
200
|
|
|
|
|
|
|
value for all items at the time of this writing. |
201
|
|
|
|
|
|
|
|
202
|
|
|
|
|
|
|
MaxLength: 200 |
203
|
|
|
|
|
|
|
|
204
|
|
|
|
|
|
|
# Argument: 'xs:string' |
205
|
|
|
|
|
|
|
|
206
|
|
|
|
|
|
|
=cut |
207
|
|
|
|
|
|
|
|
208
|
|
|
|
|
|
|
sub setStoreName { |
209
|
|
|
|
|
|
|
my $self = shift; |
210
|
|
|
|
|
|
|
$self->{'StoreName'} = shift |
211
|
|
|
|
|
|
|
} |
212
|
|
|
|
|
|
|
|
213
|
|
|
|
|
|
|
=head2 getStoreName() |
214
|
|
|
|
|
|
|
|
215
|
|
|
|
|
|
|
Calls: GetSearchResults |
216
|
|
|
|
|
|
|
Returned: Conditionally |
217
|
|
|
|
|
|
|
Details: DetailLevel: ItemReturnAttributes, ItemReturnCategories, none, ReturnAll |
218
|
|
|
|
|
|
|
GranularityLevel: Coarse |
219
|
|
|
|
|
|
|
|
220
|
|
|
|
|
|
|
|
221
|
|
|
|
|
|
|
Calls: GetProducts |
222
|
|
|
|
|
|
|
Returned: Conditionally |
223
|
|
|
|
|
|
|
|
224
|
|
|
|
|
|
|
# Returns: 'xs:string' |
225
|
|
|
|
|
|
|
|
226
|
|
|
|
|
|
|
=cut |
227
|
|
|
|
|
|
|
|
228
|
|
|
|
|
|
|
sub getStoreName { |
229
|
|
|
|
|
|
|
my $self = shift; |
230
|
|
|
|
|
|
|
return $self->{'StoreName'}; |
231
|
|
|
|
|
|
|
} |
232
|
|
|
|
|
|
|
|
233
|
|
|
|
|
|
|
|
234
|
|
|
|
|
|
|
=head2 setStoreURL() |
235
|
|
|
|
|
|
|
|
236
|
|
|
|
|
|
|
The URL of the seller's eBay Store page. GetProducts only returned |
237
|
|
|
|
|
|
|
a default URL at the time of this writing. |
238
|
|
|
|
|
|
|
|
239
|
|
|
|
|
|
|
# Argument: 'xs:anyURI' |
240
|
|
|
|
|
|
|
|
241
|
|
|
|
|
|
|
=cut |
242
|
|
|
|
|
|
|
|
243
|
|
|
|
|
|
|
sub setStoreURL { |
244
|
|
|
|
|
|
|
my $self = shift; |
245
|
|
|
|
|
|
|
$self->{'StoreURL'} = shift |
246
|
|
|
|
|
|
|
} |
247
|
|
|
|
|
|
|
|
248
|
|
|
|
|
|
|
=head2 getStoreURL() |
249
|
|
|
|
|
|
|
|
250
|
|
|
|
|
|
|
Calls: GetSellerList |
251
|
|
|
|
|
|
|
Returned: Conditionally |
252
|
|
|
|
|
|
|
Details: DetailLevel: ItemReturnDescription, ReturnAll |
253
|
|
|
|
|
|
|
GranularityLevel: Coarse, Medium, Fine |
254
|
|
|
|
|
|
|
|
255
|
|
|
|
|
|
|
|
256
|
|
|
|
|
|
|
Calls: GetBidderList |
257
|
|
|
|
|
|
|
GetProducts |
258
|
|
|
|
|
|
|
Returned: Conditionally |
259
|
|
|
|
|
|
|
|
260
|
|
|
|
|
|
|
Calls: GetItem |
261
|
|
|
|
|
|
|
Returned: Conditionally |
262
|
|
|
|
|
|
|
Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll |
263
|
|
|
|
|
|
|
|
264
|
|
|
|
|
|
|
Calls: GetSearchResults |
265
|
|
|
|
|
|
|
Returned: Conditionally |
266
|
|
|
|
|
|
|
Details: DetailLevel: ItemReturnAttributes, ItemReturnCategories, none, ReturnAll |
267
|
|
|
|
|
|
|
GranularityLevel: Coarse |
268
|
|
|
|
|
|
|
|
269
|
|
|
|
|
|
|
|
270
|
|
|
|
|
|
|
# Returns: 'xs:anyURI' |
271
|
|
|
|
|
|
|
|
272
|
|
|
|
|
|
|
=cut |
273
|
|
|
|
|
|
|
|
274
|
|
|
|
|
|
|
sub getStoreURL { |
275
|
|
|
|
|
|
|
my $self = shift; |
276
|
|
|
|
|
|
|
return $self->{'StoreURL'}; |
277
|
|
|
|
|
|
|
} |
278
|
|
|
|
|
|
|
|
279
|
|
|
|
|
|
|
|
280
|
|
|
|
|
|
|
|
281
|
|
|
|
|
|
|
|
282
|
|
|
|
|
|
|
|
283
|
|
|
|
|
|
|
## Attribute and Property lists |
284
|
|
|
|
|
|
|
sub getPropertiesList { |
285
|
|
|
|
|
|
|
my $self = shift; |
286
|
|
|
|
|
|
|
return \@gaProperties; |
287
|
|
|
|
|
|
|
} |
288
|
|
|
|
|
|
|
|
289
|
|
|
|
|
|
|
sub getAttributesList { |
290
|
|
|
|
|
|
|
my $self = shift; |
291
|
|
|
|
|
|
|
return \@gaAttributes; |
292
|
|
|
|
|
|
|
} |
293
|
|
|
|
|
|
|
|
294
|
|
|
|
|
|
|
|
295
|
|
|
|
|
|
|
|
296
|
|
|
|
|
|
|
1; |