line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
#!/usr/bin/perl |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package eBay::API::XML::DataType::PromotionalSaleDetailsType; |
4
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
1077
|
use strict; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
27
|
|
6
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
26
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
########################################################################## |
9
|
|
|
|
|
|
|
# |
10
|
|
|
|
|
|
|
# Module: ............... eBay/API/XML |
11
|
|
|
|
|
|
|
# File: ................. PromotionalSaleDetailsType.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::PromotionalSaleDetailsType |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 DESCRIPTION |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
If a seller has reduced the price of a listed item with the Promotional Price Display feature, |
25
|
|
|
|
|
|
|
this type contains the original price of the discounted item and other information. |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
=head1 SYNOPSIS |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
=cut |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=head1 INHERITANCE |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
eBay::API::XML::DataType::PromotionalSaleDetailsType inherits from the L class |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
=cut |
39
|
|
|
|
|
|
|
|
40
|
1
|
|
|
1
|
|
40
|
use eBay::API::XML::BaseDataType; |
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
our @ISA = ("eBay::API::XML::BaseDataType"); |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
use eBay::API::XML::DataType::AmountType; |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
my @gaProperties = ( [ 'EndTime', 'xs:dateTime', '', '', '' ] |
47
|
|
|
|
|
|
|
, [ 'OriginalPrice', 'ns:AmountType', '' |
48
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::AmountType', '1' ] |
49
|
|
|
|
|
|
|
, [ 'StartTime', 'xs:dateTime', '', '', '' ] |
50
|
|
|
|
|
|
|
); |
51
|
|
|
|
|
|
|
push @gaProperties, @{eBay::API::XML::BaseDataType::getPropertiesList()}; |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
my @gaAttributes = ( |
54
|
|
|
|
|
|
|
); |
55
|
|
|
|
|
|
|
push @gaAttributes, @{eBay::API::XML::BaseDataType::getAttributesList()}; |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
=head1 Subroutines: |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
=cut |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
sub new { |
62
|
|
|
|
|
|
|
my $classname = shift; |
63
|
|
|
|
|
|
|
my %args = @_; |
64
|
|
|
|
|
|
|
my $self = $classname->SUPER::new(%args); |
65
|
|
|
|
|
|
|
return $self; |
66
|
|
|
|
|
|
|
} |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
sub isScalar { |
69
|
|
|
|
|
|
|
return 0; |
70
|
|
|
|
|
|
|
} |
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
=head2 setEndTime() |
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
End time of a discount for an item whose price a seller has reduced with the Promotional Price Display feature. |
77
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
# Argument: 'xs:dateTime' |
79
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
=cut |
81
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
sub setEndTime { |
83
|
|
|
|
|
|
|
my $self = shift; |
84
|
|
|
|
|
|
|
$self->{'EndTime'} = shift |
85
|
|
|
|
|
|
|
} |
86
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
=head2 getEndTime() |
88
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
Calls: GetBidderList |
90
|
|
|
|
|
|
|
Returned: Conditionally |
91
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
Calls: GetItem |
93
|
|
|
|
|
|
|
Returned: Conditionally |
94
|
|
|
|
|
|
|
Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll |
95
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
Calls: GetSellerList |
97
|
|
|
|
|
|
|
Returned: Conditionally |
98
|
|
|
|
|
|
|
Details: DetailLevel: ItemReturnDescription, ReturnAll |
99
|
|
|
|
|
|
|
|
100
|
|
|
|
|
|
|
Calls: GetMyeBayBuying |
101
|
|
|
|
|
|
|
Returned: Conditionally |
102
|
|
|
|
|
|
|
Details: DetailLevel: none, ReturnSummary, ReturnAll |
103
|
|
|
|
|
|
|
Context: WatchList |
104
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
Calls: GetMyeBaySelling |
106
|
|
|
|
|
|
|
Returned: Conditionally |
107
|
|
|
|
|
|
|
Details: DetailLevel: none, ReturnSummary, ReturnAll |
108
|
|
|
|
|
|
|
Context: ActiveList |
109
|
|
|
|
|
|
|
|
110
|
|
|
|
|
|
|
# Returns: 'xs:dateTime' |
111
|
|
|
|
|
|
|
|
112
|
|
|
|
|
|
|
=cut |
113
|
|
|
|
|
|
|
|
114
|
|
|
|
|
|
|
sub getEndTime { |
115
|
|
|
|
|
|
|
my $self = shift; |
116
|
|
|
|
|
|
|
return $self->{'EndTime'}; |
117
|
|
|
|
|
|
|
} |
118
|
|
|
|
|
|
|
|
119
|
|
|
|
|
|
|
|
120
|
|
|
|
|
|
|
=head2 setOriginalPrice() |
121
|
|
|
|
|
|
|
|
122
|
|
|
|
|
|
|
Original price of an item whose price a seller has reduced with the Promotional Price Display feature. |
123
|
|
|
|
|
|
|
|
124
|
|
|
|
|
|
|
# Argument: 'ns:AmountType' |
125
|
|
|
|
|
|
|
|
126
|
|
|
|
|
|
|
=cut |
127
|
|
|
|
|
|
|
|
128
|
|
|
|
|
|
|
sub setOriginalPrice { |
129
|
|
|
|
|
|
|
my $self = shift; |
130
|
|
|
|
|
|
|
$self->{'OriginalPrice'} = shift |
131
|
|
|
|
|
|
|
} |
132
|
|
|
|
|
|
|
|
133
|
|
|
|
|
|
|
=head2 getOriginalPrice() |
134
|
|
|
|
|
|
|
|
135
|
|
|
|
|
|
|
Calls: GetBidderList |
136
|
|
|
|
|
|
|
Returned: Conditionally |
137
|
|
|
|
|
|
|
|
138
|
|
|
|
|
|
|
Calls: GetItem |
139
|
|
|
|
|
|
|
Returned: Conditionally |
140
|
|
|
|
|
|
|
Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll |
141
|
|
|
|
|
|
|
|
142
|
|
|
|
|
|
|
Calls: GetSellerList |
143
|
|
|
|
|
|
|
Returned: Conditionally |
144
|
|
|
|
|
|
|
Details: DetailLevel: ItemReturnDescription, ReturnAll |
145
|
|
|
|
|
|
|
|
146
|
|
|
|
|
|
|
Calls: GetMyeBayBuying |
147
|
|
|
|
|
|
|
Returned: Conditionally |
148
|
|
|
|
|
|
|
Details: DetailLevel: none, ReturnSummary, ReturnAll |
149
|
|
|
|
|
|
|
Context: WatchList |
150
|
|
|
|
|
|
|
|
151
|
|
|
|
|
|
|
Calls: GetMyeBaySelling |
152
|
|
|
|
|
|
|
Returned: Conditionally |
153
|
|
|
|
|
|
|
Details: DetailLevel: none, ReturnSummary, ReturnAll |
154
|
|
|
|
|
|
|
Context: ActiveList |
155
|
|
|
|
|
|
|
|
156
|
|
|
|
|
|
|
# Returns: 'ns:AmountType' |
157
|
|
|
|
|
|
|
|
158
|
|
|
|
|
|
|
=cut |
159
|
|
|
|
|
|
|
|
160
|
|
|
|
|
|
|
sub getOriginalPrice { |
161
|
|
|
|
|
|
|
my $self = shift; |
162
|
|
|
|
|
|
|
return $self->_getDataTypeInstance( 'OriginalPrice' |
163
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::AmountType'); |
164
|
|
|
|
|
|
|
} |
165
|
|
|
|
|
|
|
|
166
|
|
|
|
|
|
|
|
167
|
|
|
|
|
|
|
=head2 setStartTime() |
168
|
|
|
|
|
|
|
|
169
|
|
|
|
|
|
|
Start time of a discount for an item whose price a seller has reduced with the Promotional Price Display feature. |
170
|
|
|
|
|
|
|
|
171
|
|
|
|
|
|
|
# Argument: 'xs:dateTime' |
172
|
|
|
|
|
|
|
|
173
|
|
|
|
|
|
|
=cut |
174
|
|
|
|
|
|
|
|
175
|
|
|
|
|
|
|
sub setStartTime { |
176
|
|
|
|
|
|
|
my $self = shift; |
177
|
|
|
|
|
|
|
$self->{'StartTime'} = shift |
178
|
|
|
|
|
|
|
} |
179
|
|
|
|
|
|
|
|
180
|
|
|
|
|
|
|
=head2 getStartTime() |
181
|
|
|
|
|
|
|
|
182
|
|
|
|
|
|
|
Calls: GetBidderList |
183
|
|
|
|
|
|
|
Returned: Conditionally |
184
|
|
|
|
|
|
|
|
185
|
|
|
|
|
|
|
Calls: GetItem |
186
|
|
|
|
|
|
|
Returned: Conditionally |
187
|
|
|
|
|
|
|
Details: DetailLevel: none, ItemReturnDescription, ItemReturnAttributes, ReturnAll |
188
|
|
|
|
|
|
|
|
189
|
|
|
|
|
|
|
Calls: GetSellerList |
190
|
|
|
|
|
|
|
Returned: Conditionally |
191
|
|
|
|
|
|
|
Details: DetailLevel: ItemReturnDescription, ReturnAll |
192
|
|
|
|
|
|
|
|
193
|
|
|
|
|
|
|
Calls: GetMyeBayBuying |
194
|
|
|
|
|
|
|
Returned: Conditionally |
195
|
|
|
|
|
|
|
Details: DetailLevel: none, ReturnSummary, ReturnAll |
196
|
|
|
|
|
|
|
Context: WatchList |
197
|
|
|
|
|
|
|
|
198
|
|
|
|
|
|
|
Calls: GetMyeBaySelling |
199
|
|
|
|
|
|
|
Returned: Conditionally |
200
|
|
|
|
|
|
|
Details: DetailLevel: none, ReturnSummary, ReturnAll |
201
|
|
|
|
|
|
|
Context: ActiveList |
202
|
|
|
|
|
|
|
|
203
|
|
|
|
|
|
|
# Returns: 'xs:dateTime' |
204
|
|
|
|
|
|
|
|
205
|
|
|
|
|
|
|
=cut |
206
|
|
|
|
|
|
|
|
207
|
|
|
|
|
|
|
sub getStartTime { |
208
|
|
|
|
|
|
|
my $self = shift; |
209
|
|
|
|
|
|
|
return $self->{'StartTime'}; |
210
|
|
|
|
|
|
|
} |
211
|
|
|
|
|
|
|
|
212
|
|
|
|
|
|
|
|
213
|
|
|
|
|
|
|
|
214
|
|
|
|
|
|
|
|
215
|
|
|
|
|
|
|
|
216
|
|
|
|
|
|
|
## Attribute and Property lists |
217
|
|
|
|
|
|
|
sub getPropertiesList { |
218
|
|
|
|
|
|
|
my $self = shift; |
219
|
|
|
|
|
|
|
return \@gaProperties; |
220
|
|
|
|
|
|
|
} |
221
|
|
|
|
|
|
|
|
222
|
|
|
|
|
|
|
sub getAttributesList { |
223
|
|
|
|
|
|
|
my $self = shift; |
224
|
|
|
|
|
|
|
return \@gaAttributes; |
225
|
|
|
|
|
|
|
} |
226
|
|
|
|
|
|
|
|
227
|
|
|
|
|
|
|
|
228
|
|
|
|
|
|
|
|
229
|
|
|
|
|
|
|
1; |