| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
#!/usr/bin/perl |
|
2
|
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package eBay::API::XML::Call::CompleteSale; |
|
4
|
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
2265
|
use strict; |
|
|
1
|
|
|
|
|
2
|
|
|
|
1
|
|
|
|
|
27
|
|
|
6
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
|
1
|
|
|
|
|
1
|
|
|
|
1
|
|
|
|
|
26
|
|
|
7
|
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
########################################################################## |
|
9
|
|
|
|
|
|
|
# |
|
10
|
|
|
|
|
|
|
# Module: ............... eBay/API/XML |
|
11
|
|
|
|
|
|
|
# File: ................. CompleteSale.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::CompleteSale |
|
21
|
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 DESCRIPTION |
|
23
|
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
=head1 SYNOPSIS |
|
27
|
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=cut |
|
29
|
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
=head1 INHERITANCE |
|
32
|
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
eBay::API::XML::Call::CompleteSale inherits from the L class |
|
34
|
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
=cut |
|
36
|
|
|
|
|
|
|
|
|
37
|
1
|
|
|
1
|
|
33
|
use eBay::API::XML::BaseCall; |
|
|
0
|
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
our @ISA = ("eBay::API::XML::BaseCall"); |
|
39
|
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
use eBay::API::XML::Call::CompleteSale::CompleteSaleRequestType; |
|
41
|
|
|
|
|
|
|
use eBay::API::XML::Call::CompleteSale::CompleteSaleResponseType; |
|
42
|
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=head1 Subroutines: |
|
45
|
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
=cut |
|
47
|
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
sub getApiCallName { |
|
49
|
|
|
|
|
|
|
return 'CompleteSale'; |
|
50
|
|
|
|
|
|
|
} |
|
51
|
|
|
|
|
|
|
sub getRequestDataTypeFullPackage { |
|
52
|
|
|
|
|
|
|
return 'eBay::API::XML::Call::CompleteSale::CompleteSaleRequestType'; |
|
53
|
|
|
|
|
|
|
} |
|
54
|
|
|
|
|
|
|
sub getResponseDataTypeFullPackage { |
|
55
|
|
|
|
|
|
|
return 'eBay::API::XML::Call::CompleteSale::CompleteSaleResponseType'; |
|
56
|
|
|
|
|
|
|
} |
|
57
|
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
# |
|
59
|
|
|
|
|
|
|
# input properties |
|
60
|
|
|
|
|
|
|
# |
|
61
|
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
=head2 setFeedbackInfo() |
|
63
|
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
Specifies feedback the seller is leaving for the buyer. |
|
65
|
|
|
|
|
|
|
For a given transaction, the seller can leave feedback once, |
|
66
|
|
|
|
|
|
|
and no further modifications can be made to that feedback entry. |
|
67
|
|
|
|
|
|
|
If feedback has already been left, FeedbackInfo is not allowed. |
|
68
|
|
|
|
|
|
|
Call GetFeedback to determine whether feedback has already been left. |
|
69
|
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
RequiredInput: No |
|
71
|
|
|
|
|
|
|
# Argument: 'ns:FeedbackInfoType' |
|
72
|
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
=cut |
|
74
|
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
sub setFeedbackInfo { |
|
76
|
|
|
|
|
|
|
my $self = shift; |
|
77
|
|
|
|
|
|
|
my $pFeedbackInfo = shift; |
|
78
|
|
|
|
|
|
|
$self->getRequestDataType()->setFeedbackInfo($pFeedbackInfo); |
|
79
|
|
|
|
|
|
|
} |
|
80
|
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
=head2 setItemID() |
|
82
|
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
ID of the listing associated with the transaction that the |
|
84
|
|
|
|
|
|
|
seller is completing. |
|
85
|
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
MaxLength: 19 (Note: The eBay database specifies 38. Currently, Item IDs are usually 9 to 12 digits) |
|
87
|
|
|
|
|
|
|
|
|
88
|
|
|
|
|
|
|
RequiredInput: Yes |
|
89
|
|
|
|
|
|
|
# Argument: 'ns:ItemIDType' |
|
90
|
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
=cut |
|
92
|
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
sub setItemID { |
|
94
|
|
|
|
|
|
|
my $self = shift; |
|
95
|
|
|
|
|
|
|
my $pItemID = shift; |
|
96
|
|
|
|
|
|
|
$self->getRequestDataType()->setItemID($pItemID); |
|
97
|
|
|
|
|
|
|
} |
|
98
|
|
|
|
|
|
|
|
|
99
|
|
|
|
|
|
|
=head2 setListingType() |
|
100
|
|
|
|
|
|
|
|
|
101
|
|
|
|
|
|
|
If included in the request, and with a value of |
|
102
|
|
|
|
|
|
|
ListingType = Half, indicates that the given ItemID and |
|
103
|
|
|
|
|
|
|
TransactionID values are for Half.com. ListingType is |
|
104
|
|
|
|
|
|
|
required input for Half.com items. |
|
105
|
|
|
|
|
|
|
|
|
106
|
|
|
|
|
|
|
RequiredInput: Conditionally |
|
107
|
|
|
|
|
|
|
OnlyTheseValues: Half |
|
108
|
|
|
|
|
|
|
# Argument: 'ns:ListingTypeCodeType' |
|
109
|
|
|
|
|
|
|
|
|
110
|
|
|
|
|
|
|
=cut |
|
111
|
|
|
|
|
|
|
|
|
112
|
|
|
|
|
|
|
sub setListingType { |
|
113
|
|
|
|
|
|
|
my $self = shift; |
|
114
|
|
|
|
|
|
|
my $sListingType = shift; |
|
115
|
|
|
|
|
|
|
$self->getRequestDataType()->setListingType($sListingType); |
|
116
|
|
|
|
|
|
|
} |
|
117
|
|
|
|
|
|
|
|
|
118
|
|
|
|
|
|
|
=head2 setOrderID() |
|
119
|
|
|
|
|
|
|
|
|
120
|
|
|
|
|
|
|
Unique ID for a multi-item order. ItemID and TransactionID are |
|
121
|
|
|
|
|
|
|
ignored if a call includes OrderID. CompleteSale applies to the |
|
122
|
|
|
|
|
|
|
specified order as a whole (and thus the child transactions |
|
123
|
|
|
|
|
|
|
associated with the order). |
|
124
|
|
|
|
|
|
|
|
|
125
|
|
|
|
|
|
|
This tag does not apply to half.com items. |
|
126
|
|
|
|
|
|
|
|
|
127
|
|
|
|
|
|
|
RequiredInput: No |
|
128
|
|
|
|
|
|
|
# Argument: 'xs:string' |
|
129
|
|
|
|
|
|
|
|
|
130
|
|
|
|
|
|
|
=cut |
|
131
|
|
|
|
|
|
|
|
|
132
|
|
|
|
|
|
|
sub setOrderID { |
|
133
|
|
|
|
|
|
|
my $self = shift; |
|
134
|
|
|
|
|
|
|
my $sOrderID = shift; |
|
135
|
|
|
|
|
|
|
$self->getRequestDataType()->setOrderID($sOrderID); |
|
136
|
|
|
|
|
|
|
} |
|
137
|
|
|
|
|
|
|
|
|
138
|
|
|
|
|
|
|
=head2 setPaid() |
|
139
|
|
|
|
|
|
|
|
|
140
|
|
|
|
|
|
|
If true, the transaction is marked as paid in My eBay. |
|
141
|
|
|
|
|
|
|
If false, the transaction is marked as not paid in My eBay. |
|
142
|
|
|
|
|
|
|
If not specified, the paid status in My eBay is not modified. |
|
143
|
|
|
|
|
|
|
|
|
144
|
|
|
|
|
|
|
RequiredInput: No |
|
145
|
|
|
|
|
|
|
# Argument: 'xs:boolean' |
|
146
|
|
|
|
|
|
|
|
|
147
|
|
|
|
|
|
|
=cut |
|
148
|
|
|
|
|
|
|
|
|
149
|
|
|
|
|
|
|
sub setPaid { |
|
150
|
|
|
|
|
|
|
my $self = shift; |
|
151
|
|
|
|
|
|
|
my $sPaid = shift; |
|
152
|
|
|
|
|
|
|
$self->getRequestDataType()->setPaid($sPaid); |
|
153
|
|
|
|
|
|
|
} |
|
154
|
|
|
|
|
|
|
|
|
155
|
|
|
|
|
|
|
=head2 setShipment() |
|
156
|
|
|
|
|
|
|
|
|
157
|
|
|
|
|
|
|
Details about the shipment. Setting the tracking number and carrier |
|
158
|
|
|
|
|
|
|
automatically marks the item as shipped (sets Shipped to true). |
|
159
|
|
|
|
|
|
|
|
|
160
|
|
|
|
|
|
|
RequiredInput: No |
|
161
|
|
|
|
|
|
|
# Argument: 'ns:ShipmentType' |
|
162
|
|
|
|
|
|
|
|
|
163
|
|
|
|
|
|
|
=cut |
|
164
|
|
|
|
|
|
|
|
|
165
|
|
|
|
|
|
|
sub setShipment { |
|
166
|
|
|
|
|
|
|
my $self = shift; |
|
167
|
|
|
|
|
|
|
my $pShipment = shift; |
|
168
|
|
|
|
|
|
|
$self->getRequestDataType()->setShipment($pShipment); |
|
169
|
|
|
|
|
|
|
} |
|
170
|
|
|
|
|
|
|
|
|
171
|
|
|
|
|
|
|
=head2 setShipped() |
|
172
|
|
|
|
|
|
|
|
|
173
|
|
|
|
|
|
|
If true, the transaction is marked as shipped in My eBay |
|
174
|
|
|
|
|
|
|
(applicable for Selling Manager Pro users). |
|
175
|
|
|
|
|
|
|
If false, the transaction is marked as not shipped in My eBay. |
|
176
|
|
|
|
|
|
|
If not specified, the shipped status in My eBay is not modified. |
|
177
|
|
|
|
|
|
|
|
|
178
|
|
|
|
|
|
|
RequiredInput: No |
|
179
|
|
|
|
|
|
|
# Argument: 'xs:boolean' |
|
180
|
|
|
|
|
|
|
|
|
181
|
|
|
|
|
|
|
=cut |
|
182
|
|
|
|
|
|
|
|
|
183
|
|
|
|
|
|
|
sub setShipped { |
|
184
|
|
|
|
|
|
|
my $self = shift; |
|
185
|
|
|
|
|
|
|
my $sShipped = shift; |
|
186
|
|
|
|
|
|
|
$self->getRequestDataType()->setShipped($sShipped); |
|
187
|
|
|
|
|
|
|
} |
|
188
|
|
|
|
|
|
|
|
|
189
|
|
|
|
|
|
|
=head2 setTransactionID() |
|
190
|
|
|
|
|
|
|
|
|
191
|
|
|
|
|
|
|
Unique identifier for a transaction from the listing indicated by ItemID. |
|
192
|
|
|
|
|
|
|
Call GetItemTransactions or GetSellerTransactions to determine |
|
193
|
|
|
|
|
|
|
the appropriate transaction ID. |
|
194
|
|
|
|
|
|
|
Required for all listing types (pass 0 for Chinese auctions). |
|
195
|
|
|
|
|
|
|
|
|
196
|
|
|
|
|
|
|
MaxLength: 19 (Note: The eBay database specifies 38. Currently, transaction IDs are usually 9 to 12 digits.) |
|
197
|
|
|
|
|
|
|
|
|
198
|
|
|
|
|
|
|
RequiredInput: Yes |
|
199
|
|
|
|
|
|
|
# Argument: 'xs:string' |
|
200
|
|
|
|
|
|
|
|
|
201
|
|
|
|
|
|
|
=cut |
|
202
|
|
|
|
|
|
|
|
|
203
|
|
|
|
|
|
|
sub setTransactionID { |
|
204
|
|
|
|
|
|
|
my $self = shift; |
|
205
|
|
|
|
|
|
|
my $sTransactionID = shift; |
|
206
|
|
|
|
|
|
|
$self->getRequestDataType()->setTransactionID($sTransactionID); |
|
207
|
|
|
|
|
|
|
} |
|
208
|
|
|
|
|
|
|
|
|
209
|
|
|
|
|
|
|
|
|
210
|
|
|
|
|
|
|
|
|
211
|
|
|
|
|
|
|
# |
|
212
|
|
|
|
|
|
|
# output properties |
|
213
|
|
|
|
|
|
|
# |
|
214
|
|
|
|
|
|
|
|
|
215
|
|
|
|
|
|
|
|
|
216
|
|
|
|
|
|
|
|
|
217
|
|
|
|
|
|
|
|
|
218
|
|
|
|
|
|
|
|
|
219
|
|
|
|
|
|
|
1; |