line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
#!/usr/bin/perl |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package eBay::API::XML::Call::VerifyAddSecondChanceItem::VerifyAddSecondChanceItemRequestType; |
4
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
1194
|
use strict; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
29
|
|
6
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
32
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
########################################################################## |
9
|
|
|
|
|
|
|
# |
10
|
|
|
|
|
|
|
# Module: ............... eBay/API/XML |
11
|
|
|
|
|
|
|
# File: ................. VerifyAddSecondChanceItemRequestType.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::VerifyAddSecondChanceItem::VerifyAddSecondChanceItemRequestType |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 DESCRIPTION |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
Simulates the creation of a new Second Chance Offer |
25
|
|
|
|
|
|
|
listing of an item without actually creating a listing. |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
=head1 SYNOPSIS |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
=cut |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=head1 INHERITANCE |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
eBay::API::XML::Call::VerifyAddSecondChanceItem::VerifyAddSecondChanceItemRequestType inherits from the L class |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
=cut |
39
|
|
|
|
|
|
|
|
40
|
1
|
|
|
1
|
|
45
|
use eBay::API::XML::RequestDataType; |
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
our @ISA = ("eBay::API::XML::RequestDataType"); |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
use eBay::API::XML::DataType::AmountType; |
44
|
|
|
|
|
|
|
use eBay::API::XML::DataType::ItemIDType; |
45
|
|
|
|
|
|
|
use eBay::API::XML::DataType::UserIDType; |
46
|
|
|
|
|
|
|
use eBay::API::XML::DataType::Enum::SecondChanceOfferDurationCodeType; |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
my @gaProperties = ( [ 'BuyItNowPrice', 'ns:AmountType', '' |
50
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::AmountType', '1' ] |
51
|
|
|
|
|
|
|
, [ 'Duration', 'ns:SecondChanceOfferDurationCodeType', '' |
52
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::Enum::SecondChanceOfferDurationCodeType', '' ] |
53
|
|
|
|
|
|
|
, [ 'ItemID', 'ns:ItemIDType', '' |
54
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::ItemIDType', '1' ] |
55
|
|
|
|
|
|
|
, [ 'RecipientBidderUserID', 'ns:UserIDType', '' |
56
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::UserIDType', '1' ] |
57
|
|
|
|
|
|
|
, [ 'SellerMessage', 'xs:string', '', '', '' ] |
58
|
|
|
|
|
|
|
); |
59
|
|
|
|
|
|
|
push @gaProperties, @{eBay::API::XML::RequestDataType::getPropertiesList()}; |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
my @gaAttributes = ( |
62
|
|
|
|
|
|
|
); |
63
|
|
|
|
|
|
|
push @gaAttributes, @{eBay::API::XML::RequestDataType::getAttributesList()}; |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
=head1 Subroutines: |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
=cut |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
sub new { |
70
|
|
|
|
|
|
|
my $classname = shift; |
71
|
|
|
|
|
|
|
my %args = @_; |
72
|
|
|
|
|
|
|
my $self = $classname->SUPER::new(%args); |
73
|
|
|
|
|
|
|
return $self; |
74
|
|
|
|
|
|
|
} |
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
sub isScalar { |
77
|
|
|
|
|
|
|
return 0; |
78
|
|
|
|
|
|
|
} |
79
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
=head2 setBuyItNowPrice() |
83
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
Specifies the amount the offer recipient must pay to purchase the item |
85
|
|
|
|
|
|
|
from the second chance offer listing. Use only when the original item was |
86
|
|
|
|
|
|
|
an eBay Motors (or in some categories on U.S. and international sites for |
87
|
|
|
|
|
|
|
high-priced items, such as items in many U.S. and Canada Business and |
88
|
|
|
|
|
|
|
Industrial categories) and it ended unsold because the reserve price was |
89
|
|
|
|
|
|
|
not met. Call fails with an error for any other item conditions. |
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
RequiredInput: No |
92
|
|
|
|
|
|
|
# Argument: 'ns:AmountType' |
93
|
|
|
|
|
|
|
|
94
|
|
|
|
|
|
|
=cut |
95
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
sub setBuyItNowPrice { |
97
|
|
|
|
|
|
|
my $self = shift; |
98
|
|
|
|
|
|
|
$self->{'BuyItNowPrice'} = shift |
99
|
|
|
|
|
|
|
} |
100
|
|
|
|
|
|
|
|
101
|
|
|
|
|
|
|
=head2 getBuyItNowPrice() |
102
|
|
|
|
|
|
|
|
103
|
|
|
|
|
|
|
# Returns: 'ns:AmountType' |
104
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
=cut |
106
|
|
|
|
|
|
|
|
107
|
|
|
|
|
|
|
sub getBuyItNowPrice { |
108
|
|
|
|
|
|
|
my $self = shift; |
109
|
|
|
|
|
|
|
return $self->_getDataTypeInstance( 'BuyItNowPrice' |
110
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::AmountType'); |
111
|
|
|
|
|
|
|
} |
112
|
|
|
|
|
|
|
|
113
|
|
|
|
|
|
|
|
114
|
|
|
|
|
|
|
=head2 setDuration() |
115
|
|
|
|
|
|
|
|
116
|
|
|
|
|
|
|
Specifies the length of time the second chance offer listing will be |
117
|
|
|
|
|
|
|
active. The recipient bidder has that much time to purchase the item or |
118
|
|
|
|
|
|
|
the listing expires. |
119
|
|
|
|
|
|
|
|
120
|
|
|
|
|
|
|
RequiredInput: Yes |
121
|
|
|
|
|
|
|
# Argument: 'ns:SecondChanceOfferDurationCodeType' |
122
|
|
|
|
|
|
|
|
123
|
|
|
|
|
|
|
=cut |
124
|
|
|
|
|
|
|
|
125
|
|
|
|
|
|
|
sub setDuration { |
126
|
|
|
|
|
|
|
my $self = shift; |
127
|
|
|
|
|
|
|
$self->{'Duration'} = shift |
128
|
|
|
|
|
|
|
} |
129
|
|
|
|
|
|
|
|
130
|
|
|
|
|
|
|
=head2 getDuration() |
131
|
|
|
|
|
|
|
|
132
|
|
|
|
|
|
|
# Returns: 'ns:SecondChanceOfferDurationCodeType' |
133
|
|
|
|
|
|
|
|
134
|
|
|
|
|
|
|
=cut |
135
|
|
|
|
|
|
|
|
136
|
|
|
|
|
|
|
sub getDuration { |
137
|
|
|
|
|
|
|
my $self = shift; |
138
|
|
|
|
|
|
|
return $self->{'Duration'}; |
139
|
|
|
|
|
|
|
} |
140
|
|
|
|
|
|
|
|
141
|
|
|
|
|
|
|
|
142
|
|
|
|
|
|
|
=head2 setItemID() |
143
|
|
|
|
|
|
|
|
144
|
|
|
|
|
|
|
Specifies the item ID for the original, ended listing from which the |
145
|
|
|
|
|
|
|
second chance offer item comes. A new ItemID is returned for the second |
146
|
|
|
|
|
|
|
chance offer item. |
147
|
|
|
|
|
|
|
|
148
|
|
|
|
|
|
|
MaxLength: 19 (Note: The eBay database specifies 38. Currently, Item IDs are usually 9 to 12 digits) |
149
|
|
|
|
|
|
|
|
150
|
|
|
|
|
|
|
RequiredInput: Yes |
151
|
|
|
|
|
|
|
# Argument: 'ns:ItemIDType' |
152
|
|
|
|
|
|
|
|
153
|
|
|
|
|
|
|
=cut |
154
|
|
|
|
|
|
|
|
155
|
|
|
|
|
|
|
sub setItemID { |
156
|
|
|
|
|
|
|
my $self = shift; |
157
|
|
|
|
|
|
|
$self->{'ItemID'} = shift |
158
|
|
|
|
|
|
|
} |
159
|
|
|
|
|
|
|
|
160
|
|
|
|
|
|
|
=head2 getItemID() |
161
|
|
|
|
|
|
|
|
162
|
|
|
|
|
|
|
# Returns: 'ns:ItemIDType' |
163
|
|
|
|
|
|
|
|
164
|
|
|
|
|
|
|
=cut |
165
|
|
|
|
|
|
|
|
166
|
|
|
|
|
|
|
sub getItemID { |
167
|
|
|
|
|
|
|
my $self = shift; |
168
|
|
|
|
|
|
|
return $self->_getDataTypeInstance( 'ItemID' |
169
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::ItemIDType'); |
170
|
|
|
|
|
|
|
} |
171
|
|
|
|
|
|
|
|
172
|
|
|
|
|
|
|
|
173
|
|
|
|
|
|
|
=head2 setRecipientBidderUserID() |
174
|
|
|
|
|
|
|
|
175
|
|
|
|
|
|
|
Specifies the bidder from the original, ended listing to whom the seller |
176
|
|
|
|
|
|
|
is extending the second chance offer. Specify only one |
177
|
|
|
|
|
|
|
RecipientBidderUserID per call. If multiple users are specified (each in a |
178
|
|
|
|
|
|
|
RecipientBidderUserID node), only the last one specified receives the |
179
|
|
|
|
|
|
|
offer. |
180
|
|
|
|
|
|
|
|
181
|
|
|
|
|
|
|
RequiredInput: Yes |
182
|
|
|
|
|
|
|
# Argument: 'ns:UserIDType' |
183
|
|
|
|
|
|
|
|
184
|
|
|
|
|
|
|
=cut |
185
|
|
|
|
|
|
|
|
186
|
|
|
|
|
|
|
sub setRecipientBidderUserID { |
187
|
|
|
|
|
|
|
my $self = shift; |
188
|
|
|
|
|
|
|
$self->{'RecipientBidderUserID'} = shift |
189
|
|
|
|
|
|
|
} |
190
|
|
|
|
|
|
|
|
191
|
|
|
|
|
|
|
=head2 getRecipientBidderUserID() |
192
|
|
|
|
|
|
|
|
193
|
|
|
|
|
|
|
# Returns: 'ns:UserIDType' |
194
|
|
|
|
|
|
|
|
195
|
|
|
|
|
|
|
=cut |
196
|
|
|
|
|
|
|
|
197
|
|
|
|
|
|
|
sub getRecipientBidderUserID { |
198
|
|
|
|
|
|
|
my $self = shift; |
199
|
|
|
|
|
|
|
return $self->_getDataTypeInstance( 'RecipientBidderUserID' |
200
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::UserIDType'); |
201
|
|
|
|
|
|
|
} |
202
|
|
|
|
|
|
|
|
203
|
|
|
|
|
|
|
|
204
|
|
|
|
|
|
|
=head2 setSellerMessage() |
205
|
|
|
|
|
|
|
|
206
|
|
|
|
|
|
|
Message content. Cannot contain HTML, asterisks, or quotes. This content |
207
|
|
|
|
|
|
|
is included in the second chance offer email sent to the recipient, which |
208
|
|
|
|
|
|
|
can be retrieved with GetMyMessages. |
209
|
|
|
|
|
|
|
|
210
|
|
|
|
|
|
|
MaxLength: 1000 |
211
|
|
|
|
|
|
|
|
212
|
|
|
|
|
|
|
RequiredInput: No |
213
|
|
|
|
|
|
|
# Argument: 'xs:string' |
214
|
|
|
|
|
|
|
|
215
|
|
|
|
|
|
|
=cut |
216
|
|
|
|
|
|
|
|
217
|
|
|
|
|
|
|
sub setSellerMessage { |
218
|
|
|
|
|
|
|
my $self = shift; |
219
|
|
|
|
|
|
|
$self->{'SellerMessage'} = shift |
220
|
|
|
|
|
|
|
} |
221
|
|
|
|
|
|
|
|
222
|
|
|
|
|
|
|
=head2 getSellerMessage() |
223
|
|
|
|
|
|
|
|
224
|
|
|
|
|
|
|
# Returns: 'xs:string' |
225
|
|
|
|
|
|
|
|
226
|
|
|
|
|
|
|
=cut |
227
|
|
|
|
|
|
|
|
228
|
|
|
|
|
|
|
sub getSellerMessage { |
229
|
|
|
|
|
|
|
my $self = shift; |
230
|
|
|
|
|
|
|
return $self->{'SellerMessage'}; |
231
|
|
|
|
|
|
|
} |
232
|
|
|
|
|
|
|
|
233
|
|
|
|
|
|
|
|
234
|
|
|
|
|
|
|
|
235
|
|
|
|
|
|
|
|
236
|
|
|
|
|
|
|
|
237
|
|
|
|
|
|
|
## Attribute and Property lists |
238
|
|
|
|
|
|
|
sub getPropertiesList { |
239
|
|
|
|
|
|
|
my $self = shift; |
240
|
|
|
|
|
|
|
return \@gaProperties; |
241
|
|
|
|
|
|
|
} |
242
|
|
|
|
|
|
|
|
243
|
|
|
|
|
|
|
sub getAttributesList { |
244
|
|
|
|
|
|
|
my $self = shift; |
245
|
|
|
|
|
|
|
return \@gaAttributes; |
246
|
|
|
|
|
|
|
} |
247
|
|
|
|
|
|
|
|
248
|
|
|
|
|
|
|
|
249
|
|
|
|
|
|
|
|
250
|
|
|
|
|
|
|
1; |