File Coverage

lib/eBay/API/XML/DataType/StoreFontType.pm
Criterion Covered Total %
statement 7 9 77.7
branch n/a
condition n/a
subroutine 3 3 100.0
pod n/a
total 10 12 83.3


line stmt bran cond sub pod time code
1             #!/usr/bin/perl
2              
3             package eBay::API::XML::DataType::StoreFontType;
4              
5 1     1   967 use strict;
  1         3  
  1         29  
6 1     1   5 use warnings;
  1         3  
  1         31  
7              
8             ##########################################################################
9             #
10             # Module: ............... eBay/API/XML
11             # File: ................. StoreFontType.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::StoreFontType
21              
22             =head1 DESCRIPTION
23              
24             Store font set.
25              
26              
27              
28             =head1 SYNOPSIS
29              
30             =cut
31              
32              
33             =head1 INHERITANCE
34              
35             eBay::API::XML::DataType::StoreFontType inherits from the L class
36              
37             =cut
38              
39 1     1   33 use eBay::API::XML::BaseDataType;
  0            
  0            
40             our @ISA = ("eBay::API::XML::BaseDataType");
41              
42             use eBay::API::XML::DataType::Enum::StoreFontFaceCodeType;
43             use eBay::API::XML::DataType::Enum::StoreFontSizeCodeType;
44              
45              
46             my @gaProperties = ( [ 'DescColor', 'xs:string', '', '', '' ]
47             , [ 'DescFace', 'ns:StoreFontFaceCodeType', ''
48             ,'eBay::API::XML::DataType::Enum::StoreFontFaceCodeType', '' ]
49             , [ 'DescSize', 'ns:StoreFontSizeCodeType', ''
50             ,'eBay::API::XML::DataType::Enum::StoreFontSizeCodeType', '' ]
51             , [ 'NameColor', 'xs:string', '', '', '' ]
52             , [ 'NameFace', 'ns:StoreFontFaceCodeType', ''
53             ,'eBay::API::XML::DataType::Enum::StoreFontFaceCodeType', '' ]
54             , [ 'NameSize', 'ns:StoreFontSizeCodeType', ''
55             ,'eBay::API::XML::DataType::Enum::StoreFontSizeCodeType', '' ]
56             , [ 'TitleColor', 'xs:string', '', '', '' ]
57             , [ 'TitleFace', 'ns:StoreFontFaceCodeType', ''
58             ,'eBay::API::XML::DataType::Enum::StoreFontFaceCodeType', '' ]
59             , [ 'TitleSize', 'ns:StoreFontSizeCodeType', ''
60             ,'eBay::API::XML::DataType::Enum::StoreFontSizeCodeType', '' ]
61             );
62             push @gaProperties, @{eBay::API::XML::BaseDataType::getPropertiesList()};
63              
64             my @gaAttributes = (
65             );
66             push @gaAttributes, @{eBay::API::XML::BaseDataType::getAttributesList()};
67              
68             =head1 Subroutines:
69              
70             =cut
71              
72             sub new {
73             my $classname = shift;
74             my %args = @_;
75             my $self = $classname->SUPER::new(%args);
76             return $self;
77             }
78              
79             sub isScalar {
80             return 0;
81             }
82              
83              
84              
85             =head2 setDescColor()
86              
87             Font color for the Store description. Specified in 6-digit Hex
88             format. For example: F6F6C9
89              
90             Calls: SetStore
91             RequiredInput: Conditionally
92              
93             # Argument: 'xs:string'
94              
95             =cut
96              
97             sub setDescColor {
98             my $self = shift;
99             $self->{'DescColor'} = shift
100             }
101              
102             =head2 getDescColor()
103              
104             Calls: GetStore
105             Returned: Conditionally
106              
107             Calls: GetStoreOptions
108             Returned: Always
109              
110             # Returns: 'xs:string'
111              
112             =cut
113              
114             sub getDescColor {
115             my $self = shift;
116             return $self->{'DescColor'};
117             }
118              
119              
120             =head2 setDescFace()
121              
122             Font for the Store description.
123              
124             Calls: SetStore
125             RequiredInput: Conditionally
126              
127             # Argument: 'ns:StoreFontFaceCodeType'
128              
129             =cut
130              
131             sub setDescFace {
132             my $self = shift;
133             $self->{'DescFace'} = shift
134             }
135              
136             =head2 getDescFace()
137              
138             Calls: GetStore
139             Returned: Conditionally
140              
141             Calls: GetStoreOptions
142             Returned: Always
143              
144             # Returns: 'ns:StoreFontFaceCodeType'
145              
146             =cut
147              
148             sub getDescFace {
149             my $self = shift;
150             return $self->{'DescFace'};
151             }
152              
153              
154             =head2 setDescSize()
155              
156             Font size for the Store description.
157              
158             Calls: SetStore
159             RequiredInput: Conditionally
160              
161             # Argument: 'ns:StoreFontSizeCodeType'
162              
163             =cut
164              
165             sub setDescSize {
166             my $self = shift;
167             $self->{'DescSize'} = shift
168             }
169              
170             =head2 getDescSize()
171              
172             Calls: GetStore
173             Returned: Conditionally
174              
175             Calls: GetStoreOptions
176             Returned: Always
177              
178             # Returns: 'ns:StoreFontSizeCodeType'
179              
180             =cut
181              
182             sub getDescSize {
183             my $self = shift;
184             return $self->{'DescSize'};
185             }
186              
187              
188             =head2 setNameColor()
189              
190             Font color for the Store name. Specified in 6-digit Hex format.
191             For example: F6F6C9
192              
193             MaxLength: 6
194              
195             Calls: SetStore
196             RequiredInput: Conditionally
197              
198             # Argument: 'xs:string'
199              
200             =cut
201              
202             sub setNameColor {
203             my $self = shift;
204             $self->{'NameColor'} = shift
205             }
206              
207             =head2 getNameColor()
208              
209             Calls: GetStore
210             Returned: Conditionally
211              
212             Calls: GetStoreOptions
213             Returned: Always
214              
215             # Returns: 'xs:string'
216              
217             =cut
218              
219             sub getNameColor {
220             my $self = shift;
221             return $self->{'NameColor'};
222             }
223              
224              
225             =head2 setNameFace()
226              
227             Font for the Store name.
228              
229             Calls: SetStore
230             RequiredInput: Conditionally
231              
232             # Argument: 'ns:StoreFontFaceCodeType'
233              
234             =cut
235              
236             sub setNameFace {
237             my $self = shift;
238             $self->{'NameFace'} = shift
239             }
240              
241             =head2 getNameFace()
242              
243             Calls: GetStore
244             Returned: Conditionally
245              
246             Calls: GetStoreOptions
247             Returned: Always
248              
249             # Returns: 'ns:StoreFontFaceCodeType'
250              
251             =cut
252              
253             sub getNameFace {
254             my $self = shift;
255             return $self->{'NameFace'};
256             }
257              
258              
259             =head2 setNameSize()
260              
261             Font size for the Store name.
262              
263             Calls: SetStore
264             RequiredInput: Conditionally
265              
266             # Argument: 'ns:StoreFontSizeCodeType'
267              
268             =cut
269              
270             sub setNameSize {
271             my $self = shift;
272             $self->{'NameSize'} = shift
273             }
274              
275             =head2 getNameSize()
276              
277             Calls: GetStore
278             Returned: Conditionally
279              
280             Calls: GetStoreOptions
281             Returned: Always
282              
283             # Returns: 'ns:StoreFontSizeCodeType'
284              
285             =cut
286              
287             sub getNameSize {
288             my $self = shift;
289             return $self->{'NameSize'};
290             }
291              
292              
293             =head2 setTitleColor()
294              
295             Font color for the Store section title. Specified in 6-digit Hex
296             format. For example: F6F6C9
297              
298             Calls: SetStore
299             RequiredInput: Conditionally
300              
301             # Argument: 'xs:string'
302              
303             =cut
304              
305             sub setTitleColor {
306             my $self = shift;
307             $self->{'TitleColor'} = shift
308             }
309              
310             =head2 getTitleColor()
311              
312             Calls: GetStore
313             Returned: Conditionally
314              
315             Calls: GetStoreOptions
316             Returned: Always
317              
318             # Returns: 'xs:string'
319              
320             =cut
321              
322             sub getTitleColor {
323             my $self = shift;
324             return $self->{'TitleColor'};
325             }
326              
327              
328             =head2 setTitleFace()
329              
330             Font for the Store section title.
331              
332             Calls: SetStore
333             RequiredInput: Conditionally
334              
335             # Argument: 'ns:StoreFontFaceCodeType'
336              
337             =cut
338              
339             sub setTitleFace {
340             my $self = shift;
341             $self->{'TitleFace'} = shift
342             }
343              
344             =head2 getTitleFace()
345              
346             Calls: GetStore
347             Returned: Conditionally
348              
349             Calls: GetStoreOptions
350             Returned: Always
351              
352             # Returns: 'ns:StoreFontFaceCodeType'
353              
354             =cut
355              
356             sub getTitleFace {
357             my $self = shift;
358             return $self->{'TitleFace'};
359             }
360              
361              
362             =head2 setTitleSize()
363              
364             Font size for the Store section title.
365              
366             Calls: SetStore
367             RequiredInput: Conditionally
368              
369             # Argument: 'ns:StoreFontSizeCodeType'
370              
371             =cut
372              
373             sub setTitleSize {
374             my $self = shift;
375             $self->{'TitleSize'} = shift
376             }
377              
378             =head2 getTitleSize()
379              
380             Calls: GetStore
381             Returned: Conditionally
382              
383             Calls: GetStoreOptions
384             Returned: Always
385              
386             # Returns: 'ns:StoreFontSizeCodeType'
387              
388             =cut
389              
390             sub getTitleSize {
391             my $self = shift;
392             return $self->{'TitleSize'};
393             }
394              
395              
396              
397              
398              
399             ## Attribute and Property lists
400             sub getPropertiesList {
401             my $self = shift;
402             return \@gaProperties;
403             }
404              
405             sub getAttributesList {
406             my $self = shift;
407             return \@gaAttributes;
408             }
409              
410              
411              
412             1;