line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
#!/usr/bin/perl |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package eBay::API::XML::DataType::DescriptionTemplateType; |
4
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
1217
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
31
|
|
6
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
32
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
########################################################################## |
9
|
|
|
|
|
|
|
# |
10
|
|
|
|
|
|
|
# Module: ............... eBay/API/XML |
11
|
|
|
|
|
|
|
# File: ................. DescriptionTemplateType.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::DescriptionTemplateType |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 DESCRIPTION |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
The information for one Theme or one Layout. |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=head1 SYNOPSIS |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=cut |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=head1 INHERITANCE |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
eBay::API::XML::DataType::DescriptionTemplateType inherits from the L class |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=cut |
38
|
|
|
|
|
|
|
|
39
|
1
|
|
|
1
|
|
44
|
use eBay::API::XML::BaseDataType; |
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
our @ISA = ("eBay::API::XML::BaseDataType"); |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
use eBay::API::XML::DataType::Enum::DescriptionTemplateCodeType; |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
my @gaProperties = ( [ 'GroupID', 'xs:int', '', '', '' ] |
46
|
|
|
|
|
|
|
, [ 'ID', 'xs:int', '', '', '' ] |
47
|
|
|
|
|
|
|
, [ 'ImageURL', 'xs:anyURI', '', '', '' ] |
48
|
|
|
|
|
|
|
, [ 'Name', 'xs:string', '', '', '' ] |
49
|
|
|
|
|
|
|
, [ 'TemplateXML', 'xs:string', '', '', '' ] |
50
|
|
|
|
|
|
|
, [ 'Type', 'ns:DescriptionTemplateCodeType', '' |
51
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::Enum::DescriptionTemplateCodeType', '' ] |
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 setGroupID() |
77
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
Unique identifier for the group in which a Theme falls |
79
|
|
|
|
|
|
|
(holidays, special events, etc.). Not returned for Layouts. |
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
# Argument: 'xs:int' |
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
=cut |
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
sub setGroupID { |
86
|
|
|
|
|
|
|
my $self = shift; |
87
|
|
|
|
|
|
|
$self->{'GroupID'} = shift |
88
|
|
|
|
|
|
|
} |
89
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
=head2 getGroupID() |
91
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
Calls: GetDescriptionTemplates |
93
|
|
|
|
|
|
|
Returned: Always |
94
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
# Returns: 'xs:int' |
96
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
=cut |
98
|
|
|
|
|
|
|
|
99
|
|
|
|
|
|
|
sub getGroupID { |
100
|
|
|
|
|
|
|
my $self = shift; |
101
|
|
|
|
|
|
|
return $self->{'GroupID'}; |
102
|
|
|
|
|
|
|
} |
103
|
|
|
|
|
|
|
|
104
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
=head2 setID() |
106
|
|
|
|
|
|
|
|
107
|
|
|
|
|
|
|
Unique identifier for one Theme or Layout. |
108
|
|
|
|
|
|
|
|
109
|
|
|
|
|
|
|
# Argument: 'xs:int' |
110
|
|
|
|
|
|
|
|
111
|
|
|
|
|
|
|
=cut |
112
|
|
|
|
|
|
|
|
113
|
|
|
|
|
|
|
sub setID { |
114
|
|
|
|
|
|
|
my $self = shift; |
115
|
|
|
|
|
|
|
$self->{'ID'} = shift |
116
|
|
|
|
|
|
|
} |
117
|
|
|
|
|
|
|
|
118
|
|
|
|
|
|
|
=head2 getID() |
119
|
|
|
|
|
|
|
|
120
|
|
|
|
|
|
|
Calls: GetDescriptionTemplates |
121
|
|
|
|
|
|
|
Returned: Always |
122
|
|
|
|
|
|
|
|
123
|
|
|
|
|
|
|
# Returns: 'xs:int' |
124
|
|
|
|
|
|
|
|
125
|
|
|
|
|
|
|
=cut |
126
|
|
|
|
|
|
|
|
127
|
|
|
|
|
|
|
sub getID { |
128
|
|
|
|
|
|
|
my $self = shift; |
129
|
|
|
|
|
|
|
return $self->{'ID'}; |
130
|
|
|
|
|
|
|
} |
131
|
|
|
|
|
|
|
|
132
|
|
|
|
|
|
|
|
133
|
|
|
|
|
|
|
=head2 setImageURL() |
134
|
|
|
|
|
|
|
|
135
|
|
|
|
|
|
|
URL for a small (100x120 pixel) image providing a sample of how a Theme or Layout looks. |
136
|
|
|
|
|
|
|
|
137
|
|
|
|
|
|
|
# Argument: 'xs:anyURI' |
138
|
|
|
|
|
|
|
|
139
|
|
|
|
|
|
|
=cut |
140
|
|
|
|
|
|
|
|
141
|
|
|
|
|
|
|
sub setImageURL { |
142
|
|
|
|
|
|
|
my $self = shift; |
143
|
|
|
|
|
|
|
$self->{'ImageURL'} = shift |
144
|
|
|
|
|
|
|
} |
145
|
|
|
|
|
|
|
|
146
|
|
|
|
|
|
|
=head2 getImageURL() |
147
|
|
|
|
|
|
|
|
148
|
|
|
|
|
|
|
Calls: GetDescriptionTemplates |
149
|
|
|
|
|
|
|
Returned: Always |
150
|
|
|
|
|
|
|
|
151
|
|
|
|
|
|
|
# Returns: 'xs:anyURI' |
152
|
|
|
|
|
|
|
|
153
|
|
|
|
|
|
|
=cut |
154
|
|
|
|
|
|
|
|
155
|
|
|
|
|
|
|
sub getImageURL { |
156
|
|
|
|
|
|
|
my $self = shift; |
157
|
|
|
|
|
|
|
return $self->{'ImageURL'}; |
158
|
|
|
|
|
|
|
} |
159
|
|
|
|
|
|
|
|
160
|
|
|
|
|
|
|
|
161
|
|
|
|
|
|
|
=head2 setName() |
162
|
|
|
|
|
|
|
|
163
|
|
|
|
|
|
|
Unique text name of the Theme or Layout. |
164
|
|
|
|
|
|
|
|
165
|
|
|
|
|
|
|
# Argument: 'xs:string' |
166
|
|
|
|
|
|
|
|
167
|
|
|
|
|
|
|
=cut |
168
|
|
|
|
|
|
|
|
169
|
|
|
|
|
|
|
sub setName { |
170
|
|
|
|
|
|
|
my $self = shift; |
171
|
|
|
|
|
|
|
$self->{'Name'} = shift |
172
|
|
|
|
|
|
|
} |
173
|
|
|
|
|
|
|
|
174
|
|
|
|
|
|
|
=head2 getName() |
175
|
|
|
|
|
|
|
|
176
|
|
|
|
|
|
|
Calls: GetDescriptionTemplates |
177
|
|
|
|
|
|
|
Returned: Always |
178
|
|
|
|
|
|
|
|
179
|
|
|
|
|
|
|
# Returns: 'xs:string' |
180
|
|
|
|
|
|
|
|
181
|
|
|
|
|
|
|
=cut |
182
|
|
|
|
|
|
|
|
183
|
|
|
|
|
|
|
sub getName { |
184
|
|
|
|
|
|
|
my $self = shift; |
185
|
|
|
|
|
|
|
return $self->{'Name'}; |
186
|
|
|
|
|
|
|
} |
187
|
|
|
|
|
|
|
|
188
|
|
|
|
|
|
|
|
189
|
|
|
|
|
|
|
=head2 setTemplateXML() |
190
|
|
|
|
|
|
|
|
191
|
|
|
|
|
|
|
XML defining the template. Elements you must include |
192
|
|
|
|
|
|
|
in your XML: ThemeTop, ThemeUserCellTop, ThemeUserContent, |
193
|
|
|
|
|
|
|
ThemeUserCellBottom, ThemeBottom. Not returned for Layouts. |
194
|
|
|
|
|
|
|
|
195
|
|
|
|
|
|
|
# Argument: 'xs:string' |
196
|
|
|
|
|
|
|
|
197
|
|
|
|
|
|
|
=cut |
198
|
|
|
|
|
|
|
|
199
|
|
|
|
|
|
|
sub setTemplateXML { |
200
|
|
|
|
|
|
|
my $self = shift; |
201
|
|
|
|
|
|
|
$self->{'TemplateXML'} = shift |
202
|
|
|
|
|
|
|
} |
203
|
|
|
|
|
|
|
|
204
|
|
|
|
|
|
|
=head2 getTemplateXML() |
205
|
|
|
|
|
|
|
|
206
|
|
|
|
|
|
|
Calls: GetDescriptionTemplates |
207
|
|
|
|
|
|
|
Returned: Always |
208
|
|
|
|
|
|
|
|
209
|
|
|
|
|
|
|
# Returns: 'xs:string' |
210
|
|
|
|
|
|
|
|
211
|
|
|
|
|
|
|
=cut |
212
|
|
|
|
|
|
|
|
213
|
|
|
|
|
|
|
sub getTemplateXML { |
214
|
|
|
|
|
|
|
my $self = shift; |
215
|
|
|
|
|
|
|
return $self->{'TemplateXML'}; |
216
|
|
|
|
|
|
|
} |
217
|
|
|
|
|
|
|
|
218
|
|
|
|
|
|
|
|
219
|
|
|
|
|
|
|
=head2 setType() |
220
|
|
|
|
|
|
|
|
221
|
|
|
|
|
|
|
Either Layout or Theme. |
222
|
|
|
|
|
|
|
|
223
|
|
|
|
|
|
|
# Argument: 'ns:DescriptionTemplateCodeType' |
224
|
|
|
|
|
|
|
|
225
|
|
|
|
|
|
|
=cut |
226
|
|
|
|
|
|
|
|
227
|
|
|
|
|
|
|
sub setType { |
228
|
|
|
|
|
|
|
my $self = shift; |
229
|
|
|
|
|
|
|
$self->{'Type'} = shift |
230
|
|
|
|
|
|
|
} |
231
|
|
|
|
|
|
|
|
232
|
|
|
|
|
|
|
=head2 getType() |
233
|
|
|
|
|
|
|
|
234
|
|
|
|
|
|
|
Calls: GetDescriptionTemplates |
235
|
|
|
|
|
|
|
Returned: Always |
236
|
|
|
|
|
|
|
|
237
|
|
|
|
|
|
|
# Returns: 'ns:DescriptionTemplateCodeType' |
238
|
|
|
|
|
|
|
|
239
|
|
|
|
|
|
|
=cut |
240
|
|
|
|
|
|
|
|
241
|
|
|
|
|
|
|
sub getType { |
242
|
|
|
|
|
|
|
my $self = shift; |
243
|
|
|
|
|
|
|
return $self->{'Type'}; |
244
|
|
|
|
|
|
|
} |
245
|
|
|
|
|
|
|
|
246
|
|
|
|
|
|
|
|
247
|
|
|
|
|
|
|
|
248
|
|
|
|
|
|
|
|
249
|
|
|
|
|
|
|
|
250
|
|
|
|
|
|
|
## Attribute and Property lists |
251
|
|
|
|
|
|
|
sub getPropertiesList { |
252
|
|
|
|
|
|
|
my $self = shift; |
253
|
|
|
|
|
|
|
return \@gaProperties; |
254
|
|
|
|
|
|
|
} |
255
|
|
|
|
|
|
|
|
256
|
|
|
|
|
|
|
sub getAttributesList { |
257
|
|
|
|
|
|
|
my $self = shift; |
258
|
|
|
|
|
|
|
return \@gaAttributes; |
259
|
|
|
|
|
|
|
} |
260
|
|
|
|
|
|
|
|
261
|
|
|
|
|
|
|
|
262
|
|
|
|
|
|
|
|
263
|
|
|
|
|
|
|
1; |