| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
#!/usr/bin/perl |
|
2
|
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package eBay::API::XML::Call::ReviseCheckoutStatus; |
|
4
|
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
2402
|
use strict; |
|
|
1
|
|
|
|
|
3
|
|
|
|
1
|
|
|
|
|
53
|
|
|
6
|
1
|
|
|
1
|
|
4
|
use warnings; |
|
|
1
|
|
|
|
|
2
|
|
|
|
1
|
|
|
|
|
27
|
|
|
7
|
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
########################################################################## |
|
9
|
|
|
|
|
|
|
# |
|
10
|
|
|
|
|
|
|
# Module: ............... eBay/API/XML |
|
11
|
|
|
|
|
|
|
# File: ................. ReviseCheckoutStatus.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::ReviseCheckoutStatus |
|
21
|
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 DESCRIPTION |
|
23
|
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
=head1 SYNOPSIS |
|
27
|
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=cut |
|
29
|
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
=head1 INHERITANCE |
|
32
|
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
eBay::API::XML::Call::ReviseCheckoutStatus inherits from the L class |
|
34
|
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
=cut |
|
36
|
|
|
|
|
|
|
|
|
37
|
1
|
|
|
1
|
|
41
|
use eBay::API::XML::BaseCall; |
|
|
0
|
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
our @ISA = ("eBay::API::XML::BaseCall"); |
|
39
|
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
use eBay::API::XML::Call::ReviseCheckoutStatus::ReviseCheckoutStatusRequestType; |
|
41
|
|
|
|
|
|
|
use eBay::API::XML::Call::ReviseCheckoutStatus::ReviseCheckoutStatusResponseType; |
|
42
|
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=head1 Subroutines: |
|
45
|
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
=cut |
|
47
|
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
sub getApiCallName { |
|
49
|
|
|
|
|
|
|
return 'ReviseCheckoutStatus'; |
|
50
|
|
|
|
|
|
|
} |
|
51
|
|
|
|
|
|
|
sub getRequestDataTypeFullPackage { |
|
52
|
|
|
|
|
|
|
return 'eBay::API::XML::Call::ReviseCheckoutStatus::ReviseCheckoutStatusRequestType'; |
|
53
|
|
|
|
|
|
|
} |
|
54
|
|
|
|
|
|
|
sub getResponseDataTypeFullPackage { |
|
55
|
|
|
|
|
|
|
return 'eBay::API::XML::Call::ReviseCheckoutStatus::ReviseCheckoutStatusResponseType'; |
|
56
|
|
|
|
|
|
|
} |
|
57
|
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
# |
|
59
|
|
|
|
|
|
|
# input properties |
|
60
|
|
|
|
|
|
|
# |
|
61
|
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
=head2 setAdjustmentAmount() |
|
63
|
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
Discount or charge agreed to by the buyer and seller. A positive value |
|
65
|
|
|
|
|
|
|
indicates that the amount is an extra charge being paid to the seller by |
|
66
|
|
|
|
|
|
|
the buyer. A negative value indicates that the amount is a discount given |
|
67
|
|
|
|
|
|
|
to the buyer by the seller. |
|
68
|
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
RequiredInput: No |
|
70
|
|
|
|
|
|
|
# Argument: 'ns:AmountType' |
|
71
|
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
=cut |
|
73
|
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
sub setAdjustmentAmount { |
|
75
|
|
|
|
|
|
|
my $self = shift; |
|
76
|
|
|
|
|
|
|
my $pAdjustmentAmount = shift; |
|
77
|
|
|
|
|
|
|
$self->getRequestDataType()->setAdjustmentAmount($pAdjustmentAmount); |
|
78
|
|
|
|
|
|
|
} |
|
79
|
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
=head2 setAmountPaid() |
|
81
|
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
The amount paid by the buyer. For an eBay Stores item, the value passed in |
|
83
|
|
|
|
|
|
|
AmountPaid is the transaction/item price. For a US eBay Motors item, |
|
84
|
|
|
|
|
|
|
AmountPaid is the total amount paid by the buyer for the deposit. |
|
85
|
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
RequiredInput: No |
|
87
|
|
|
|
|
|
|
# Argument: 'ns:AmountType' |
|
88
|
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
=cut |
|
90
|
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
sub setAmountPaid { |
|
92
|
|
|
|
|
|
|
my $self = shift; |
|
93
|
|
|
|
|
|
|
my $pAmountPaid = shift; |
|
94
|
|
|
|
|
|
|
$self->getRequestDataType()->setAmountPaid($pAmountPaid); |
|
95
|
|
|
|
|
|
|
} |
|
96
|
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
=head2 setBuyerID() |
|
98
|
|
|
|
|
|
|
|
|
99
|
|
|
|
|
|
|
eBay ID for the buyer in the transaction being revised. A transaction is |
|
100
|
|
|
|
|
|
|
uniquely identified by one of two means: (a) You provide a TransactionID |
|
101
|
|
|
|
|
|
|
and ItemID. (This is the preferred approach.), OR, (b) You provide a |
|
102
|
|
|
|
|
|
|
BuyerID and ItemID and eBay identifies only one transaction for that |
|
103
|
|
|
|
|
|
|
combination (an error is returned if there are multiple transactions for |
|
104
|
|
|
|
|
|
|
that combination). Note: If all three are provided (that is, BuyerID, |
|
105
|
|
|
|
|
|
|
ItemID and TransactionID), BuyerID is ignored. |
|
106
|
|
|
|
|
|
|
|
|
107
|
|
|
|
|
|
|
RequiredInput: Conditionally |
|
108
|
|
|
|
|
|
|
# Argument: 'xs:string' |
|
109
|
|
|
|
|
|
|
|
|
110
|
|
|
|
|
|
|
=cut |
|
111
|
|
|
|
|
|
|
|
|
112
|
|
|
|
|
|
|
sub setBuyerID { |
|
113
|
|
|
|
|
|
|
my $self = shift; |
|
114
|
|
|
|
|
|
|
my $sBuyerID = shift; |
|
115
|
|
|
|
|
|
|
$self->getRequestDataType()->setBuyerID($sBuyerID); |
|
116
|
|
|
|
|
|
|
} |
|
117
|
|
|
|
|
|
|
|
|
118
|
|
|
|
|
|
|
=head2 setCODCost() |
|
119
|
|
|
|
|
|
|
|
|
120
|
|
|
|
|
|
|
Italy site (site ID 101) only. |
|
121
|
|
|
|
|
|
|
Enables you to specify the cash-on-delivery (COD) cost, for COD shipping. |
|
122
|
|
|
|
|
|
|
|
|
123
|
|
|
|
|
|
|
SeeLink: URL: http://developer.ebay.com/DevZone/XML/docs/WebHelp/index.htm?context=eBay_XML_API&topic=CODInShippingDetails |
|
124
|
|
|
|
|
|
|
Title: Specifying the Cash on Delivery Option in Shipping Details |
|
125
|
|
|
|
|
|
|
|
|
126
|
|
|
|
|
|
|
RequiredInput: No |
|
127
|
|
|
|
|
|
|
# Argument: 'ns:AmountType' |
|
128
|
|
|
|
|
|
|
|
|
129
|
|
|
|
|
|
|
=cut |
|
130
|
|
|
|
|
|
|
|
|
131
|
|
|
|
|
|
|
sub setCODCost { |
|
132
|
|
|
|
|
|
|
my $self = shift; |
|
133
|
|
|
|
|
|
|
my $pCODCost = shift; |
|
134
|
|
|
|
|
|
|
$self->getRequestDataType()->setCODCost($pCODCost); |
|
135
|
|
|
|
|
|
|
} |
|
136
|
|
|
|
|
|
|
|
|
137
|
|
|
|
|
|
|
=head2 setCheckoutMethod() |
|
138
|
|
|
|
|
|
|
|
|
139
|
|
|
|
|
|
|
Not supported. |
|
140
|
|
|
|
|
|
|
|
|
141
|
|
|
|
|
|
|
RequiredInput: No |
|
142
|
|
|
|
|
|
|
# Argument: 'ns:CheckoutMethodCodeType' |
|
143
|
|
|
|
|
|
|
|
|
144
|
|
|
|
|
|
|
=cut |
|
145
|
|
|
|
|
|
|
|
|
146
|
|
|
|
|
|
|
sub setCheckoutMethod { |
|
147
|
|
|
|
|
|
|
my $self = shift; |
|
148
|
|
|
|
|
|
|
my $sCheckoutMethod = shift; |
|
149
|
|
|
|
|
|
|
$self->getRequestDataType()->setCheckoutMethod($sCheckoutMethod); |
|
150
|
|
|
|
|
|
|
} |
|
151
|
|
|
|
|
|
|
|
|
152
|
|
|
|
|
|
|
=head2 setCheckoutStatus() |
|
153
|
|
|
|
|
|
|
|
|
154
|
|
|
|
|
|
|
The current status of the checkout process for the transaction. |
|
155
|
|
|
|
|
|
|
|
|
156
|
|
|
|
|
|
|
RequiredInput: Yes |
|
157
|
|
|
|
|
|
|
# Argument: 'ns:CompleteStatusCodeType' |
|
158
|
|
|
|
|
|
|
|
|
159
|
|
|
|
|
|
|
=cut |
|
160
|
|
|
|
|
|
|
|
|
161
|
|
|
|
|
|
|
sub setCheckoutStatus { |
|
162
|
|
|
|
|
|
|
my $self = shift; |
|
163
|
|
|
|
|
|
|
my $sCheckoutStatus = shift; |
|
164
|
|
|
|
|
|
|
$self->getRequestDataType()->setCheckoutStatus($sCheckoutStatus); |
|
165
|
|
|
|
|
|
|
} |
|
166
|
|
|
|
|
|
|
|
|
167
|
|
|
|
|
|
|
=head2 setEncryptedID() |
|
168
|
|
|
|
|
|
|
|
|
169
|
|
|
|
|
|
|
Not supported. |
|
170
|
|
|
|
|
|
|
|
|
171
|
|
|
|
|
|
|
MaxLength: 20 |
|
172
|
|
|
|
|
|
|
|
|
173
|
|
|
|
|
|
|
RequiredInput: No |
|
174
|
|
|
|
|
|
|
# Argument: 'xs:string' |
|
175
|
|
|
|
|
|
|
|
|
176
|
|
|
|
|
|
|
=cut |
|
177
|
|
|
|
|
|
|
|
|
178
|
|
|
|
|
|
|
sub setEncryptedID { |
|
179
|
|
|
|
|
|
|
my $self = shift; |
|
180
|
|
|
|
|
|
|
my $sEncryptedID = shift; |
|
181
|
|
|
|
|
|
|
$self->getRequestDataType()->setEncryptedID($sEncryptedID); |
|
182
|
|
|
|
|
|
|
} |
|
183
|
|
|
|
|
|
|
|
|
184
|
|
|
|
|
|
|
=head2 setExternalTransaction() |
|
185
|
|
|
|
|
|
|
|
|
186
|
|
|
|
|
|
|
Not supported. |
|
187
|
|
|
|
|
|
|
|
|
188
|
|
|
|
|
|
|
RequiredInput: No |
|
189
|
|
|
|
|
|
|
# Argument: 'ns:ExternalTransactionType' |
|
190
|
|
|
|
|
|
|
|
|
191
|
|
|
|
|
|
|
=cut |
|
192
|
|
|
|
|
|
|
|
|
193
|
|
|
|
|
|
|
sub setExternalTransaction { |
|
194
|
|
|
|
|
|
|
my $self = shift; |
|
195
|
|
|
|
|
|
|
my $pExternalTransaction = shift; |
|
196
|
|
|
|
|
|
|
$self->getRequestDataType()->setExternalTransaction($pExternalTransaction); |
|
197
|
|
|
|
|
|
|
} |
|
198
|
|
|
|
|
|
|
|
|
199
|
|
|
|
|
|
|
=head2 setInsuranceType() |
|
200
|
|
|
|
|
|
|
|
|
201
|
|
|
|
|
|
|
The insurance option selected by the buyer. |
|
202
|
|
|
|
|
|
|
|
|
203
|
|
|
|
|
|
|
RequiredInput: No |
|
204
|
|
|
|
|
|
|
# Argument: 'ns:InsuranceSelectedCodeType' |
|
205
|
|
|
|
|
|
|
|
|
206
|
|
|
|
|
|
|
=cut |
|
207
|
|
|
|
|
|
|
|
|
208
|
|
|
|
|
|
|
sub setInsuranceType { |
|
209
|
|
|
|
|
|
|
my $self = shift; |
|
210
|
|
|
|
|
|
|
my $sInsuranceType = shift; |
|
211
|
|
|
|
|
|
|
$self->getRequestDataType()->setInsuranceType($sInsuranceType); |
|
212
|
|
|
|
|
|
|
} |
|
213
|
|
|
|
|
|
|
|
|
214
|
|
|
|
|
|
|
=head2 setItemID() |
|
215
|
|
|
|
|
|
|
|
|
216
|
|
|
|
|
|
|
Unique ID for the item associated with the checkout. A transaction is |
|
217
|
|
|
|
|
|
|
uniquely identified by one of two means: (a) You provide a TransactionID |
|
218
|
|
|
|
|
|
|
and ItemID. (This is the preferred approach.), OR, (b) You provide a |
|
219
|
|
|
|
|
|
|
BuyerID and ItemID and eBay identifies only one transaction for that |
|
220
|
|
|
|
|
|
|
combination (an error is returned if there are multiple transactions for |
|
221
|
|
|
|
|
|
|
that combination). Note: If all three are provided (that is, BuyerID, |
|
222
|
|
|
|
|
|
|
ItemID and TransactionID), BuyerID is ignored. |
|
223
|
|
|
|
|
|
|
|
|
224
|
|
|
|
|
|
|
MaxLength: 19 (Note: The eBay database specifies 38. Currently, Item IDs are usually 9 to 12 digits) |
|
225
|
|
|
|
|
|
|
|
|
226
|
|
|
|
|
|
|
RequiredInput: Yes |
|
227
|
|
|
|
|
|
|
# Argument: 'ns:ItemIDType' |
|
228
|
|
|
|
|
|
|
|
|
229
|
|
|
|
|
|
|
=cut |
|
230
|
|
|
|
|
|
|
|
|
231
|
|
|
|
|
|
|
sub setItemID { |
|
232
|
|
|
|
|
|
|
my $self = shift; |
|
233
|
|
|
|
|
|
|
my $pItemID = shift; |
|
234
|
|
|
|
|
|
|
$self->getRequestDataType()->setItemID($pItemID); |
|
235
|
|
|
|
|
|
|
} |
|
236
|
|
|
|
|
|
|
|
|
237
|
|
|
|
|
|
|
=head2 setMultipleSellerPaymentID() |
|
238
|
|
|
|
|
|
|
|
|
239
|
|
|
|
|
|
|
Not supported. |
|
240
|
|
|
|
|
|
|
|
|
241
|
|
|
|
|
|
|
RequiredInput: No |
|
242
|
|
|
|
|
|
|
# Argument: 'xs:string' |
|
243
|
|
|
|
|
|
|
|
|
244
|
|
|
|
|
|
|
=cut |
|
245
|
|
|
|
|
|
|
|
|
246
|
|
|
|
|
|
|
sub setMultipleSellerPaymentID { |
|
247
|
|
|
|
|
|
|
my $self = shift; |
|
248
|
|
|
|
|
|
|
my $sMultipleSellerPaymentID = shift; |
|
249
|
|
|
|
|
|
|
$self->getRequestDataType()->setMultipleSellerPaymentID($sMultipleSellerPaymentID); |
|
250
|
|
|
|
|
|
|
} |
|
251
|
|
|
|
|
|
|
|
|
252
|
|
|
|
|
|
|
=head2 setOrderID() |
|
253
|
|
|
|
|
|
|
|
|
254
|
|
|
|
|
|
|
Unique ID for a multi-item order. If specified, ItemID and |
|
255
|
|
|
|
|
|
|
TransactionID are ignored if specified in the same call. |
|
256
|
|
|
|
|
|
|
Changes to the checkout status are applied to the specified |
|
257
|
|
|
|
|
|
|
order as a whole (and thus the child transactions |
|
258
|
|
|
|
|
|
|
associated with the order). |
|
259
|
|
|
|
|
|
|
|
|
260
|
|
|
|
|
|
|
RequiredInput: No |
|
261
|
|
|
|
|
|
|
# Argument: 'xs:string' |
|
262
|
|
|
|
|
|
|
|
|
263
|
|
|
|
|
|
|
=cut |
|
264
|
|
|
|
|
|
|
|
|
265
|
|
|
|
|
|
|
sub setOrderID { |
|
266
|
|
|
|
|
|
|
my $self = shift; |
|
267
|
|
|
|
|
|
|
my $sOrderID = shift; |
|
268
|
|
|
|
|
|
|
$self->getRequestDataType()->setOrderID($sOrderID); |
|
269
|
|
|
|
|
|
|
} |
|
270
|
|
|
|
|
|
|
|
|
271
|
|
|
|
|
|
|
=head2 setPaymentMethodUsed() |
|
272
|
|
|
|
|
|
|
|
|
273
|
|
|
|
|
|
|
Payment method used by the buyer. |
|
274
|
|
|
|
|
|
|
Required if CheckoutStatus is Complete. |
|
275
|
|
|
|
|
|
|
(Please note that only PayPal can set this value to PayPal.) |
|
276
|
|
|
|
|
|
|
|
|
277
|
|
|
|
|
|
|
Note: |
|
278
|
|
|
|
|
|
|
Required or allowed payment methods vary by site and category. Refer to |
|
279
|
|
|
|
|
|
|
|
|
280
|
|
|
|
|
|
|
Payment Method Differences (PaymentMethod) in the eBay |
|
281
|
|
|
|
|
|
|
Trading API Guide for information to help you determine which payment |
|
282
|
|
|
|
|
|
|
methods you are required or allowed to specify. |
|
283
|
|
|
|
|
|
|
|
|
284
|
|
|
|
|
|
|
|
|
285
|
|
|
|
|
|
|
|
|
286
|
|
|
|
|
|
|
AllValuesExcept: PayPal |
|
287
|
|
|
|
|
|
|
|
|
288
|
|
|
|
|
|
|
RequiredInput: Conditionally |
|
289
|
|
|
|
|
|
|
# Argument: 'ns:BuyerPaymentMethodCodeType' |
|
290
|
|
|
|
|
|
|
|
|
291
|
|
|
|
|
|
|
=cut |
|
292
|
|
|
|
|
|
|
|
|
293
|
|
|
|
|
|
|
sub setPaymentMethodUsed { |
|
294
|
|
|
|
|
|
|
my $self = shift; |
|
295
|
|
|
|
|
|
|
my $sPaymentMethodUsed = shift; |
|
296
|
|
|
|
|
|
|
$self->getRequestDataType()->setPaymentMethodUsed($sPaymentMethodUsed); |
|
297
|
|
|
|
|
|
|
} |
|
298
|
|
|
|
|
|
|
|
|
299
|
|
|
|
|
|
|
=head2 setPaymentStatus() |
|
300
|
|
|
|
|
|
|
|
|
301
|
|
|
|
|
|
|
Not supported. |
|
302
|
|
|
|
|
|
|
|
|
303
|
|
|
|
|
|
|
RequiredInput: No |
|
304
|
|
|
|
|
|
|
# Argument: 'ns:RCSPaymentStatusCodeType' |
|
305
|
|
|
|
|
|
|
|
|
306
|
|
|
|
|
|
|
=cut |
|
307
|
|
|
|
|
|
|
|
|
308
|
|
|
|
|
|
|
sub setPaymentStatus { |
|
309
|
|
|
|
|
|
|
my $self = shift; |
|
310
|
|
|
|
|
|
|
my $sPaymentStatus = shift; |
|
311
|
|
|
|
|
|
|
$self->getRequestDataType()->setPaymentStatus($sPaymentStatus); |
|
312
|
|
|
|
|
|
|
} |
|
313
|
|
|
|
|
|
|
|
|
314
|
|
|
|
|
|
|
=head2 setSalesTax() |
|
315
|
|
|
|
|
|
|
|
|
316
|
|
|
|
|
|
|
Amount of money paid for sales tax. For Third-Party Checkout |
|
317
|
|
|
|
|
|
|
applications. |
|
318
|
|
|
|
|
|
|
|
|
319
|
|
|
|
|
|
|
RequiredInput: No |
|
320
|
|
|
|
|
|
|
# Argument: 'ns:AmountType' |
|
321
|
|
|
|
|
|
|
|
|
322
|
|
|
|
|
|
|
=cut |
|
323
|
|
|
|
|
|
|
|
|
324
|
|
|
|
|
|
|
sub setSalesTax { |
|
325
|
|
|
|
|
|
|
my $self = shift; |
|
326
|
|
|
|
|
|
|
my $pSalesTax = shift; |
|
327
|
|
|
|
|
|
|
$self->getRequestDataType()->setSalesTax($pSalesTax); |
|
328
|
|
|
|
|
|
|
} |
|
329
|
|
|
|
|
|
|
|
|
330
|
|
|
|
|
|
|
=head2 setShippingAddress() |
|
331
|
|
|
|
|
|
|
|
|
332
|
|
|
|
|
|
|
For internal use. |
|
333
|
|
|
|
|
|
|
|
|
334
|
|
|
|
|
|
|
RequiredInput: No |
|
335
|
|
|
|
|
|
|
# Argument: 'ns:AddressType' |
|
336
|
|
|
|
|
|
|
|
|
337
|
|
|
|
|
|
|
=cut |
|
338
|
|
|
|
|
|
|
|
|
339
|
|
|
|
|
|
|
sub setShippingAddress { |
|
340
|
|
|
|
|
|
|
my $self = shift; |
|
341
|
|
|
|
|
|
|
my $pShippingAddress = shift; |
|
342
|
|
|
|
|
|
|
$self->getRequestDataType()->setShippingAddress($pShippingAddress); |
|
343
|
|
|
|
|
|
|
} |
|
344
|
|
|
|
|
|
|
|
|
345
|
|
|
|
|
|
|
=head2 setShippingCost() |
|
346
|
|
|
|
|
|
|
|
|
347
|
|
|
|
|
|
|
Amount of money paid for shipping. For Third-party Checkout |
|
348
|
|
|
|
|
|
|
applications. |
|
349
|
|
|
|
|
|
|
|
|
350
|
|
|
|
|
|
|
RequiredInput: No |
|
351
|
|
|
|
|
|
|
# Argument: 'ns:AmountType' |
|
352
|
|
|
|
|
|
|
|
|
353
|
|
|
|
|
|
|
=cut |
|
354
|
|
|
|
|
|
|
|
|
355
|
|
|
|
|
|
|
sub setShippingCost { |
|
356
|
|
|
|
|
|
|
my $self = shift; |
|
357
|
|
|
|
|
|
|
my $pShippingCost = shift; |
|
358
|
|
|
|
|
|
|
$self->getRequestDataType()->setShippingCost($pShippingCost); |
|
359
|
|
|
|
|
|
|
} |
|
360
|
|
|
|
|
|
|
|
|
361
|
|
|
|
|
|
|
=head2 setShippingIncludedInTax() |
|
362
|
|
|
|
|
|
|
|
|
363
|
|
|
|
|
|
|
An indicator of whether shipping costs were included in the |
|
364
|
|
|
|
|
|
|
taxable amount. For Third-Party Checkout applications. |
|
365
|
|
|
|
|
|
|
|
|
366
|
|
|
|
|
|
|
Default: false |
|
367
|
|
|
|
|
|
|
|
|
368
|
|
|
|
|
|
|
RequiredInput: No |
|
369
|
|
|
|
|
|
|
# Argument: 'xs:boolean' |
|
370
|
|
|
|
|
|
|
|
|
371
|
|
|
|
|
|
|
=cut |
|
372
|
|
|
|
|
|
|
|
|
373
|
|
|
|
|
|
|
sub setShippingIncludedInTax { |
|
374
|
|
|
|
|
|
|
my $self = shift; |
|
375
|
|
|
|
|
|
|
my $sShippingIncludedInTax = shift; |
|
376
|
|
|
|
|
|
|
$self->getRequestDataType()->setShippingIncludedInTax($sShippingIncludedInTax); |
|
377
|
|
|
|
|
|
|
} |
|
378
|
|
|
|
|
|
|
|
|
379
|
|
|
|
|
|
|
=head2 setShippingInsuranceCost() |
|
380
|
|
|
|
|
|
|
|
|
381
|
|
|
|
|
|
|
Amount of money paid for insurance. For Third Party Checkout |
|
382
|
|
|
|
|
|
|
applications. |
|
383
|
|
|
|
|
|
|
|
|
384
|
|
|
|
|
|
|
RequiredInput: No |
|
385
|
|
|
|
|
|
|
# Argument: 'ns:AmountType' |
|
386
|
|
|
|
|
|
|
|
|
387
|
|
|
|
|
|
|
=cut |
|
388
|
|
|
|
|
|
|
|
|
389
|
|
|
|
|
|
|
sub setShippingInsuranceCost { |
|
390
|
|
|
|
|
|
|
my $self = shift; |
|
391
|
|
|
|
|
|
|
my $pShippingInsuranceCost = shift; |
|
392
|
|
|
|
|
|
|
$self->getRequestDataType()->setShippingInsuranceCost($pShippingInsuranceCost); |
|
393
|
|
|
|
|
|
|
} |
|
394
|
|
|
|
|
|
|
|
|
395
|
|
|
|
|
|
|
=head2 setShippingService() |
|
396
|
|
|
|
|
|
|
|
|
397
|
|
|
|
|
|
|
The shipping service selected by the buyer from among the shipping |
|
398
|
|
|
|
|
|
|
services offered by the seller (such as UPS Ground). For a list of valid |
|
399
|
|
|
|
|
|
|
values that you can cache for future use, call GeteBayDetails with |
|
400
|
|
|
|
|
|
|
DetailName set to ShippingServiceDetails. |
|
401
|
|
|
|
|
|
|
|
|
402
|
|
|
|
|
|
|
RequiredInput: No |
|
403
|
|
|
|
|
|
|
# Argument: 'xs:token' |
|
404
|
|
|
|
|
|
|
|
|
405
|
|
|
|
|
|
|
=cut |
|
406
|
|
|
|
|
|
|
|
|
407
|
|
|
|
|
|
|
sub setShippingService { |
|
408
|
|
|
|
|
|
|
my $self = shift; |
|
409
|
|
|
|
|
|
|
my $sShippingService = shift; |
|
410
|
|
|
|
|
|
|
$self->getRequestDataType()->setShippingService($sShippingService); |
|
411
|
|
|
|
|
|
|
} |
|
412
|
|
|
|
|
|
|
|
|
413
|
|
|
|
|
|
|
=head2 setTransactionID() |
|
414
|
|
|
|
|
|
|
|
|
415
|
|
|
|
|
|
|
Unique ID for the transaction associated with the checkout. For Chinese |
|
416
|
|
|
|
|
|
|
auctions, the value passed in the TransactionID argument must be 0 or the |
|
417
|
|
|
|
|
|
|
call will fail with an error. For all other auction types, TransactionID |
|
418
|
|
|
|
|
|
|
accepts the actual, nonzero transaction ID. Call GetItemTransactionsCall |
|
419
|
|
|
|
|
|
|
or GetSellerTransactionsCall to determine the correct transaction ID. A |
|
420
|
|
|
|
|
|
|
transaction is uniquely identified by one of two means: (a) You provide a |
|
421
|
|
|
|
|
|
|
TransactionID and ItemID. (This is the preferred approach.), OR, (b) You |
|
422
|
|
|
|
|
|
|
provide a BuyerID and ItemID and eBay identifies only one transaction for |
|
423
|
|
|
|
|
|
|
that combination (an error is returned if there are multiple transactions |
|
424
|
|
|
|
|
|
|
for that combination). Note: If all three are provided (that is, BuyerID, |
|
425
|
|
|
|
|
|
|
ItemID and TransactionID), BuyerID is ignored. |
|
426
|
|
|
|
|
|
|
|
|
427
|
|
|
|
|
|
|
MaxLength: 19 (Note: The eBay database specifies 38. Currently, transaction IDs are usually 9 to 12 digits.) |
|
428
|
|
|
|
|
|
|
|
|
429
|
|
|
|
|
|
|
RequiredInput: Conditionally |
|
430
|
|
|
|
|
|
|
# Argument: 'xs:string' |
|
431
|
|
|
|
|
|
|
|
|
432
|
|
|
|
|
|
|
=cut |
|
433
|
|
|
|
|
|
|
|
|
434
|
|
|
|
|
|
|
sub setTransactionID { |
|
435
|
|
|
|
|
|
|
my $self = shift; |
|
436
|
|
|
|
|
|
|
my $sTransactionID = shift; |
|
437
|
|
|
|
|
|
|
$self->getRequestDataType()->setTransactionID($sTransactionID); |
|
438
|
|
|
|
|
|
|
} |
|
439
|
|
|
|
|
|
|
|
|
440
|
|
|
|
|
|
|
|
|
441
|
|
|
|
|
|
|
|
|
442
|
|
|
|
|
|
|
# |
|
443
|
|
|
|
|
|
|
# output properties |
|
444
|
|
|
|
|
|
|
# |
|
445
|
|
|
|
|
|
|
|
|
446
|
|
|
|
|
|
|
|
|
447
|
|
|
|
|
|
|
|
|
448
|
|
|
|
|
|
|
|
|
449
|
|
|
|
|
|
|
|
|
450
|
|
|
|
|
|
|
1; |