line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
#!/usr/bin/perl |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package eBay::API::XML::Call::GetBidderList; |
4
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
2248
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
24
|
|
6
|
1
|
|
|
1
|
|
4
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
24
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
########################################################################## |
9
|
|
|
|
|
|
|
# |
10
|
|
|
|
|
|
|
# Module: ............... eBay/API/XML |
11
|
|
|
|
|
|
|
# File: ................. GetBidderList.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::GetBidderList |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 DESCRIPTION |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
=head1 SYNOPSIS |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=cut |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
=head1 INHERITANCE |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
eBay::API::XML::Call::GetBidderList inherits from the L class |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
=cut |
36
|
|
|
|
|
|
|
|
37
|
1
|
|
|
1
|
|
44
|
use eBay::API::XML::BaseCall; |
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
our @ISA = ("eBay::API::XML::BaseCall"); |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
use eBay::API::XML::Call::GetBidderList::GetBidderListRequestType; |
41
|
|
|
|
|
|
|
use eBay::API::XML::Call::GetBidderList::GetBidderListResponseType; |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=head1 Subroutines: |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
=cut |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
sub getApiCallName { |
49
|
|
|
|
|
|
|
return 'GetBidderList'; |
50
|
|
|
|
|
|
|
} |
51
|
|
|
|
|
|
|
sub getRequestDataTypeFullPackage { |
52
|
|
|
|
|
|
|
return 'eBay::API::XML::Call::GetBidderList::GetBidderListRequestType'; |
53
|
|
|
|
|
|
|
} |
54
|
|
|
|
|
|
|
sub getResponseDataTypeFullPackage { |
55
|
|
|
|
|
|
|
return 'eBay::API::XML::Call::GetBidderList::GetBidderListResponseType'; |
56
|
|
|
|
|
|
|
} |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
# |
59
|
|
|
|
|
|
|
# input properties |
60
|
|
|
|
|
|
|
# |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
=head2 setActiveItemsOnly() |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
Indicates whether to limit the result set to active items. |
65
|
|
|
|
|
|
|
If true, only active items are returned and the EndTimeFrom |
66
|
|
|
|
|
|
|
and EndTimeTo filters are ignored. If false (or not sent), |
67
|
|
|
|
|
|
|
active and ended items are returned. |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
RequiredInput: No |
70
|
|
|
|
|
|
|
# Argument: 'xs:boolean' |
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
=cut |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
sub setActiveItemsOnly { |
75
|
|
|
|
|
|
|
my $self = shift; |
76
|
|
|
|
|
|
|
my $sActiveItemsOnly = shift; |
77
|
|
|
|
|
|
|
$self->getRequestDataType()->setActiveItemsOnly($sActiveItemsOnly); |
78
|
|
|
|
|
|
|
} |
79
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
=head2 setEndTimeFrom() |
81
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
Limits returned items to only those for which the item's |
83
|
|
|
|
|
|
|
end date is on or after the date-time specified. Specify an |
84
|
|
|
|
|
|
|
end date within 30 days prior to today. Items that ended |
85
|
|
|
|
|
|
|
more than 30 days ago are omitted from the results. If |
86
|
|
|
|
|
|
|
specified, EndTimeTo must also be specified. Express |
87
|
|
|
|
|
|
|
date-time in the format YYYY-MM-DD HH:MM:SS, and in GMT. |
88
|
|
|
|
|
|
|
(For information on how to convert between your local time zone |
89
|
|
|
|
|
|
|
and GMT, see Time Values Note.) This field is ignored if ActiveItemsOnly is true. |
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
RequiredInput: Conditionally |
92
|
|
|
|
|
|
|
# Argument: 'xs:dateTime' |
93
|
|
|
|
|
|
|
|
94
|
|
|
|
|
|
|
=cut |
95
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
sub setEndTimeFrom { |
97
|
|
|
|
|
|
|
my $self = shift; |
98
|
|
|
|
|
|
|
my $sEndTimeFrom = shift; |
99
|
|
|
|
|
|
|
$self->getRequestDataType()->setEndTimeFrom($sEndTimeFrom); |
100
|
|
|
|
|
|
|
} |
101
|
|
|
|
|
|
|
|
102
|
|
|
|
|
|
|
=head2 setEndTimeTo() |
103
|
|
|
|
|
|
|
|
104
|
|
|
|
|
|
|
Limits returned items to only those for which the item's |
105
|
|
|
|
|
|
|
end date is on or before the date-time specified. If |
106
|
|
|
|
|
|
|
specified, EndTimeFrom must also be specified. Express |
107
|
|
|
|
|
|
|
date-time in the format YYYY-MM-DD HH:MM:SS, and in GMT. |
108
|
|
|
|
|
|
|
This field is ignored if ActiveItemsOnly is true. |
109
|
|
|
|
|
|
|
|
110
|
|
|
|
|
|
|
RequiredInput: Conditionally |
111
|
|
|
|
|
|
|
# Argument: 'xs:dateTime' |
112
|
|
|
|
|
|
|
|
113
|
|
|
|
|
|
|
=cut |
114
|
|
|
|
|
|
|
|
115
|
|
|
|
|
|
|
sub setEndTimeTo { |
116
|
|
|
|
|
|
|
my $self = shift; |
117
|
|
|
|
|
|
|
my $sEndTimeTo = shift; |
118
|
|
|
|
|
|
|
$self->getRequestDataType()->setEndTimeTo($sEndTimeTo); |
119
|
|
|
|
|
|
|
} |
120
|
|
|
|
|
|
|
|
121
|
|
|
|
|
|
|
=head2 setGranularityLevel() |
122
|
|
|
|
|
|
|
|
123
|
|
|
|
|
|
|
For GetBidderList, you can reduce the ItemType fields and other fields returned |
124
|
|
|
|
|
|
|
by specifying one of two values in the GranularityLevel field, Coarse or Medium. |
125
|
|
|
|
|
|
|
If you specify Coarse, the primary fields returned are the following: Item.ItemID and Item.ListingDetails.EndTime. If you specify Medium, an abbreviated result set is returned |
126
|
|
|
|
|
|
|
that includes many more fields than in the case of Coarse, including the following: |
127
|
|
|
|
|
|
|
Item.BuyItNowPrice, Item.Currency, Item.Site, and Item.Title. |
128
|
|
|
|
|
|
|
|
129
|
|
|
|
|
|
|
PresentDetails: Yes |
130
|
|
|
|
|
|
|
|
131
|
|
|
|
|
|
|
RequiredInput: No |
132
|
|
|
|
|
|
|
# Argument: 'ns:GranularityLevelCodeType' |
133
|
|
|
|
|
|
|
|
134
|
|
|
|
|
|
|
=cut |
135
|
|
|
|
|
|
|
|
136
|
|
|
|
|
|
|
sub setGranularityLevel { |
137
|
|
|
|
|
|
|
my $self = shift; |
138
|
|
|
|
|
|
|
my $sGranularityLevel = shift; |
139
|
|
|
|
|
|
|
$self->getRequestDataType()->setGranularityLevel($sGranularityLevel); |
140
|
|
|
|
|
|
|
} |
141
|
|
|
|
|
|
|
|
142
|
|
|
|
|
|
|
=head2 setUserID() |
143
|
|
|
|
|
|
|
|
144
|
|
|
|
|
|
|
The user for whom information should be returned. If |
145
|
|
|
|
|
|
|
provided, overrides user defined via RequesterCredentials |
146
|
|
|
|
|
|
|
in header. |
147
|
|
|
|
|
|
|
|
148
|
|
|
|
|
|
|
RequiredInput: No |
149
|
|
|
|
|
|
|
# Argument: 'ns:UserIDType' |
150
|
|
|
|
|
|
|
|
151
|
|
|
|
|
|
|
=cut |
152
|
|
|
|
|
|
|
|
153
|
|
|
|
|
|
|
sub setUserID { |
154
|
|
|
|
|
|
|
my $self = shift; |
155
|
|
|
|
|
|
|
my $pUserID = shift; |
156
|
|
|
|
|
|
|
$self->getRequestDataType()->setUserID($pUserID); |
157
|
|
|
|
|
|
|
} |
158
|
|
|
|
|
|
|
|
159
|
|
|
|
|
|
|
|
160
|
|
|
|
|
|
|
|
161
|
|
|
|
|
|
|
# |
162
|
|
|
|
|
|
|
# output properties |
163
|
|
|
|
|
|
|
# |
164
|
|
|
|
|
|
|
|
165
|
|
|
|
|
|
|
=head2 getBidItemArray() |
166
|
|
|
|
|
|
|
|
167
|
|
|
|
|
|
|
Array of items the bidder has bid on, has won or has lost. |
168
|
|
|
|
|
|
|
|
169
|
|
|
|
|
|
|
Returned: Always |
170
|
|
|
|
|
|
|
# Returns: 'ns:ItemArrayType' |
171
|
|
|
|
|
|
|
|
172
|
|
|
|
|
|
|
=cut |
173
|
|
|
|
|
|
|
|
174
|
|
|
|
|
|
|
sub getBidItemArray { |
175
|
|
|
|
|
|
|
my $self = shift; |
176
|
|
|
|
|
|
|
return $self->getResponseDataType()->getBidItemArray(); |
177
|
|
|
|
|
|
|
} |
178
|
|
|
|
|
|
|
|
179
|
|
|
|
|
|
|
=head2 getBidder() |
180
|
|
|
|
|
|
|
|
181
|
|
|
|
|
|
|
Data for one eBay bidder. |
182
|
|
|
|
|
|
|
|
183
|
|
|
|
|
|
|
Returned: Always |
184
|
|
|
|
|
|
|
# Returns: 'ns:UserType' |
185
|
|
|
|
|
|
|
|
186
|
|
|
|
|
|
|
=cut |
187
|
|
|
|
|
|
|
|
188
|
|
|
|
|
|
|
sub getBidder { |
189
|
|
|
|
|
|
|
my $self = shift; |
190
|
|
|
|
|
|
|
return $self->getResponseDataType()->getBidder(); |
191
|
|
|
|
|
|
|
} |
192
|
|
|
|
|
|
|
|
193
|
|
|
|
|
|
|
|
194
|
|
|
|
|
|
|
|
195
|
|
|
|
|
|
|
|
196
|
|
|
|
|
|
|
|
197
|
|
|
|
|
|
|
1; |