line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
#!/usr/bin/perl |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package eBay::API::XML::DataType::BidApprovalType; |
4
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
1436
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
50
|
|
6
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
35
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
########################################################################## |
9
|
|
|
|
|
|
|
# |
10
|
|
|
|
|
|
|
# Module: ............... eBay/API/XML |
11
|
|
|
|
|
|
|
# File: ................. BidApprovalType.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::BidApprovalType |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 DESCRIPTION |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
Information that a Live Auction seller selects when approving or denying |
25
|
|
|
|
|
|
|
a user who wants to bid on items in the seller's Live Auctions catalog. |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
=head1 SYNOPSIS |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
=cut |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=head1 INHERITANCE |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
eBay::API::XML::DataType::BidApprovalType inherits from the L class |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
=cut |
39
|
|
|
|
|
|
|
|
40
|
1
|
|
|
1
|
|
37
|
use eBay::API::XML::BaseDataType; |
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
our @ISA = ("eBay::API::XML::BaseDataType"); |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
use eBay::API::XML::DataType::AmountType; |
44
|
|
|
|
|
|
|
use eBay::API::XML::DataType::UserIDType; |
45
|
|
|
|
|
|
|
use eBay::API::XML::DataType::Enum::BidderStatusCodeType; |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
my @gaProperties = ( [ 'ApprovedBiddingLimit', 'ns:AmountType', '' |
49
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::AmountType', '1' ] |
50
|
|
|
|
|
|
|
, [ 'DeclinedComment', 'xs:string', '', '', '' ] |
51
|
|
|
|
|
|
|
, [ 'Status', 'ns:BidderStatusCodeType', '' |
52
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::Enum::BidderStatusCodeType', '' ] |
53
|
|
|
|
|
|
|
, [ 'UserID', 'ns:UserIDType', '' |
54
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::UserIDType', '1' ] |
55
|
|
|
|
|
|
|
); |
56
|
|
|
|
|
|
|
push @gaProperties, @{eBay::API::XML::BaseDataType::getPropertiesList()}; |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
my @gaAttributes = ( |
59
|
|
|
|
|
|
|
); |
60
|
|
|
|
|
|
|
push @gaAttributes, @{eBay::API::XML::BaseDataType::getAttributesList()}; |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
=head1 Subroutines: |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
=cut |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
sub new { |
67
|
|
|
|
|
|
|
my $classname = shift; |
68
|
|
|
|
|
|
|
my %args = @_; |
69
|
|
|
|
|
|
|
my $self = $classname->SUPER::new(%args); |
70
|
|
|
|
|
|
|
return $self; |
71
|
|
|
|
|
|
|
} |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
sub isScalar { |
74
|
|
|
|
|
|
|
return 0; |
75
|
|
|
|
|
|
|
} |
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
=head2 setApprovedBiddingLimit() |
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
Maximum amount that the seller will allow the specified user to bid. |
82
|
|
|
|
|
|
|
This field is required if the auction house has requested that the |
83
|
|
|
|
|
|
|
bidder enter an amount for the seller's approval. (The bidder requests |
84
|
|
|
|
|
|
|
a maximum bidding limit, but the seller can specify a different maximum |
85
|
|
|
|
|
|
|
bidding limit.) |
86
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
Calls: ApproveLiveAuctionBidders |
88
|
|
|
|
|
|
|
RequiredInput: Conditionally |
89
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
# Argument: 'ns:AmountType' |
91
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
=cut |
93
|
|
|
|
|
|
|
|
94
|
|
|
|
|
|
|
sub setApprovedBiddingLimit { |
95
|
|
|
|
|
|
|
my $self = shift; |
96
|
|
|
|
|
|
|
$self->{'ApprovedBiddingLimit'} = shift |
97
|
|
|
|
|
|
|
} |
98
|
|
|
|
|
|
|
|
99
|
|
|
|
|
|
|
=head2 getApprovedBiddingLimit() |
100
|
|
|
|
|
|
|
|
101
|
|
|
|
|
|
|
# Returns: 'ns:AmountType' |
102
|
|
|
|
|
|
|
|
103
|
|
|
|
|
|
|
=cut |
104
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
sub getApprovedBiddingLimit { |
106
|
|
|
|
|
|
|
my $self = shift; |
107
|
|
|
|
|
|
|
return $self->_getDataTypeInstance( 'ApprovedBiddingLimit' |
108
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::AmountType'); |
109
|
|
|
|
|
|
|
} |
110
|
|
|
|
|
|
|
|
111
|
|
|
|
|
|
|
|
112
|
|
|
|
|
|
|
=head2 setDeclinedComment() |
113
|
|
|
|
|
|
|
|
114
|
|
|
|
|
|
|
Comments entered by seller when an approval request is denied. |
115
|
|
|
|
|
|
|
This is required if the seller sets Status to Denied. |
116
|
|
|
|
|
|
|
|
117
|
|
|
|
|
|
|
Calls: ApproveLiveAuctionBidders |
118
|
|
|
|
|
|
|
RequiredInput: Conditionally |
119
|
|
|
|
|
|
|
|
120
|
|
|
|
|
|
|
# Argument: 'xs:string' |
121
|
|
|
|
|
|
|
|
122
|
|
|
|
|
|
|
=cut |
123
|
|
|
|
|
|
|
|
124
|
|
|
|
|
|
|
sub setDeclinedComment { |
125
|
|
|
|
|
|
|
my $self = shift; |
126
|
|
|
|
|
|
|
$self->{'DeclinedComment'} = shift |
127
|
|
|
|
|
|
|
} |
128
|
|
|
|
|
|
|
|
129
|
|
|
|
|
|
|
=head2 getDeclinedComment() |
130
|
|
|
|
|
|
|
|
131
|
|
|
|
|
|
|
# Returns: 'xs:string' |
132
|
|
|
|
|
|
|
|
133
|
|
|
|
|
|
|
=cut |
134
|
|
|
|
|
|
|
|
135
|
|
|
|
|
|
|
sub getDeclinedComment { |
136
|
|
|
|
|
|
|
my $self = shift; |
137
|
|
|
|
|
|
|
return $self->{'DeclinedComment'}; |
138
|
|
|
|
|
|
|
} |
139
|
|
|
|
|
|
|
|
140
|
|
|
|
|
|
|
|
141
|
|
|
|
|
|
|
=head2 setStatus() |
142
|
|
|
|
|
|
|
|
143
|
|
|
|
|
|
|
Indicates whether the seller approves or denies the bidder's |
144
|
|
|
|
|
|
|
approval request. |
145
|
|
|
|
|
|
|
|
146
|
|
|
|
|
|
|
Calls: ApproveLiveAuctionBidders |
147
|
|
|
|
|
|
|
RequiredInput: Yes |
148
|
|
|
|
|
|
|
AllValuesExcept: Pending |
149
|
|
|
|
|
|
|
|
150
|
|
|
|
|
|
|
# Argument: 'ns:BidderStatusCodeType' |
151
|
|
|
|
|
|
|
|
152
|
|
|
|
|
|
|
=cut |
153
|
|
|
|
|
|
|
|
154
|
|
|
|
|
|
|
sub setStatus { |
155
|
|
|
|
|
|
|
my $self = shift; |
156
|
|
|
|
|
|
|
$self->{'Status'} = shift |
157
|
|
|
|
|
|
|
} |
158
|
|
|
|
|
|
|
|
159
|
|
|
|
|
|
|
=head2 getStatus() |
160
|
|
|
|
|
|
|
|
161
|
|
|
|
|
|
|
# Returns: 'ns:BidderStatusCodeType' |
162
|
|
|
|
|
|
|
|
163
|
|
|
|
|
|
|
=cut |
164
|
|
|
|
|
|
|
|
165
|
|
|
|
|
|
|
sub getStatus { |
166
|
|
|
|
|
|
|
my $self = shift; |
167
|
|
|
|
|
|
|
return $self->{'Status'}; |
168
|
|
|
|
|
|
|
} |
169
|
|
|
|
|
|
|
|
170
|
|
|
|
|
|
|
|
171
|
|
|
|
|
|
|
=head2 setUserID() |
172
|
|
|
|
|
|
|
|
173
|
|
|
|
|
|
|
User ID for the bidder to be approved. |
174
|
|
|
|
|
|
|
Only bidders who have requested approval can be approved. |
175
|
|
|
|
|
|
|
That is, the seller cannot approve a bidder who has not |
176
|
|
|
|
|
|
|
requested approval. |
177
|
|
|
|
|
|
|
(Bidders request approval via the eBay Live Auctions |
178
|
|
|
|
|
|
|
Web site UI.) |
179
|
|
|
|
|
|
|
When you are approving bidders, if you pass in multiple |
180
|
|
|
|
|
|
|
BidApproval entries with duplicate UserID values, |
181
|
|
|
|
|
|
|
the last entry with that UserID takes precedence (and the earlier |
182
|
|
|
|
|
|
|
duplicate UserID entries are ignored). |
183
|
|
|
|
|
|
|
|
184
|
|
|
|
|
|
|
Calls: ApproveLiveAuctionBidders |
185
|
|
|
|
|
|
|
RequiredInput: Yes |
186
|
|
|
|
|
|
|
|
187
|
|
|
|
|
|
|
# Argument: 'ns:UserIDType' |
188
|
|
|
|
|
|
|
|
189
|
|
|
|
|
|
|
=cut |
190
|
|
|
|
|
|
|
|
191
|
|
|
|
|
|
|
sub setUserID { |
192
|
|
|
|
|
|
|
my $self = shift; |
193
|
|
|
|
|
|
|
$self->{'UserID'} = shift |
194
|
|
|
|
|
|
|
} |
195
|
|
|
|
|
|
|
|
196
|
|
|
|
|
|
|
=head2 getUserID() |
197
|
|
|
|
|
|
|
|
198
|
|
|
|
|
|
|
# Returns: 'ns:UserIDType' |
199
|
|
|
|
|
|
|
|
200
|
|
|
|
|
|
|
=cut |
201
|
|
|
|
|
|
|
|
202
|
|
|
|
|
|
|
sub getUserID { |
203
|
|
|
|
|
|
|
my $self = shift; |
204
|
|
|
|
|
|
|
return $self->_getDataTypeInstance( 'UserID' |
205
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::UserIDType'); |
206
|
|
|
|
|
|
|
} |
207
|
|
|
|
|
|
|
|
208
|
|
|
|
|
|
|
|
209
|
|
|
|
|
|
|
|
210
|
|
|
|
|
|
|
|
211
|
|
|
|
|
|
|
|
212
|
|
|
|
|
|
|
## Attribute and Property lists |
213
|
|
|
|
|
|
|
sub getPropertiesList { |
214
|
|
|
|
|
|
|
my $self = shift; |
215
|
|
|
|
|
|
|
return \@gaProperties; |
216
|
|
|
|
|
|
|
} |
217
|
|
|
|
|
|
|
|
218
|
|
|
|
|
|
|
sub getAttributesList { |
219
|
|
|
|
|
|
|
my $self = shift; |
220
|
|
|
|
|
|
|
return \@gaAttributes; |
221
|
|
|
|
|
|
|
} |
222
|
|
|
|
|
|
|
|
223
|
|
|
|
|
|
|
|
224
|
|
|
|
|
|
|
|
225
|
|
|
|
|
|
|
1; |