line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
#!/usr/bin/perl |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package eBay::API::XML::DataType::StoreColorSchemeType; |
4
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
1105
|
use strict; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
35
|
|
6
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
35
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
########################################################################## |
9
|
|
|
|
|
|
|
# |
10
|
|
|
|
|
|
|
# Module: ............... eBay/API/XML |
11
|
|
|
|
|
|
|
# File: ................. StoreColorSchemeType.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::StoreColorSchemeType |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 DESCRIPTION |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
Store color scheme. |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=head1 SYNOPSIS |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=cut |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=head1 INHERITANCE |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
eBay::API::XML::DataType::StoreColorSchemeType inherits from the L class |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=cut |
38
|
|
|
|
|
|
|
|
39
|
1
|
|
|
1
|
|
46
|
use eBay::API::XML::BaseDataType; |
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
our @ISA = ("eBay::API::XML::BaseDataType"); |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
use eBay::API::XML::DataType::StoreColorType; |
43
|
|
|
|
|
|
|
use eBay::API::XML::DataType::StoreFontType; |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
my @gaProperties = ( [ 'Color', 'ns:StoreColorType', '' |
47
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::StoreColorType', '1' ] |
48
|
|
|
|
|
|
|
, [ 'ColorSchemeID', 'xs:int', '', '', '' ] |
49
|
|
|
|
|
|
|
, [ 'Font', 'ns:StoreFontType', '' |
50
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::StoreFontType', '1' ] |
51
|
|
|
|
|
|
|
, [ 'Name', 'xs:string', '', '', '' ] |
52
|
|
|
|
|
|
|
); |
53
|
|
|
|
|
|
|
push @gaProperties, @{eBay::API::XML::BaseDataType::getPropertiesList()}; |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
my @gaAttributes = ( |
56
|
|
|
|
|
|
|
); |
57
|
|
|
|
|
|
|
push @gaAttributes, @{eBay::API::XML::BaseDataType::getAttributesList()}; |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
=head1 Subroutines: |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
=cut |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
sub new { |
64
|
|
|
|
|
|
|
my $classname = shift; |
65
|
|
|
|
|
|
|
my %args = @_; |
66
|
|
|
|
|
|
|
my $self = $classname->SUPER::new(%args); |
67
|
|
|
|
|
|
|
return $self; |
68
|
|
|
|
|
|
|
} |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
sub isScalar { |
71
|
|
|
|
|
|
|
return 0; |
72
|
|
|
|
|
|
|
} |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
=head2 setColor() |
77
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
Store color set. |
79
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
Calls: SetStore |
81
|
|
|
|
|
|
|
RequiredInput: Conditionally |
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
# Argument: 'ns:StoreColorType' |
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
=cut |
86
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
sub setColor { |
88
|
|
|
|
|
|
|
my $self = shift; |
89
|
|
|
|
|
|
|
$self->{'Color'} = shift |
90
|
|
|
|
|
|
|
} |
91
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
=head2 getColor() |
93
|
|
|
|
|
|
|
|
94
|
|
|
|
|
|
|
Calls: GetStore |
95
|
|
|
|
|
|
|
Returned: Conditionally |
96
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
Calls: GetStoreOptions |
98
|
|
|
|
|
|
|
Returned: Always |
99
|
|
|
|
|
|
|
|
100
|
|
|
|
|
|
|
# Returns: 'ns:StoreColorType' |
101
|
|
|
|
|
|
|
|
102
|
|
|
|
|
|
|
=cut |
103
|
|
|
|
|
|
|
|
104
|
|
|
|
|
|
|
sub getColor { |
105
|
|
|
|
|
|
|
my $self = shift; |
106
|
|
|
|
|
|
|
return $self->_getDataTypeInstance( 'Color' |
107
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::StoreColorType'); |
108
|
|
|
|
|
|
|
} |
109
|
|
|
|
|
|
|
|
110
|
|
|
|
|
|
|
|
111
|
|
|
|
|
|
|
=head2 setColorSchemeID() |
112
|
|
|
|
|
|
|
|
113
|
|
|
|
|
|
|
Store color scheme ID. (use GetStoreOptions to get the list of |
114
|
|
|
|
|
|
|
valid theme color scheme IDs). |
115
|
|
|
|
|
|
|
|
116
|
|
|
|
|
|
|
Calls: SetStore |
117
|
|
|
|
|
|
|
RequiredInput: Conditionally |
118
|
|
|
|
|
|
|
|
119
|
|
|
|
|
|
|
# Argument: 'xs:int' |
120
|
|
|
|
|
|
|
|
121
|
|
|
|
|
|
|
=cut |
122
|
|
|
|
|
|
|
|
123
|
|
|
|
|
|
|
sub setColorSchemeID { |
124
|
|
|
|
|
|
|
my $self = shift; |
125
|
|
|
|
|
|
|
$self->{'ColorSchemeID'} = shift |
126
|
|
|
|
|
|
|
} |
127
|
|
|
|
|
|
|
|
128
|
|
|
|
|
|
|
=head2 getColorSchemeID() |
129
|
|
|
|
|
|
|
|
130
|
|
|
|
|
|
|
Calls: GetStore |
131
|
|
|
|
|
|
|
Returned: Conditionally |
132
|
|
|
|
|
|
|
|
133
|
|
|
|
|
|
|
Calls: GetStoreOptions |
134
|
|
|
|
|
|
|
Returned: Always |
135
|
|
|
|
|
|
|
|
136
|
|
|
|
|
|
|
# Returns: 'xs:int' |
137
|
|
|
|
|
|
|
|
138
|
|
|
|
|
|
|
=cut |
139
|
|
|
|
|
|
|
|
140
|
|
|
|
|
|
|
sub getColorSchemeID { |
141
|
|
|
|
|
|
|
my $self = shift; |
142
|
|
|
|
|
|
|
return $self->{'ColorSchemeID'}; |
143
|
|
|
|
|
|
|
} |
144
|
|
|
|
|
|
|
|
145
|
|
|
|
|
|
|
|
146
|
|
|
|
|
|
|
=head2 setFont() |
147
|
|
|
|
|
|
|
|
148
|
|
|
|
|
|
|
Store font set. |
149
|
|
|
|
|
|
|
|
150
|
|
|
|
|
|
|
Calls: SetStore |
151
|
|
|
|
|
|
|
RequiredInput: Conditionally |
152
|
|
|
|
|
|
|
|
153
|
|
|
|
|
|
|
# Argument: 'ns:StoreFontType' |
154
|
|
|
|
|
|
|
|
155
|
|
|
|
|
|
|
=cut |
156
|
|
|
|
|
|
|
|
157
|
|
|
|
|
|
|
sub setFont { |
158
|
|
|
|
|
|
|
my $self = shift; |
159
|
|
|
|
|
|
|
$self->{'Font'} = shift |
160
|
|
|
|
|
|
|
} |
161
|
|
|
|
|
|
|
|
162
|
|
|
|
|
|
|
=head2 getFont() |
163
|
|
|
|
|
|
|
|
164
|
|
|
|
|
|
|
Calls: GetStore |
165
|
|
|
|
|
|
|
Returned: Conditionally |
166
|
|
|
|
|
|
|
|
167
|
|
|
|
|
|
|
Calls: GetStoreOptions |
168
|
|
|
|
|
|
|
Returned: Always |
169
|
|
|
|
|
|
|
|
170
|
|
|
|
|
|
|
# Returns: 'ns:StoreFontType' |
171
|
|
|
|
|
|
|
|
172
|
|
|
|
|
|
|
=cut |
173
|
|
|
|
|
|
|
|
174
|
|
|
|
|
|
|
sub getFont { |
175
|
|
|
|
|
|
|
my $self = shift; |
176
|
|
|
|
|
|
|
return $self->_getDataTypeInstance( 'Font' |
177
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::StoreFontType'); |
178
|
|
|
|
|
|
|
} |
179
|
|
|
|
|
|
|
|
180
|
|
|
|
|
|
|
|
181
|
|
|
|
|
|
|
=head2 setName() |
182
|
|
|
|
|
|
|
|
183
|
|
|
|
|
|
|
Store color scheme name. Provides a user-friendly name for the |
184
|
|
|
|
|
|
|
color scheme. |
185
|
|
|
|
|
|
|
|
186
|
|
|
|
|
|
|
Calls: SetStore |
187
|
|
|
|
|
|
|
RequiredInput: Conditionally |
188
|
|
|
|
|
|
|
|
189
|
|
|
|
|
|
|
# Argument: 'xs:string' |
190
|
|
|
|
|
|
|
|
191
|
|
|
|
|
|
|
=cut |
192
|
|
|
|
|
|
|
|
193
|
|
|
|
|
|
|
sub setName { |
194
|
|
|
|
|
|
|
my $self = shift; |
195
|
|
|
|
|
|
|
$self->{'Name'} = shift |
196
|
|
|
|
|
|
|
} |
197
|
|
|
|
|
|
|
|
198
|
|
|
|
|
|
|
=head2 getName() |
199
|
|
|
|
|
|
|
|
200
|
|
|
|
|
|
|
Calls: GetStore |
201
|
|
|
|
|
|
|
Returned: Conditionally |
202
|
|
|
|
|
|
|
|
203
|
|
|
|
|
|
|
Calls: GetStoreOptions |
204
|
|
|
|
|
|
|
Returned: Always |
205
|
|
|
|
|
|
|
|
206
|
|
|
|
|
|
|
# Returns: 'xs:string' |
207
|
|
|
|
|
|
|
|
208
|
|
|
|
|
|
|
=cut |
209
|
|
|
|
|
|
|
|
210
|
|
|
|
|
|
|
sub getName { |
211
|
|
|
|
|
|
|
my $self = shift; |
212
|
|
|
|
|
|
|
return $self->{'Name'}; |
213
|
|
|
|
|
|
|
} |
214
|
|
|
|
|
|
|
|
215
|
|
|
|
|
|
|
|
216
|
|
|
|
|
|
|
|
217
|
|
|
|
|
|
|
|
218
|
|
|
|
|
|
|
|
219
|
|
|
|
|
|
|
## Attribute and Property lists |
220
|
|
|
|
|
|
|
sub getPropertiesList { |
221
|
|
|
|
|
|
|
my $self = shift; |
222
|
|
|
|
|
|
|
return \@gaProperties; |
223
|
|
|
|
|
|
|
} |
224
|
|
|
|
|
|
|
|
225
|
|
|
|
|
|
|
sub getAttributesList { |
226
|
|
|
|
|
|
|
my $self = shift; |
227
|
|
|
|
|
|
|
return \@gaAttributes; |
228
|
|
|
|
|
|
|
} |
229
|
|
|
|
|
|
|
|
230
|
|
|
|
|
|
|
|
231
|
|
|
|
|
|
|
|
232
|
|
|
|
|
|
|
1; |