line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
#!/usr/bin/perl |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package eBay::API::XML::DataType::StoreCustomCategoryType; |
4
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
1120
|
use strict; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
33
|
|
6
|
1
|
|
|
1
|
|
6
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
29
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
########################################################################## |
9
|
|
|
|
|
|
|
# |
10
|
|
|
|
|
|
|
# Module: ............... eBay/API/XML |
11
|
|
|
|
|
|
|
# File: ................. StoreCustomCategoryType.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::StoreCustomCategoryType |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 DESCRIPTION |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
Configuration of a store custom category. |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=head1 SYNOPSIS |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=cut |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=head1 INHERITANCE |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
eBay::API::XML::DataType::StoreCustomCategoryType inherits from the L class |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=cut |
38
|
|
|
|
|
|
|
|
39
|
1
|
|
|
1
|
|
99
|
use eBay::API::XML::BaseDataType; |
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
our @ISA = ("eBay::API::XML::BaseDataType"); |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
use eBay::API::XML::DataType::StoreCustomCategoryType; |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
my @gaProperties = ( [ 'CategoryID', 'xs:long', '', '', '' ] |
46
|
|
|
|
|
|
|
, [ 'ChildCategory', 'ns:StoreCustomCategoryType', '1' |
47
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::StoreCustomCategoryType', '1' ] |
48
|
|
|
|
|
|
|
, [ 'Name', 'xs:string', '', '', '' ] |
49
|
|
|
|
|
|
|
, [ 'Order', 'xs:int', '', '', '' ] |
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 setCategoryID() |
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
Custom category ID. For SetStoreCategories, required only if |
77
|
|
|
|
|
|
|
Action is set to Rename, Move or Delete. |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
Calls: SetStoreCategories |
80
|
|
|
|
|
|
|
RequiredInput: Conditionally |
81
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
# Argument: 'xs:long' |
83
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
=cut |
85
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
sub setCategoryID { |
87
|
|
|
|
|
|
|
my $self = shift; |
88
|
|
|
|
|
|
|
$self->{'CategoryID'} = shift |
89
|
|
|
|
|
|
|
} |
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
=head2 getCategoryID() |
92
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
Calls: GetStore |
94
|
|
|
|
|
|
|
Returned: Always |
95
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
# Returns: 'xs:long' |
97
|
|
|
|
|
|
|
|
98
|
|
|
|
|
|
|
=cut |
99
|
|
|
|
|
|
|
|
100
|
|
|
|
|
|
|
sub getCategoryID { |
101
|
|
|
|
|
|
|
my $self = shift; |
102
|
|
|
|
|
|
|
return $self->{'CategoryID'}; |
103
|
|
|
|
|
|
|
} |
104
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
|
106
|
|
|
|
|
|
|
=head2 setChildCategory() |
107
|
|
|
|
|
|
|
|
108
|
|
|
|
|
|
|
Describes the configuration of a store custom subcategory. Stores support |
109
|
|
|
|
|
|
|
three levels of categories. |
110
|
|
|
|
|
|
|
|
111
|
|
|
|
|
|
|
Calls: SetStoreCategories |
112
|
|
|
|
|
|
|
RequiredInput: Conditionally |
113
|
|
|
|
|
|
|
|
114
|
|
|
|
|
|
|
# Argument: reference to an array |
115
|
|
|
|
|
|
|
of 'ns:StoreCustomCategoryType' |
116
|
|
|
|
|
|
|
|
117
|
|
|
|
|
|
|
=cut |
118
|
|
|
|
|
|
|
|
119
|
|
|
|
|
|
|
sub setChildCategory { |
120
|
|
|
|
|
|
|
my $self = shift; |
121
|
|
|
|
|
|
|
$self->{'ChildCategory'} = |
122
|
|
|
|
|
|
|
$self->convertArray_To_RefToArrayIfNeeded(@_); |
123
|
|
|
|
|
|
|
} |
124
|
|
|
|
|
|
|
|
125
|
|
|
|
|
|
|
=head2 getChildCategory() |
126
|
|
|
|
|
|
|
|
127
|
|
|
|
|
|
|
Calls: GetStore |
128
|
|
|
|
|
|
|
Returned: Always |
129
|
|
|
|
|
|
|
|
130
|
|
|
|
|
|
|
# Returns: reference to an array |
131
|
|
|
|
|
|
|
of 'ns:StoreCustomCategoryType' |
132
|
|
|
|
|
|
|
|
133
|
|
|
|
|
|
|
=cut |
134
|
|
|
|
|
|
|
|
135
|
|
|
|
|
|
|
sub getChildCategory { |
136
|
|
|
|
|
|
|
my $self = shift; |
137
|
|
|
|
|
|
|
return $self->_getDataTypeArray('ChildCategory'); |
138
|
|
|
|
|
|
|
} |
139
|
|
|
|
|
|
|
|
140
|
|
|
|
|
|
|
|
141
|
|
|
|
|
|
|
=head2 setName() |
142
|
|
|
|
|
|
|
|
143
|
|
|
|
|
|
|
Name of the custom category. |
144
|
|
|
|
|
|
|
|
145
|
|
|
|
|
|
|
Calls: SetStoreCategories |
146
|
|
|
|
|
|
|
RequiredInput: Conditionally |
147
|
|
|
|
|
|
|
|
148
|
|
|
|
|
|
|
# Argument: 'xs:string' |
149
|
|
|
|
|
|
|
|
150
|
|
|
|
|
|
|
=cut |
151
|
|
|
|
|
|
|
|
152
|
|
|
|
|
|
|
sub setName { |
153
|
|
|
|
|
|
|
my $self = shift; |
154
|
|
|
|
|
|
|
$self->{'Name'} = shift |
155
|
|
|
|
|
|
|
} |
156
|
|
|
|
|
|
|
|
157
|
|
|
|
|
|
|
=head2 getName() |
158
|
|
|
|
|
|
|
|
159
|
|
|
|
|
|
|
Calls: GetStore |
160
|
|
|
|
|
|
|
Returned: Always |
161
|
|
|
|
|
|
|
|
162
|
|
|
|
|
|
|
# Returns: 'xs:string' |
163
|
|
|
|
|
|
|
|
164
|
|
|
|
|
|
|
=cut |
165
|
|
|
|
|
|
|
|
166
|
|
|
|
|
|
|
sub getName { |
167
|
|
|
|
|
|
|
my $self = shift; |
168
|
|
|
|
|
|
|
return $self->{'Name'}; |
169
|
|
|
|
|
|
|
} |
170
|
|
|
|
|
|
|
|
171
|
|
|
|
|
|
|
|
172
|
|
|
|
|
|
|
=head2 setOrder() |
173
|
|
|
|
|
|
|
|
174
|
|
|
|
|
|
|
Order in which the custom category appears in the list of store |
175
|
|
|
|
|
|
|
categories. |
176
|
|
|
|
|
|
|
|
177
|
|
|
|
|
|
|
Calls: SetStoreCategories |
178
|
|
|
|
|
|
|
RequiredInput: No |
179
|
|
|
|
|
|
|
|
180
|
|
|
|
|
|
|
# Argument: 'xs:int' |
181
|
|
|
|
|
|
|
|
182
|
|
|
|
|
|
|
=cut |
183
|
|
|
|
|
|
|
|
184
|
|
|
|
|
|
|
sub setOrder { |
185
|
|
|
|
|
|
|
my $self = shift; |
186
|
|
|
|
|
|
|
$self->{'Order'} = shift |
187
|
|
|
|
|
|
|
} |
188
|
|
|
|
|
|
|
|
189
|
|
|
|
|
|
|
=head2 getOrder() |
190
|
|
|
|
|
|
|
|
191
|
|
|
|
|
|
|
Calls: GetStore |
192
|
|
|
|
|
|
|
Returned: Always |
193
|
|
|
|
|
|
|
|
194
|
|
|
|
|
|
|
# Returns: 'xs:int' |
195
|
|
|
|
|
|
|
|
196
|
|
|
|
|
|
|
=cut |
197
|
|
|
|
|
|
|
|
198
|
|
|
|
|
|
|
sub getOrder { |
199
|
|
|
|
|
|
|
my $self = shift; |
200
|
|
|
|
|
|
|
return $self->{'Order'}; |
201
|
|
|
|
|
|
|
} |
202
|
|
|
|
|
|
|
|
203
|
|
|
|
|
|
|
|
204
|
|
|
|
|
|
|
|
205
|
|
|
|
|
|
|
|
206
|
|
|
|
|
|
|
|
207
|
|
|
|
|
|
|
## Attribute and Property lists |
208
|
|
|
|
|
|
|
sub getPropertiesList { |
209
|
|
|
|
|
|
|
my $self = shift; |
210
|
|
|
|
|
|
|
return \@gaProperties; |
211
|
|
|
|
|
|
|
} |
212
|
|
|
|
|
|
|
|
213
|
|
|
|
|
|
|
sub getAttributesList { |
214
|
|
|
|
|
|
|
my $self = shift; |
215
|
|
|
|
|
|
|
return \@gaAttributes; |
216
|
|
|
|
|
|
|
} |
217
|
|
|
|
|
|
|
|
218
|
|
|
|
|
|
|
|
219
|
|
|
|
|
|
|
|
220
|
|
|
|
|
|
|
1; |