line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
#!/usr/bin/perl |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package eBay::API::XML::Call::GetDescriptionTemplates; |
4
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
4040
|
use strict; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
31
|
|
6
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
28
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
########################################################################## |
9
|
|
|
|
|
|
|
# |
10
|
|
|
|
|
|
|
# Module: ............... eBay/API/XML |
11
|
|
|
|
|
|
|
# File: ................. GetDescriptionTemplates.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::Call::GetDescriptionTemplates |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 DESCRIPTION |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
=head1 SYNOPSIS |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=cut |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
=head1 INHERITANCE |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
eBay::API::XML::Call::GetDescriptionTemplates inherits from the L class |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
=cut |
36
|
|
|
|
|
|
|
|
37
|
1
|
|
|
1
|
|
34
|
use eBay::API::XML::BaseCall; |
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
our @ISA = ("eBay::API::XML::BaseCall"); |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
use eBay::API::XML::Call::GetDescriptionTemplates::GetDescriptionTemplatesRequestType; |
41
|
|
|
|
|
|
|
use eBay::API::XML::Call::GetDescriptionTemplates::GetDescriptionTemplatesResponseType; |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=head1 Subroutines: |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
=cut |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
sub getApiCallName { |
49
|
|
|
|
|
|
|
return 'GetDescriptionTemplates'; |
50
|
|
|
|
|
|
|
} |
51
|
|
|
|
|
|
|
sub getRequestDataTypeFullPackage { |
52
|
|
|
|
|
|
|
return 'eBay::API::XML::Call::GetDescriptionTemplates::GetDescriptionTemplatesRequestType'; |
53
|
|
|
|
|
|
|
} |
54
|
|
|
|
|
|
|
sub getResponseDataTypeFullPackage { |
55
|
|
|
|
|
|
|
return 'eBay::API::XML::Call::GetDescriptionTemplates::GetDescriptionTemplatesResponseType'; |
56
|
|
|
|
|
|
|
} |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
# |
59
|
|
|
|
|
|
|
# input properties |
60
|
|
|
|
|
|
|
# |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
=head2 setCategoryID() |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
The category for which to retrieve templates. Enter any |
65
|
|
|
|
|
|
|
category ID, including Motors vehicle categories. This |
66
|
|
|
|
|
|
|
is ignored if you also send MotorVehicles. |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
MaxLength: 10 |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
RequiredInput: No |
71
|
|
|
|
|
|
|
# Argument: 'xs:string' |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
=cut |
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
sub setCategoryID { |
76
|
|
|
|
|
|
|
my $self = shift; |
77
|
|
|
|
|
|
|
my $sCategoryID = shift; |
78
|
|
|
|
|
|
|
$self->getRequestDataType()->setCategoryID($sCategoryID); |
79
|
|
|
|
|
|
|
} |
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
=head2 setLastModifiedTime() |
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
If specified, only those templates modified on or after the |
84
|
|
|
|
|
|
|
specified date are returned. If not specified, all templates are returned. |
85
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
RequiredInput: No |
87
|
|
|
|
|
|
|
# Argument: 'xs:dateTime' |
88
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
=cut |
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
sub setLastModifiedTime { |
92
|
|
|
|
|
|
|
my $self = shift; |
93
|
|
|
|
|
|
|
my $sLastModifiedTime = shift; |
94
|
|
|
|
|
|
|
$self->getRequestDataType()->setLastModifiedTime($sLastModifiedTime); |
95
|
|
|
|
|
|
|
} |
96
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
=head2 setMotorVehicles() |
98
|
|
|
|
|
|
|
|
99
|
|
|
|
|
|
|
Indicates whether to retrieve templates for motor vehicle |
100
|
|
|
|
|
|
|
categories for eBay Motors (site 100). If true, templates |
101
|
|
|
|
|
|
|
are returned for motor vehicle categories. If false, |
102
|
|
|
|
|
|
|
templates are returned for non-motor vehicle categories |
103
|
|
|
|
|
|
|
such as Parts and Accessories. If included as an input field (whether true or false), this overrides any value provided for CategoryID. |
104
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
RequiredInput: No |
106
|
|
|
|
|
|
|
# Argument: 'xs:boolean' |
107
|
|
|
|
|
|
|
|
108
|
|
|
|
|
|
|
=cut |
109
|
|
|
|
|
|
|
|
110
|
|
|
|
|
|
|
sub setMotorVehicles { |
111
|
|
|
|
|
|
|
my $self = shift; |
112
|
|
|
|
|
|
|
my $sMotorVehicles = shift; |
113
|
|
|
|
|
|
|
$self->getRequestDataType()->setMotorVehicles($sMotorVehicles); |
114
|
|
|
|
|
|
|
} |
115
|
|
|
|
|
|
|
|
116
|
|
|
|
|
|
|
|
117
|
|
|
|
|
|
|
|
118
|
|
|
|
|
|
|
# |
119
|
|
|
|
|
|
|
# output properties |
120
|
|
|
|
|
|
|
# |
121
|
|
|
|
|
|
|
|
122
|
|
|
|
|
|
|
=head2 getDescriptionTemplate() |
123
|
|
|
|
|
|
|
|
124
|
|
|
|
|
|
|
The information for one Theme or one Layout. There |
125
|
|
|
|
|
|
|
can be multiple DescriptionTemplates. |
126
|
|
|
|
|
|
|
|
127
|
|
|
|
|
|
|
Returned: Always |
128
|
|
|
|
|
|
|
# Returns: reference to an array |
129
|
|
|
|
|
|
|
of 'ns:DescriptionTemplateType' |
130
|
|
|
|
|
|
|
|
131
|
|
|
|
|
|
|
=cut |
132
|
|
|
|
|
|
|
|
133
|
|
|
|
|
|
|
sub getDescriptionTemplate { |
134
|
|
|
|
|
|
|
my $self = shift; |
135
|
|
|
|
|
|
|
return $self->getResponseDataType()->getDescriptionTemplate(); |
136
|
|
|
|
|
|
|
} |
137
|
|
|
|
|
|
|
|
138
|
|
|
|
|
|
|
=head2 getLayoutTotal() |
139
|
|
|
|
|
|
|
|
140
|
|
|
|
|
|
|
The number of Layout templates returned (that is, the |
141
|
|
|
|
|
|
|
number of DescriptionTemplates for which Type is "Layout"). |
142
|
|
|
|
|
|
|
|
143
|
|
|
|
|
|
|
Returned: Always |
144
|
|
|
|
|
|
|
# Returns: 'xs:int' |
145
|
|
|
|
|
|
|
|
146
|
|
|
|
|
|
|
=cut |
147
|
|
|
|
|
|
|
|
148
|
|
|
|
|
|
|
sub getLayoutTotal { |
149
|
|
|
|
|
|
|
my $self = shift; |
150
|
|
|
|
|
|
|
return $self->getResponseDataType()->getLayoutTotal(); |
151
|
|
|
|
|
|
|
} |
152
|
|
|
|
|
|
|
|
153
|
|
|
|
|
|
|
=head2 getObsoleteLayoutID() |
154
|
|
|
|
|
|
|
|
155
|
|
|
|
|
|
|
The ID of a returned layout that is obsolete. There can be zero or more IDs. |
156
|
|
|
|
|
|
|
|
157
|
|
|
|
|
|
|
Returned: Conditionally |
158
|
|
|
|
|
|
|
# Returns: reference to an array |
159
|
|
|
|
|
|
|
of 'xs:int' |
160
|
|
|
|
|
|
|
|
161
|
|
|
|
|
|
|
=cut |
162
|
|
|
|
|
|
|
|
163
|
|
|
|
|
|
|
sub getObsoleteLayoutID { |
164
|
|
|
|
|
|
|
my $self = shift; |
165
|
|
|
|
|
|
|
return $self->getResponseDataType()->getObsoleteLayoutID(); |
166
|
|
|
|
|
|
|
} |
167
|
|
|
|
|
|
|
|
168
|
|
|
|
|
|
|
=head2 getObsoleteThemeID() |
169
|
|
|
|
|
|
|
|
170
|
|
|
|
|
|
|
The ID of a returned theme that is obsolete. There can be zero or more IDs. |
171
|
|
|
|
|
|
|
|
172
|
|
|
|
|
|
|
Returned: Conditionally |
173
|
|
|
|
|
|
|
# Returns: reference to an array |
174
|
|
|
|
|
|
|
of 'xs:int' |
175
|
|
|
|
|
|
|
|
176
|
|
|
|
|
|
|
=cut |
177
|
|
|
|
|
|
|
|
178
|
|
|
|
|
|
|
sub getObsoleteThemeID { |
179
|
|
|
|
|
|
|
my $self = shift; |
180
|
|
|
|
|
|
|
return $self->getResponseDataType()->getObsoleteThemeID(); |
181
|
|
|
|
|
|
|
} |
182
|
|
|
|
|
|
|
|
183
|
|
|
|
|
|
|
=head2 getThemeGroup() |
184
|
|
|
|
|
|
|
|
185
|
|
|
|
|
|
|
Data for one theme group. There can be multiple |
186
|
|
|
|
|
|
|
ThemeGroups in the response. |
187
|
|
|
|
|
|
|
|
188
|
|
|
|
|
|
|
Returned: Conditionally |
189
|
|
|
|
|
|
|
# Returns: reference to an array |
190
|
|
|
|
|
|
|
of 'ns:ThemeGroupType' |
191
|
|
|
|
|
|
|
|
192
|
|
|
|
|
|
|
=cut |
193
|
|
|
|
|
|
|
|
194
|
|
|
|
|
|
|
sub getThemeGroup { |
195
|
|
|
|
|
|
|
my $self = shift; |
196
|
|
|
|
|
|
|
return $self->getResponseDataType()->getThemeGroup(); |
197
|
|
|
|
|
|
|
} |
198
|
|
|
|
|
|
|
|
199
|
|
|
|
|
|
|
=head2 getThemeTotal() |
200
|
|
|
|
|
|
|
|
201
|
|
|
|
|
|
|
The number of Theme templates returned (that is, the number |
202
|
|
|
|
|
|
|
of DescriptionTemplates for which Type is "Theme"). |
203
|
|
|
|
|
|
|
|
204
|
|
|
|
|
|
|
Returned: Always |
205
|
|
|
|
|
|
|
# Returns: 'xs:int' |
206
|
|
|
|
|
|
|
|
207
|
|
|
|
|
|
|
=cut |
208
|
|
|
|
|
|
|
|
209
|
|
|
|
|
|
|
sub getThemeTotal { |
210
|
|
|
|
|
|
|
my $self = shift; |
211
|
|
|
|
|
|
|
return $self->getResponseDataType()->getThemeTotal(); |
212
|
|
|
|
|
|
|
} |
213
|
|
|
|
|
|
|
|
214
|
|
|
|
|
|
|
|
215
|
|
|
|
|
|
|
|
216
|
|
|
|
|
|
|
|
217
|
|
|
|
|
|
|
|
218
|
|
|
|
|
|
|
1; |