line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
#!/usr/bin/perl |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package eBay::API::XML::DataType::ItemBidDetailsType; |
4
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
1788
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
34
|
|
6
|
1
|
|
|
1
|
|
6
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
34
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
########################################################################## |
9
|
|
|
|
|
|
|
# |
10
|
|
|
|
|
|
|
# Module: ............... eBay/API/XML |
11
|
|
|
|
|
|
|
# File: ................. ItemBidDetailsType.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::ItemBidDetailsType |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 DESCRIPTION |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
Contains bidding details information of a user on an item. |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=head1 SYNOPSIS |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=cut |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=head1 INHERITANCE |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
eBay::API::XML::DataType::ItemBidDetailsType 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::ItemIDType; |
43
|
|
|
|
|
|
|
use eBay::API::XML::DataType::UserIDType; |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
my @gaProperties = ( [ 'BidCount', 'xs:int', '', '', '' ] |
47
|
|
|
|
|
|
|
, [ 'CategoryID', 'xs:string', '', '', '' ] |
48
|
|
|
|
|
|
|
, [ 'ItemID', 'ns:ItemIDType', '' |
49
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::ItemIDType', '1' ] |
50
|
|
|
|
|
|
|
, [ 'LastBidTime', 'xs:dateTime', '', '', '' ] |
51
|
|
|
|
|
|
|
, [ 'SellerID', 'ns:UserIDType', '' |
52
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::UserIDType', '1' ] |
53
|
|
|
|
|
|
|
); |
54
|
|
|
|
|
|
|
push @gaProperties, @{eBay::API::XML::BaseDataType::getPropertiesList()}; |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
my @gaAttributes = ( |
57
|
|
|
|
|
|
|
); |
58
|
|
|
|
|
|
|
push @gaAttributes, @{eBay::API::XML::BaseDataType::getAttributesList()}; |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
=head1 Subroutines: |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
=cut |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
sub new { |
65
|
|
|
|
|
|
|
my $classname = shift; |
66
|
|
|
|
|
|
|
my %args = @_; |
67
|
|
|
|
|
|
|
my $self = $classname->SUPER::new(%args); |
68
|
|
|
|
|
|
|
return $self; |
69
|
|
|
|
|
|
|
} |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
sub isScalar { |
72
|
|
|
|
|
|
|
return 0; |
73
|
|
|
|
|
|
|
} |
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
=head2 setBidCount() |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
The total number of bids the user placed on the item. |
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
# Argument: 'xs:int' |
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
=cut |
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
sub setBidCount { |
86
|
|
|
|
|
|
|
my $self = shift; |
87
|
|
|
|
|
|
|
$self->{'BidCount'} = shift |
88
|
|
|
|
|
|
|
} |
89
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
=head2 getBidCount() |
91
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
Calls: GetAllBidders |
93
|
|
|
|
|
|
|
Returned: Conditionally |
94
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
# Returns: 'xs:int' |
96
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
=cut |
98
|
|
|
|
|
|
|
|
99
|
|
|
|
|
|
|
sub getBidCount { |
100
|
|
|
|
|
|
|
my $self = shift; |
101
|
|
|
|
|
|
|
return $self->{'BidCount'}; |
102
|
|
|
|
|
|
|
} |
103
|
|
|
|
|
|
|
|
104
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
=head2 setCategoryID() |
106
|
|
|
|
|
|
|
|
107
|
|
|
|
|
|
|
Numeric ID for the category that the item belongs to. |
108
|
|
|
|
|
|
|
|
109
|
|
|
|
|
|
|
# Argument: 'xs:string' |
110
|
|
|
|
|
|
|
|
111
|
|
|
|
|
|
|
=cut |
112
|
|
|
|
|
|
|
|
113
|
|
|
|
|
|
|
sub setCategoryID { |
114
|
|
|
|
|
|
|
my $self = shift; |
115
|
|
|
|
|
|
|
$self->{'CategoryID'} = shift |
116
|
|
|
|
|
|
|
} |
117
|
|
|
|
|
|
|
|
118
|
|
|
|
|
|
|
=head2 getCategoryID() |
119
|
|
|
|
|
|
|
|
120
|
|
|
|
|
|
|
Calls: GetAllBidders |
121
|
|
|
|
|
|
|
Returned: Conditionally |
122
|
|
|
|
|
|
|
|
123
|
|
|
|
|
|
|
# Returns: 'xs:string' |
124
|
|
|
|
|
|
|
|
125
|
|
|
|
|
|
|
=cut |
126
|
|
|
|
|
|
|
|
127
|
|
|
|
|
|
|
sub getCategoryID { |
128
|
|
|
|
|
|
|
my $self = shift; |
129
|
|
|
|
|
|
|
return $self->{'CategoryID'}; |
130
|
|
|
|
|
|
|
} |
131
|
|
|
|
|
|
|
|
132
|
|
|
|
|
|
|
|
133
|
|
|
|
|
|
|
=head2 setItemID() |
134
|
|
|
|
|
|
|
|
135
|
|
|
|
|
|
|
The unique identifier of an item listed on the eBay site. |
136
|
|
|
|
|
|
|
For GetAllBidders, an anonymous user ID is returned. |
137
|
|
|
|
|
|
|
|
138
|
|
|
|
|
|
|
Since a bidder's user info is anonymous, this tag will contain the real ID value only for that bidder, and the seller of an item that the user is |
139
|
|
|
|
|
|
|
bidding on. For all other users, the real ID value will be replaced with the anonymous value, according to these rules: |
140
|
|
|
|
|
|
|
|
141
|
|
|
|
|
|
|
When bidding on items listed on the US site: UserID is replaced with the value "a****b" where a and b are random characters from the UserID. For example, if the UserID = IBidALot, it might be displayed as, "I****A". |
142
|
|
|
|
|
|
|
Note that in this format, the anonymous bidder ID stays the same for every auction. |
143
|
|
|
|
|
|
|
|
144
|
|
|
|
|
|
|
(GetMyeBayBuying only) when bidding on items listed on the US site: UserID is replaced with the value "a****b" where a and b are random characters from the UserID. |
145
|
|
|
|
|
|
|
|
146
|
|
|
|
|
|
|
When bidding on items listed on the the UK and AU sites: UserID is replaced with the value "Bidder X" where X is a number indicating the order of that user's first bid. For example, if the user was the third bidder, |
147
|
|
|
|
|
|
|
UserID = Bidder 3. |
148
|
|
|
|
|
|
|
Note that in this format, the anonymous bidder ID stays the same for a given auction, but is different for different auctions. For example, a bidder who is the third and then the seventh bidder in an auction will be listed for both bids as "Bidder 3". However, if that same bidder is the first bidder on a different auction, the bidder will be listed for that auction as "Bidder 1", |
149
|
|
|
|
|
|
|
not "Bidder 3". |
150
|
|
|
|
|
|
|
|
151
|
|
|
|
|
|
|
(GetMyeBayBuying only) when bidding on items listed on the UK and AU sites: UserID is replaced with the string "High Bidder". |
152
|
|
|
|
|
|
|
|
153
|
|
|
|
|
|
|
(GetBestOffers only) - all sites: The last part of the user ID is replaced with asterisks for users that submit best offers on an item. The seller of the item will be able to see the full UserID. |
154
|
|
|
|
|
|
|
See Working with Anonymous User Information in the eBay Web Services Guide for more information. |
155
|
|
|
|
|
|
|
|
156
|
|
|
|
|
|
|
SeeLink: URL: http://developer.ebay.com/DevZone/XML/docs/WebHelp/index.htm?context=eBay_XML_API&topic=AnonymousUserInfo |
157
|
|
|
|
|
|
|
Title: Working with Anonymous User Information |
158
|
|
|
|
|
|
|
|
159
|
|
|
|
|
|
|
# Argument: 'ns:ItemIDType' |
160
|
|
|
|
|
|
|
|
161
|
|
|
|
|
|
|
=cut |
162
|
|
|
|
|
|
|
|
163
|
|
|
|
|
|
|
sub setItemID { |
164
|
|
|
|
|
|
|
my $self = shift; |
165
|
|
|
|
|
|
|
$self->{'ItemID'} = shift |
166
|
|
|
|
|
|
|
} |
167
|
|
|
|
|
|
|
|
168
|
|
|
|
|
|
|
=head2 getItemID() |
169
|
|
|
|
|
|
|
|
170
|
|
|
|
|
|
|
Calls: GetAllBidders |
171
|
|
|
|
|
|
|
Returned: Conditionally |
172
|
|
|
|
|
|
|
|
173
|
|
|
|
|
|
|
# Returns: 'ns:ItemIDType' |
174
|
|
|
|
|
|
|
|
175
|
|
|
|
|
|
|
=cut |
176
|
|
|
|
|
|
|
|
177
|
|
|
|
|
|
|
sub getItemID { |
178
|
|
|
|
|
|
|
my $self = shift; |
179
|
|
|
|
|
|
|
return $self->_getDataTypeInstance( 'ItemID' |
180
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::ItemIDType'); |
181
|
|
|
|
|
|
|
} |
182
|
|
|
|
|
|
|
|
183
|
|
|
|
|
|
|
|
184
|
|
|
|
|
|
|
=head2 setLastBidTime() |
185
|
|
|
|
|
|
|
|
186
|
|
|
|
|
|
|
The time at which the user placed the last bid on the item. |
187
|
|
|
|
|
|
|
|
188
|
|
|
|
|
|
|
# Argument: 'xs:dateTime' |
189
|
|
|
|
|
|
|
|
190
|
|
|
|
|
|
|
=cut |
191
|
|
|
|
|
|
|
|
192
|
|
|
|
|
|
|
sub setLastBidTime { |
193
|
|
|
|
|
|
|
my $self = shift; |
194
|
|
|
|
|
|
|
$self->{'LastBidTime'} = shift |
195
|
|
|
|
|
|
|
} |
196
|
|
|
|
|
|
|
|
197
|
|
|
|
|
|
|
=head2 getLastBidTime() |
198
|
|
|
|
|
|
|
|
199
|
|
|
|
|
|
|
Calls: GetAllBidders |
200
|
|
|
|
|
|
|
Returned: Conditionally |
201
|
|
|
|
|
|
|
|
202
|
|
|
|
|
|
|
# Returns: 'xs:dateTime' |
203
|
|
|
|
|
|
|
|
204
|
|
|
|
|
|
|
=cut |
205
|
|
|
|
|
|
|
|
206
|
|
|
|
|
|
|
sub getLastBidTime { |
207
|
|
|
|
|
|
|
my $self = shift; |
208
|
|
|
|
|
|
|
return $self->{'LastBidTime'}; |
209
|
|
|
|
|
|
|
} |
210
|
|
|
|
|
|
|
|
211
|
|
|
|
|
|
|
|
212
|
|
|
|
|
|
|
=head2 setSellerID() |
213
|
|
|
|
|
|
|
|
214
|
|
|
|
|
|
|
The eBay ID of the seller who listed the item. |
215
|
|
|
|
|
|
|
|
216
|
|
|
|
|
|
|
Starting Jan 2007, when a bidder's user info is made |
217
|
|
|
|
|
|
|
anonymous, this tag will be returned with the anonymous |
218
|
|
|
|
|
|
|
value "Seller X", where X indicates where the seller falls |
219
|
|
|
|
|
|
|
in the sequence of sellers that the user has purchased items |
220
|
|
|
|
|
|
|
from. For example, if the seller is the third seller that |
221
|
|
|
|
|
|
|
the user has purchased items from, the value "Seller 3" is |
222
|
|
|
|
|
|
|
returned. |
223
|
|
|
|
|
|
|
|
224
|
|
|
|
|
|
|
SeeLink: URL: http://developer.ebay.com/DevZone/XML/docs/WebHelp/index.htm?context=eBay_XML_API&topic=AnonymousUserInfo |
225
|
|
|
|
|
|
|
Title: Working with Anonymous User Information |
226
|
|
|
|
|
|
|
|
227
|
|
|
|
|
|
|
# Argument: 'ns:UserIDType' |
228
|
|
|
|
|
|
|
|
229
|
|
|
|
|
|
|
=cut |
230
|
|
|
|
|
|
|
|
231
|
|
|
|
|
|
|
sub setSellerID { |
232
|
|
|
|
|
|
|
my $self = shift; |
233
|
|
|
|
|
|
|
$self->{'SellerID'} = shift |
234
|
|
|
|
|
|
|
} |
235
|
|
|
|
|
|
|
|
236
|
|
|
|
|
|
|
=head2 getSellerID() |
237
|
|
|
|
|
|
|
|
238
|
|
|
|
|
|
|
Calls: GetAllBidders |
239
|
|
|
|
|
|
|
Returned: Conditionally |
240
|
|
|
|
|
|
|
|
241
|
|
|
|
|
|
|
# Returns: 'ns:UserIDType' |
242
|
|
|
|
|
|
|
|
243
|
|
|
|
|
|
|
=cut |
244
|
|
|
|
|
|
|
|
245
|
|
|
|
|
|
|
sub getSellerID { |
246
|
|
|
|
|
|
|
my $self = shift; |
247
|
|
|
|
|
|
|
return $self->_getDataTypeInstance( 'SellerID' |
248
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::UserIDType'); |
249
|
|
|
|
|
|
|
} |
250
|
|
|
|
|
|
|
|
251
|
|
|
|
|
|
|
|
252
|
|
|
|
|
|
|
|
253
|
|
|
|
|
|
|
|
254
|
|
|
|
|
|
|
|
255
|
|
|
|
|
|
|
## Attribute and Property lists |
256
|
|
|
|
|
|
|
sub getPropertiesList { |
257
|
|
|
|
|
|
|
my $self = shift; |
258
|
|
|
|
|
|
|
return \@gaProperties; |
259
|
|
|
|
|
|
|
} |
260
|
|
|
|
|
|
|
|
261
|
|
|
|
|
|
|
sub getAttributesList { |
262
|
|
|
|
|
|
|
my $self = shift; |
263
|
|
|
|
|
|
|
return \@gaAttributes; |
264
|
|
|
|
|
|
|
} |
265
|
|
|
|
|
|
|
|
266
|
|
|
|
|
|
|
|
267
|
|
|
|
|
|
|
|
268
|
|
|
|
|
|
|
1; |