line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
#!/usr/bin/perl |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package eBay::API::XML::DataType::WishListEntryType; |
4
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
1697
|
use strict; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
38
|
|
6
|
1
|
|
|
1
|
|
6
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
35
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
########################################################################## |
9
|
|
|
|
|
|
|
# |
10
|
|
|
|
|
|
|
# Module: ............... eBay/API/XML |
11
|
|
|
|
|
|
|
# File: ................. WishListEntryType.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::WishListEntryType |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 DESCRIPTION |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
This type contains details about the product or item a user has added to a wish list. |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=head1 SYNOPSIS |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=cut |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=head1 INHERITANCE |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
eBay::API::XML::DataType::WishListEntryType inherits from the L class |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=cut |
38
|
|
|
|
|
|
|
|
39
|
1
|
|
|
1
|
|
41
|
use eBay::API::XML::BaseDataType; |
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
our @ISA = ("eBay::API::XML::BaseDataType"); |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
use eBay::API::XML::DataType::ExpressProductType; |
43
|
|
|
|
|
|
|
use eBay::API::XML::DataType::ItemType; |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
my @gaProperties = ( [ 'CreationDate', 'xs:dateTime', '', '', '' ] |
47
|
|
|
|
|
|
|
, [ 'Item', 'ns:ItemType', '' |
48
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::ItemType', '1' ] |
49
|
|
|
|
|
|
|
, [ 'Notes', 'xs:string', '', '', '' ] |
50
|
|
|
|
|
|
|
, [ 'Product', 'ns:ExpressProductType', '' |
51
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::ExpressProductType', '1' ] |
52
|
|
|
|
|
|
|
, [ 'QuantityReceived', 'xs:int', '', '', '' ] |
53
|
|
|
|
|
|
|
, [ 'QuantityWanted', 'xs:int', '', '', '' ] |
54
|
|
|
|
|
|
|
); |
55
|
|
|
|
|
|
|
push @gaProperties, @{eBay::API::XML::BaseDataType::getPropertiesList()}; |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
my @gaAttributes = ( |
58
|
|
|
|
|
|
|
); |
59
|
|
|
|
|
|
|
push @gaAttributes, @{eBay::API::XML::BaseDataType::getAttributesList()}; |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
=head1 Subroutines: |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
=cut |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
sub new { |
66
|
|
|
|
|
|
|
my $classname = shift; |
67
|
|
|
|
|
|
|
my %args = @_; |
68
|
|
|
|
|
|
|
my $self = $classname->SUPER::new(%args); |
69
|
|
|
|
|
|
|
return $self; |
70
|
|
|
|
|
|
|
} |
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
sub isScalar { |
73
|
|
|
|
|
|
|
return 0; |
74
|
|
|
|
|
|
|
} |
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
=head2 setCreationDate() |
79
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
Date the item or product was added to the wish list. |
81
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
# Argument: 'xs:dateTime' |
83
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
=cut |
85
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
sub setCreationDate { |
87
|
|
|
|
|
|
|
my $self = shift; |
88
|
|
|
|
|
|
|
$self->{'CreationDate'} = shift |
89
|
|
|
|
|
|
|
} |
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
=head2 getCreationDate() |
92
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
# Returns: 'xs:dateTime' |
94
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
=cut |
96
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
sub getCreationDate { |
98
|
|
|
|
|
|
|
my $self = shift; |
99
|
|
|
|
|
|
|
return $self->{'CreationDate'}; |
100
|
|
|
|
|
|
|
} |
101
|
|
|
|
|
|
|
|
102
|
|
|
|
|
|
|
|
103
|
|
|
|
|
|
|
=head2 setItem() |
104
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
Item details, returned if the wish list entry is an item, as opposed to a product. |
106
|
|
|
|
|
|
|
|
107
|
|
|
|
|
|
|
# Argument: 'ns:ItemType' |
108
|
|
|
|
|
|
|
|
109
|
|
|
|
|
|
|
=cut |
110
|
|
|
|
|
|
|
|
111
|
|
|
|
|
|
|
sub setItem { |
112
|
|
|
|
|
|
|
my $self = shift; |
113
|
|
|
|
|
|
|
$self->{'Item'} = shift |
114
|
|
|
|
|
|
|
} |
115
|
|
|
|
|
|
|
|
116
|
|
|
|
|
|
|
=head2 getItem() |
117
|
|
|
|
|
|
|
|
118
|
|
|
|
|
|
|
# Returns: 'ns:ItemType' |
119
|
|
|
|
|
|
|
|
120
|
|
|
|
|
|
|
=cut |
121
|
|
|
|
|
|
|
|
122
|
|
|
|
|
|
|
sub getItem { |
123
|
|
|
|
|
|
|
my $self = shift; |
124
|
|
|
|
|
|
|
return $self->_getDataTypeInstance( 'Item' |
125
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::ItemType'); |
126
|
|
|
|
|
|
|
} |
127
|
|
|
|
|
|
|
|
128
|
|
|
|
|
|
|
|
129
|
|
|
|
|
|
|
=head2 setNotes() |
130
|
|
|
|
|
|
|
|
131
|
|
|
|
|
|
|
Notes the user has entered about the product or item, only returned |
132
|
|
|
|
|
|
|
if notes exist. |
133
|
|
|
|
|
|
|
|
134
|
|
|
|
|
|
|
# Argument: 'xs:string' |
135
|
|
|
|
|
|
|
|
136
|
|
|
|
|
|
|
=cut |
137
|
|
|
|
|
|
|
|
138
|
|
|
|
|
|
|
sub setNotes { |
139
|
|
|
|
|
|
|
my $self = shift; |
140
|
|
|
|
|
|
|
$self->{'Notes'} = shift |
141
|
|
|
|
|
|
|
} |
142
|
|
|
|
|
|
|
|
143
|
|
|
|
|
|
|
=head2 getNotes() |
144
|
|
|
|
|
|
|
|
145
|
|
|
|
|
|
|
# Returns: 'xs:string' |
146
|
|
|
|
|
|
|
|
147
|
|
|
|
|
|
|
=cut |
148
|
|
|
|
|
|
|
|
149
|
|
|
|
|
|
|
sub getNotes { |
150
|
|
|
|
|
|
|
my $self = shift; |
151
|
|
|
|
|
|
|
return $self->{'Notes'}; |
152
|
|
|
|
|
|
|
} |
153
|
|
|
|
|
|
|
|
154
|
|
|
|
|
|
|
|
155
|
|
|
|
|
|
|
=head2 setProduct() |
156
|
|
|
|
|
|
|
|
157
|
|
|
|
|
|
|
Product details, returned if the wish list entry is a product, as opposed to an item. |
158
|
|
|
|
|
|
|
|
159
|
|
|
|
|
|
|
# Argument: 'ns:ExpressProductType' |
160
|
|
|
|
|
|
|
|
161
|
|
|
|
|
|
|
=cut |
162
|
|
|
|
|
|
|
|
163
|
|
|
|
|
|
|
sub setProduct { |
164
|
|
|
|
|
|
|
my $self = shift; |
165
|
|
|
|
|
|
|
$self->{'Product'} = shift |
166
|
|
|
|
|
|
|
} |
167
|
|
|
|
|
|
|
|
168
|
|
|
|
|
|
|
=head2 getProduct() |
169
|
|
|
|
|
|
|
|
170
|
|
|
|
|
|
|
# Returns: 'ns:ExpressProductType' |
171
|
|
|
|
|
|
|
|
172
|
|
|
|
|
|
|
=cut |
173
|
|
|
|
|
|
|
|
174
|
|
|
|
|
|
|
sub getProduct { |
175
|
|
|
|
|
|
|
my $self = shift; |
176
|
|
|
|
|
|
|
return $self->_getDataTypeInstance( 'Product' |
177
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::ExpressProductType'); |
178
|
|
|
|
|
|
|
} |
179
|
|
|
|
|
|
|
|
180
|
|
|
|
|
|
|
|
181
|
|
|
|
|
|
|
=head2 setQuantityReceived() |
182
|
|
|
|
|
|
|
|
183
|
|
|
|
|
|
|
Quantity of the item or product already received by the user. |
184
|
|
|
|
|
|
|
|
185
|
|
|
|
|
|
|
# Argument: 'xs:int' |
186
|
|
|
|
|
|
|
|
187
|
|
|
|
|
|
|
=cut |
188
|
|
|
|
|
|
|
|
189
|
|
|
|
|
|
|
sub setQuantityReceived { |
190
|
|
|
|
|
|
|
my $self = shift; |
191
|
|
|
|
|
|
|
$self->{'QuantityReceived'} = shift |
192
|
|
|
|
|
|
|
} |
193
|
|
|
|
|
|
|
|
194
|
|
|
|
|
|
|
=head2 getQuantityReceived() |
195
|
|
|
|
|
|
|
|
196
|
|
|
|
|
|
|
# Returns: 'xs:int' |
197
|
|
|
|
|
|
|
|
198
|
|
|
|
|
|
|
=cut |
199
|
|
|
|
|
|
|
|
200
|
|
|
|
|
|
|
sub getQuantityReceived { |
201
|
|
|
|
|
|
|
my $self = shift; |
202
|
|
|
|
|
|
|
return $self->{'QuantityReceived'}; |
203
|
|
|
|
|
|
|
} |
204
|
|
|
|
|
|
|
|
205
|
|
|
|
|
|
|
|
206
|
|
|
|
|
|
|
=head2 setQuantityWanted() |
207
|
|
|
|
|
|
|
|
208
|
|
|
|
|
|
|
User-specified desired quantity of the item or product. |
209
|
|
|
|
|
|
|
|
210
|
|
|
|
|
|
|
# Argument: 'xs:int' |
211
|
|
|
|
|
|
|
|
212
|
|
|
|
|
|
|
=cut |
213
|
|
|
|
|
|
|
|
214
|
|
|
|
|
|
|
sub setQuantityWanted { |
215
|
|
|
|
|
|
|
my $self = shift; |
216
|
|
|
|
|
|
|
$self->{'QuantityWanted'} = shift |
217
|
|
|
|
|
|
|
} |
218
|
|
|
|
|
|
|
|
219
|
|
|
|
|
|
|
=head2 getQuantityWanted() |
220
|
|
|
|
|
|
|
|
221
|
|
|
|
|
|
|
# Returns: 'xs:int' |
222
|
|
|
|
|
|
|
|
223
|
|
|
|
|
|
|
=cut |
224
|
|
|
|
|
|
|
|
225
|
|
|
|
|
|
|
sub getQuantityWanted { |
226
|
|
|
|
|
|
|
my $self = shift; |
227
|
|
|
|
|
|
|
return $self->{'QuantityWanted'}; |
228
|
|
|
|
|
|
|
} |
229
|
|
|
|
|
|
|
|
230
|
|
|
|
|
|
|
|
231
|
|
|
|
|
|
|
|
232
|
|
|
|
|
|
|
|
233
|
|
|
|
|
|
|
|
234
|
|
|
|
|
|
|
## Attribute and Property lists |
235
|
|
|
|
|
|
|
sub getPropertiesList { |
236
|
|
|
|
|
|
|
my $self = shift; |
237
|
|
|
|
|
|
|
return \@gaProperties; |
238
|
|
|
|
|
|
|
} |
239
|
|
|
|
|
|
|
|
240
|
|
|
|
|
|
|
sub getAttributesList { |
241
|
|
|
|
|
|
|
my $self = shift; |
242
|
|
|
|
|
|
|
return \@gaAttributes; |
243
|
|
|
|
|
|
|
} |
244
|
|
|
|
|
|
|
|
245
|
|
|
|
|
|
|
|
246
|
|
|
|
|
|
|
|
247
|
|
|
|
|
|
|
1; |