line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
#!/usr/bin/perl |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package eBay::API::XML::Call::VerifyAddSecondChanceItem; |
4
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
2123
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
34
|
|
6
|
1
|
|
|
1
|
|
8
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
31
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
########################################################################## |
9
|
|
|
|
|
|
|
# |
10
|
|
|
|
|
|
|
# Module: ............... eBay/API/XML |
11
|
|
|
|
|
|
|
# File: ................. VerifyAddSecondChanceItem.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 |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 DESCRIPTION |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
=head1 SYNOPSIS |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=cut |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
=head1 INHERITANCE |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
eBay::API::XML::Call::VerifyAddSecondChanceItem inherits from the L class |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
=cut |
36
|
|
|
|
|
|
|
|
37
|
1
|
|
|
1
|
|
36
|
use eBay::API::XML::BaseCall; |
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
our @ISA = ("eBay::API::XML::BaseCall"); |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
use eBay::API::XML::Call::VerifyAddSecondChanceItem::VerifyAddSecondChanceItemRequestType; |
41
|
|
|
|
|
|
|
use eBay::API::XML::Call::VerifyAddSecondChanceItem::VerifyAddSecondChanceItemResponseType; |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=head1 Subroutines: |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
=cut |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
sub getApiCallName { |
49
|
|
|
|
|
|
|
return 'VerifyAddSecondChanceItem'; |
50
|
|
|
|
|
|
|
} |
51
|
|
|
|
|
|
|
sub getRequestDataTypeFullPackage { |
52
|
|
|
|
|
|
|
return 'eBay::API::XML::Call::VerifyAddSecondChanceItem::VerifyAddSecondChanceItemRequestType'; |
53
|
|
|
|
|
|
|
} |
54
|
|
|
|
|
|
|
sub getResponseDataTypeFullPackage { |
55
|
|
|
|
|
|
|
return 'eBay::API::XML::Call::VerifyAddSecondChanceItem::VerifyAddSecondChanceItemResponseType'; |
56
|
|
|
|
|
|
|
} |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
# |
59
|
|
|
|
|
|
|
# input properties |
60
|
|
|
|
|
|
|
# |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
=head2 setBuyItNowPrice() |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
Specifies the amount the offer recipient must pay to purchase the item |
65
|
|
|
|
|
|
|
from the second chance offer listing. Use only when the original item was |
66
|
|
|
|
|
|
|
an eBay Motors (or in some categories on U.S. and international sites for |
67
|
|
|
|
|
|
|
high-priced items, such as items in many U.S. and Canada Business and |
68
|
|
|
|
|
|
|
Industrial categories) and it ended unsold because the reserve price was |
69
|
|
|
|
|
|
|
not met. Call fails with an error for any other item conditions. |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
RequiredInput: No |
72
|
|
|
|
|
|
|
# Argument: 'ns:AmountType' |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
=cut |
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
sub setBuyItNowPrice { |
77
|
|
|
|
|
|
|
my $self = shift; |
78
|
|
|
|
|
|
|
my $pBuyItNowPrice = shift; |
79
|
|
|
|
|
|
|
$self->getRequestDataType()->setBuyItNowPrice($pBuyItNowPrice); |
80
|
|
|
|
|
|
|
} |
81
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
=head2 setDuration() |
83
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
Specifies the length of time the second chance offer listing will be |
85
|
|
|
|
|
|
|
active. The recipient bidder has that much time to purchase the item or |
86
|
|
|
|
|
|
|
the listing expires. |
87
|
|
|
|
|
|
|
|
88
|
|
|
|
|
|
|
RequiredInput: Yes |
89
|
|
|
|
|
|
|
# Argument: 'ns:SecondChanceOfferDurationCodeType' |
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
=cut |
92
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
sub setDuration { |
94
|
|
|
|
|
|
|
my $self = shift; |
95
|
|
|
|
|
|
|
my $sDuration = shift; |
96
|
|
|
|
|
|
|
$self->getRequestDataType()->setDuration($sDuration); |
97
|
|
|
|
|
|
|
} |
98
|
|
|
|
|
|
|
|
99
|
|
|
|
|
|
|
=head2 setItemID() |
100
|
|
|
|
|
|
|
|
101
|
|
|
|
|
|
|
Specifies the item ID for the original, ended listing from which the |
102
|
|
|
|
|
|
|
second chance offer item comes. A new ItemID is returned for the second |
103
|
|
|
|
|
|
|
chance offer item. |
104
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
MaxLength: 19 (Note: The eBay database specifies 38. Currently, Item IDs are usually 9 to 12 digits) |
106
|
|
|
|
|
|
|
|
107
|
|
|
|
|
|
|
RequiredInput: Yes |
108
|
|
|
|
|
|
|
# Argument: 'ns:ItemIDType' |
109
|
|
|
|
|
|
|
|
110
|
|
|
|
|
|
|
=cut |
111
|
|
|
|
|
|
|
|
112
|
|
|
|
|
|
|
sub setItemID { |
113
|
|
|
|
|
|
|
my $self = shift; |
114
|
|
|
|
|
|
|
my $pItemID = shift; |
115
|
|
|
|
|
|
|
$self->getRequestDataType()->setItemID($pItemID); |
116
|
|
|
|
|
|
|
} |
117
|
|
|
|
|
|
|
|
118
|
|
|
|
|
|
|
=head2 setRecipientBidderUserID() |
119
|
|
|
|
|
|
|
|
120
|
|
|
|
|
|
|
Specifies the bidder from the original, ended listing to whom the seller |
121
|
|
|
|
|
|
|
is extending the second chance offer. Specify only one |
122
|
|
|
|
|
|
|
RecipientBidderUserID per call. If multiple users are specified (each in a |
123
|
|
|
|
|
|
|
RecipientBidderUserID node), only the last one specified receives the |
124
|
|
|
|
|
|
|
offer. |
125
|
|
|
|
|
|
|
|
126
|
|
|
|
|
|
|
RequiredInput: Yes |
127
|
|
|
|
|
|
|
# Argument: 'ns:UserIDType' |
128
|
|
|
|
|
|
|
|
129
|
|
|
|
|
|
|
=cut |
130
|
|
|
|
|
|
|
|
131
|
|
|
|
|
|
|
sub setRecipientBidderUserID { |
132
|
|
|
|
|
|
|
my $self = shift; |
133
|
|
|
|
|
|
|
my $pRecipientBidderUserID = shift; |
134
|
|
|
|
|
|
|
$self->getRequestDataType()->setRecipientBidderUserID($pRecipientBidderUserID); |
135
|
|
|
|
|
|
|
} |
136
|
|
|
|
|
|
|
|
137
|
|
|
|
|
|
|
=head2 setSellerMessage() |
138
|
|
|
|
|
|
|
|
139
|
|
|
|
|
|
|
Message content. Cannot contain HTML, asterisks, or quotes. This content |
140
|
|
|
|
|
|
|
is included in the second chance offer email sent to the recipient, which |
141
|
|
|
|
|
|
|
can be retrieved with GetMyMessages. |
142
|
|
|
|
|
|
|
|
143
|
|
|
|
|
|
|
MaxLength: 1000 |
144
|
|
|
|
|
|
|
|
145
|
|
|
|
|
|
|
RequiredInput: No |
146
|
|
|
|
|
|
|
# Argument: 'xs:string' |
147
|
|
|
|
|
|
|
|
148
|
|
|
|
|
|
|
=cut |
149
|
|
|
|
|
|
|
|
150
|
|
|
|
|
|
|
sub setSellerMessage { |
151
|
|
|
|
|
|
|
my $self = shift; |
152
|
|
|
|
|
|
|
my $sSellerMessage = shift; |
153
|
|
|
|
|
|
|
$self->getRequestDataType()->setSellerMessage($sSellerMessage); |
154
|
|
|
|
|
|
|
} |
155
|
|
|
|
|
|
|
|
156
|
|
|
|
|
|
|
|
157
|
|
|
|
|
|
|
|
158
|
|
|
|
|
|
|
# |
159
|
|
|
|
|
|
|
# output properties |
160
|
|
|
|
|
|
|
# |
161
|
|
|
|
|
|
|
|
162
|
|
|
|
|
|
|
=head2 getEndTime() |
163
|
|
|
|
|
|
|
|
164
|
|
|
|
|
|
|
Indicates the date and time when the second |
165
|
|
|
|
|
|
|
chance offer listing expires, at which time |
166
|
|
|
|
|
|
|
the listing ends (if the recipient user does |
167
|
|
|
|
|
|
|
not purchase the item first). |
168
|
|
|
|
|
|
|
|
169
|
|
|
|
|
|
|
Returned: Always |
170
|
|
|
|
|
|
|
# Returns: 'xs:dateTime' |
171
|
|
|
|
|
|
|
|
172
|
|
|
|
|
|
|
=cut |
173
|
|
|
|
|
|
|
|
174
|
|
|
|
|
|
|
sub getEndTime { |
175
|
|
|
|
|
|
|
my $self = shift; |
176
|
|
|
|
|
|
|
return $self->getResponseDataType()->getEndTime(); |
177
|
|
|
|
|
|
|
} |
178
|
|
|
|
|
|
|
|
179
|
|
|
|
|
|
|
=head2 getStartTime() |
180
|
|
|
|
|
|
|
|
181
|
|
|
|
|
|
|
Indicates the date and time when the the new |
182
|
|
|
|
|
|
|
second chance offer listing became active and |
183
|
|
|
|
|
|
|
the recipient user could purchase the item. |
184
|
|
|
|
|
|
|
|
185
|
|
|
|
|
|
|
Returned: Always |
186
|
|
|
|
|
|
|
# Returns: 'xs:dateTime' |
187
|
|
|
|
|
|
|
|
188
|
|
|
|
|
|
|
=cut |
189
|
|
|
|
|
|
|
|
190
|
|
|
|
|
|
|
sub getStartTime { |
191
|
|
|
|
|
|
|
my $self = shift; |
192
|
|
|
|
|
|
|
return $self->getResponseDataType()->getStartTime(); |
193
|
|
|
|
|
|
|
} |
194
|
|
|
|
|
|
|
|
195
|
|
|
|
|
|
|
|
196
|
|
|
|
|
|
|
|
197
|
|
|
|
|
|
|
|
198
|
|
|
|
|
|
|
|
199
|
|
|
|
|
|
|
1; |