line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
#!/usr/bin/perl |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package eBay::API::XML::DataType::StoreColorType; |
4
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
1281
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
38
|
|
6
|
1
|
|
|
1
|
|
7
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
40
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
########################################################################## |
9
|
|
|
|
|
|
|
# |
10
|
|
|
|
|
|
|
# Module: ............... eBay/API/XML |
11
|
|
|
|
|
|
|
# File: ................. StoreColorType.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::StoreColorType |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 DESCRIPTION |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
Store color set. |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=head1 SYNOPSIS |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=cut |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=head1 INHERITANCE |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
eBay::API::XML::DataType::StoreColorType inherits from the L class |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=cut |
38
|
|
|
|
|
|
|
|
39
|
1
|
|
|
1
|
|
43
|
use eBay::API::XML::BaseDataType; |
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
our @ISA = ("eBay::API::XML::BaseDataType"); |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
my @gaProperties = ( [ 'Accent', 'xs:string', '', '', '' ] |
45
|
|
|
|
|
|
|
, [ 'Primary', 'xs:string', '', '', '' ] |
46
|
|
|
|
|
|
|
, [ 'Secondary', 'xs:string', '', '', '' ] |
47
|
|
|
|
|
|
|
); |
48
|
|
|
|
|
|
|
push @gaProperties, @{eBay::API::XML::BaseDataType::getPropertiesList()}; |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
my @gaAttributes = ( |
51
|
|
|
|
|
|
|
); |
52
|
|
|
|
|
|
|
push @gaAttributes, @{eBay::API::XML::BaseDataType::getAttributesList()}; |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
=head1 Subroutines: |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
=cut |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
sub new { |
59
|
|
|
|
|
|
|
my $classname = shift; |
60
|
|
|
|
|
|
|
my %args = @_; |
61
|
|
|
|
|
|
|
my $self = $classname->SUPER::new(%args); |
62
|
|
|
|
|
|
|
return $self; |
63
|
|
|
|
|
|
|
} |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
sub isScalar { |
66
|
|
|
|
|
|
|
return 0; |
67
|
|
|
|
|
|
|
} |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
=head2 setAccent() |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
Accent color for the Store. Specified in 6-digit Hex format. |
74
|
|
|
|
|
|
|
For example: F6F6C9 |
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
MaxLength: 6 |
77
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
Calls: SetStore |
79
|
|
|
|
|
|
|
RequiredInput: Conditionally |
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
# Argument: 'xs:string' |
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
=cut |
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
sub setAccent { |
86
|
|
|
|
|
|
|
my $self = shift; |
87
|
|
|
|
|
|
|
$self->{'Accent'} = shift |
88
|
|
|
|
|
|
|
} |
89
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
=head2 getAccent() |
91
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
Calls: GetStore |
93
|
|
|
|
|
|
|
Returned: Conditionally |
94
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
Calls: GetStoreOptions |
96
|
|
|
|
|
|
|
Returned: Always |
97
|
|
|
|
|
|
|
|
98
|
|
|
|
|
|
|
# Returns: 'xs:string' |
99
|
|
|
|
|
|
|
|
100
|
|
|
|
|
|
|
=cut |
101
|
|
|
|
|
|
|
|
102
|
|
|
|
|
|
|
sub getAccent { |
103
|
|
|
|
|
|
|
my $self = shift; |
104
|
|
|
|
|
|
|
return $self->{'Accent'}; |
105
|
|
|
|
|
|
|
} |
106
|
|
|
|
|
|
|
|
107
|
|
|
|
|
|
|
|
108
|
|
|
|
|
|
|
=head2 setPrimary() |
109
|
|
|
|
|
|
|
|
110
|
|
|
|
|
|
|
Primary color for the Store. Specified in 6-digit Hex format. |
111
|
|
|
|
|
|
|
For example: F6F6C9 |
112
|
|
|
|
|
|
|
|
113
|
|
|
|
|
|
|
MaxLength: 6 |
114
|
|
|
|
|
|
|
|
115
|
|
|
|
|
|
|
Calls: SetStore |
116
|
|
|
|
|
|
|
RequiredInput: Conditionally |
117
|
|
|
|
|
|
|
|
118
|
|
|
|
|
|
|
# Argument: 'xs:string' |
119
|
|
|
|
|
|
|
|
120
|
|
|
|
|
|
|
=cut |
121
|
|
|
|
|
|
|
|
122
|
|
|
|
|
|
|
sub setPrimary { |
123
|
|
|
|
|
|
|
my $self = shift; |
124
|
|
|
|
|
|
|
$self->{'Primary'} = shift |
125
|
|
|
|
|
|
|
} |
126
|
|
|
|
|
|
|
|
127
|
|
|
|
|
|
|
=head2 getPrimary() |
128
|
|
|
|
|
|
|
|
129
|
|
|
|
|
|
|
Calls: GetStore |
130
|
|
|
|
|
|
|
Returned: Conditionally |
131
|
|
|
|
|
|
|
|
132
|
|
|
|
|
|
|
Calls: GetStoreOptions |
133
|
|
|
|
|
|
|
Returned: Always |
134
|
|
|
|
|
|
|
|
135
|
|
|
|
|
|
|
# Returns: 'xs:string' |
136
|
|
|
|
|
|
|
|
137
|
|
|
|
|
|
|
=cut |
138
|
|
|
|
|
|
|
|
139
|
|
|
|
|
|
|
sub getPrimary { |
140
|
|
|
|
|
|
|
my $self = shift; |
141
|
|
|
|
|
|
|
return $self->{'Primary'}; |
142
|
|
|
|
|
|
|
} |
143
|
|
|
|
|
|
|
|
144
|
|
|
|
|
|
|
|
145
|
|
|
|
|
|
|
=head2 setSecondary() |
146
|
|
|
|
|
|
|
|
147
|
|
|
|
|
|
|
Secondary color for the Store. Specified in 6-digit Hex format. |
148
|
|
|
|
|
|
|
For example: F6F6C9 |
149
|
|
|
|
|
|
|
|
150
|
|
|
|
|
|
|
MaxLength: 6 |
151
|
|
|
|
|
|
|
|
152
|
|
|
|
|
|
|
Calls: SetStore |
153
|
|
|
|
|
|
|
RequiredInput: Conditionally |
154
|
|
|
|
|
|
|
|
155
|
|
|
|
|
|
|
# Argument: 'xs:string' |
156
|
|
|
|
|
|
|
|
157
|
|
|
|
|
|
|
=cut |
158
|
|
|
|
|
|
|
|
159
|
|
|
|
|
|
|
sub setSecondary { |
160
|
|
|
|
|
|
|
my $self = shift; |
161
|
|
|
|
|
|
|
$self->{'Secondary'} = shift |
162
|
|
|
|
|
|
|
} |
163
|
|
|
|
|
|
|
|
164
|
|
|
|
|
|
|
=head2 getSecondary() |
165
|
|
|
|
|
|
|
|
166
|
|
|
|
|
|
|
Calls: GetStore |
167
|
|
|
|
|
|
|
Returned: Conditionally |
168
|
|
|
|
|
|
|
|
169
|
|
|
|
|
|
|
Calls: GetStoreOptions |
170
|
|
|
|
|
|
|
Returned: Always |
171
|
|
|
|
|
|
|
|
172
|
|
|
|
|
|
|
# Returns: 'xs:string' |
173
|
|
|
|
|
|
|
|
174
|
|
|
|
|
|
|
=cut |
175
|
|
|
|
|
|
|
|
176
|
|
|
|
|
|
|
sub getSecondary { |
177
|
|
|
|
|
|
|
my $self = shift; |
178
|
|
|
|
|
|
|
return $self->{'Secondary'}; |
179
|
|
|
|
|
|
|
} |
180
|
|
|
|
|
|
|
|
181
|
|
|
|
|
|
|
|
182
|
|
|
|
|
|
|
|
183
|
|
|
|
|
|
|
|
184
|
|
|
|
|
|
|
|
185
|
|
|
|
|
|
|
## Attribute and Property lists |
186
|
|
|
|
|
|
|
sub getPropertiesList { |
187
|
|
|
|
|
|
|
my $self = shift; |
188
|
|
|
|
|
|
|
return \@gaProperties; |
189
|
|
|
|
|
|
|
} |
190
|
|
|
|
|
|
|
|
191
|
|
|
|
|
|
|
sub getAttributesList { |
192
|
|
|
|
|
|
|
my $self = shift; |
193
|
|
|
|
|
|
|
return \@gaAttributes; |
194
|
|
|
|
|
|
|
} |
195
|
|
|
|
|
|
|
|
196
|
|
|
|
|
|
|
|
197
|
|
|
|
|
|
|
|
198
|
|
|
|
|
|
|
1; |