line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
#!/usr/bin/perl |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package eBay::API::XML::Call::ReviseCheckoutStatus::ReviseCheckoutStatusRequestType; |
4
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
1453
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
25
|
|
6
|
1
|
|
|
1
|
|
4
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
27
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
########################################################################## |
9
|
|
|
|
|
|
|
# |
10
|
|
|
|
|
|
|
# Module: ............... eBay/API/XML |
11
|
|
|
|
|
|
|
# File: ................. ReviseCheckoutStatusRequestType.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::ReviseCheckoutStatusRequestType |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 DESCRIPTION |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
Enables a seller to update the payment status of an item. |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=head1 SYNOPSIS |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=cut |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=head1 INHERITANCE |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
eBay::API::XML::Call::ReviseCheckoutStatus::ReviseCheckoutStatusRequestType inherits from the L class |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=cut |
38
|
|
|
|
|
|
|
|
39
|
1
|
|
|
1
|
|
34
|
use eBay::API::XML::RequestDataType; |
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
our @ISA = ("eBay::API::XML::RequestDataType"); |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
use eBay::API::XML::DataType::AddressType; |
43
|
|
|
|
|
|
|
use eBay::API::XML::DataType::AmountType; |
44
|
|
|
|
|
|
|
use eBay::API::XML::DataType::ExternalTransactionType; |
45
|
|
|
|
|
|
|
use eBay::API::XML::DataType::ItemIDType; |
46
|
|
|
|
|
|
|
use eBay::API::XML::DataType::Enum::BuyerPaymentMethodCodeType; |
47
|
|
|
|
|
|
|
use eBay::API::XML::DataType::Enum::CheckoutMethodCodeType; |
48
|
|
|
|
|
|
|
use eBay::API::XML::DataType::Enum::CompleteStatusCodeType; |
49
|
|
|
|
|
|
|
use eBay::API::XML::DataType::Enum::InsuranceSelectedCodeType; |
50
|
|
|
|
|
|
|
use eBay::API::XML::DataType::Enum::RCSPaymentStatusCodeType; |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
my @gaProperties = ( [ 'AdjustmentAmount', 'ns:AmountType', '' |
54
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::AmountType', '1' ] |
55
|
|
|
|
|
|
|
, [ 'AmountPaid', 'ns:AmountType', '' |
56
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::AmountType', '1' ] |
57
|
|
|
|
|
|
|
, [ 'BuyerID', 'xs:string', '', '', '' ] |
58
|
|
|
|
|
|
|
, [ 'CODCost', 'ns:AmountType', '' |
59
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::AmountType', '1' ] |
60
|
|
|
|
|
|
|
, [ 'CheckoutMethod', 'ns:CheckoutMethodCodeType', '' |
61
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::Enum::CheckoutMethodCodeType', '' ] |
62
|
|
|
|
|
|
|
, [ 'CheckoutStatus', 'ns:CompleteStatusCodeType', '' |
63
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::Enum::CompleteStatusCodeType', '' ] |
64
|
|
|
|
|
|
|
, [ 'EncryptedID', 'xs:string', '', '', '' ] |
65
|
|
|
|
|
|
|
, [ 'ExternalTransaction', 'ns:ExternalTransactionType', '' |
66
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::ExternalTransactionType', '1' ] |
67
|
|
|
|
|
|
|
, [ 'InsuranceType', 'ns:InsuranceSelectedCodeType', '' |
68
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::Enum::InsuranceSelectedCodeType', '' ] |
69
|
|
|
|
|
|
|
, [ 'ItemID', 'ns:ItemIDType', '' |
70
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::ItemIDType', '1' ] |
71
|
|
|
|
|
|
|
, [ 'MultipleSellerPaymentID', 'xs:string', '', '', '' ] |
72
|
|
|
|
|
|
|
, [ 'OrderID', 'xs:string', '', '', '' ] |
73
|
|
|
|
|
|
|
, [ 'PaymentMethodUsed', 'ns:BuyerPaymentMethodCodeType', '' |
74
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::Enum::BuyerPaymentMethodCodeType', '' ] |
75
|
|
|
|
|
|
|
, [ 'PaymentStatus', 'ns:RCSPaymentStatusCodeType', '' |
76
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::Enum::RCSPaymentStatusCodeType', '' ] |
77
|
|
|
|
|
|
|
, [ 'SalesTax', 'ns:AmountType', '' |
78
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::AmountType', '1' ] |
79
|
|
|
|
|
|
|
, [ 'ShippingAddress', 'ns:AddressType', '' |
80
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::AddressType', '1' ] |
81
|
|
|
|
|
|
|
, [ 'ShippingCost', 'ns:AmountType', '' |
82
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::AmountType', '1' ] |
83
|
|
|
|
|
|
|
, [ 'ShippingIncludedInTax', 'xs:boolean', '', '', '' ] |
84
|
|
|
|
|
|
|
, [ 'ShippingInsuranceCost', 'ns:AmountType', '' |
85
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::AmountType', '1' ] |
86
|
|
|
|
|
|
|
, [ 'ShippingService', 'xs:token', '', '', '' ] |
87
|
|
|
|
|
|
|
, [ 'TransactionID', 'xs:string', '', '', '' ] |
88
|
|
|
|
|
|
|
); |
89
|
|
|
|
|
|
|
push @gaProperties, @{eBay::API::XML::RequestDataType::getPropertiesList()}; |
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
my @gaAttributes = ( |
92
|
|
|
|
|
|
|
); |
93
|
|
|
|
|
|
|
push @gaAttributes, @{eBay::API::XML::RequestDataType::getAttributesList()}; |
94
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
=head1 Subroutines: |
96
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
=cut |
98
|
|
|
|
|
|
|
|
99
|
|
|
|
|
|
|
sub new { |
100
|
|
|
|
|
|
|
my $classname = shift; |
101
|
|
|
|
|
|
|
my %args = @_; |
102
|
|
|
|
|
|
|
my $self = $classname->SUPER::new(%args); |
103
|
|
|
|
|
|
|
return $self; |
104
|
|
|
|
|
|
|
} |
105
|
|
|
|
|
|
|
|
106
|
|
|
|
|
|
|
sub isScalar { |
107
|
|
|
|
|
|
|
return 0; |
108
|
|
|
|
|
|
|
} |
109
|
|
|
|
|
|
|
|
110
|
|
|
|
|
|
|
|
111
|
|
|
|
|
|
|
|
112
|
|
|
|
|
|
|
=head2 setAdjustmentAmount() |
113
|
|
|
|
|
|
|
|
114
|
|
|
|
|
|
|
Discount or charge agreed to by the buyer and seller. A positive value |
115
|
|
|
|
|
|
|
indicates that the amount is an extra charge being paid to the seller by |
116
|
|
|
|
|
|
|
the buyer. A negative value indicates that the amount is a discount given |
117
|
|
|
|
|
|
|
to the buyer by the seller. |
118
|
|
|
|
|
|
|
|
119
|
|
|
|
|
|
|
RequiredInput: No |
120
|
|
|
|
|
|
|
# Argument: 'ns:AmountType' |
121
|
|
|
|
|
|
|
|
122
|
|
|
|
|
|
|
=cut |
123
|
|
|
|
|
|
|
|
124
|
|
|
|
|
|
|
sub setAdjustmentAmount { |
125
|
|
|
|
|
|
|
my $self = shift; |
126
|
|
|
|
|
|
|
$self->{'AdjustmentAmount'} = shift |
127
|
|
|
|
|
|
|
} |
128
|
|
|
|
|
|
|
|
129
|
|
|
|
|
|
|
=head2 getAdjustmentAmount() |
130
|
|
|
|
|
|
|
|
131
|
|
|
|
|
|
|
# Returns: 'ns:AmountType' |
132
|
|
|
|
|
|
|
|
133
|
|
|
|
|
|
|
=cut |
134
|
|
|
|
|
|
|
|
135
|
|
|
|
|
|
|
sub getAdjustmentAmount { |
136
|
|
|
|
|
|
|
my $self = shift; |
137
|
|
|
|
|
|
|
return $self->_getDataTypeInstance( 'AdjustmentAmount' |
138
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::AmountType'); |
139
|
|
|
|
|
|
|
} |
140
|
|
|
|
|
|
|
|
141
|
|
|
|
|
|
|
|
142
|
|
|
|
|
|
|
=head2 setAmountPaid() |
143
|
|
|
|
|
|
|
|
144
|
|
|
|
|
|
|
The amount paid by the buyer. For an eBay Stores item, the value passed in |
145
|
|
|
|
|
|
|
AmountPaid is the transaction/item price. For a US eBay Motors item, |
146
|
|
|
|
|
|
|
AmountPaid is the total amount paid by the buyer for the deposit. |
147
|
|
|
|
|
|
|
|
148
|
|
|
|
|
|
|
RequiredInput: No |
149
|
|
|
|
|
|
|
# Argument: 'ns:AmountType' |
150
|
|
|
|
|
|
|
|
151
|
|
|
|
|
|
|
=cut |
152
|
|
|
|
|
|
|
|
153
|
|
|
|
|
|
|
sub setAmountPaid { |
154
|
|
|
|
|
|
|
my $self = shift; |
155
|
|
|
|
|
|
|
$self->{'AmountPaid'} = shift |
156
|
|
|
|
|
|
|
} |
157
|
|
|
|
|
|
|
|
158
|
|
|
|
|
|
|
=head2 getAmountPaid() |
159
|
|
|
|
|
|
|
|
160
|
|
|
|
|
|
|
# Returns: 'ns:AmountType' |
161
|
|
|
|
|
|
|
|
162
|
|
|
|
|
|
|
=cut |
163
|
|
|
|
|
|
|
|
164
|
|
|
|
|
|
|
sub getAmountPaid { |
165
|
|
|
|
|
|
|
my $self = shift; |
166
|
|
|
|
|
|
|
return $self->_getDataTypeInstance( 'AmountPaid' |
167
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::AmountType'); |
168
|
|
|
|
|
|
|
} |
169
|
|
|
|
|
|
|
|
170
|
|
|
|
|
|
|
|
171
|
|
|
|
|
|
|
=head2 setBuyerID() |
172
|
|
|
|
|
|
|
|
173
|
|
|
|
|
|
|
eBay ID for the buyer in the transaction being revised. A transaction is |
174
|
|
|
|
|
|
|
uniquely identified by one of two means: (a) You provide a TransactionID |
175
|
|
|
|
|
|
|
and ItemID. (This is the preferred approach.), OR, (b) You provide a |
176
|
|
|
|
|
|
|
BuyerID and ItemID and eBay identifies only one transaction for that |
177
|
|
|
|
|
|
|
combination (an error is returned if there are multiple transactions for |
178
|
|
|
|
|
|
|
that combination). Note: If all three are provided (that is, BuyerID, |
179
|
|
|
|
|
|
|
ItemID and TransactionID), BuyerID is ignored. |
180
|
|
|
|
|
|
|
|
181
|
|
|
|
|
|
|
RequiredInput: Conditionally |
182
|
|
|
|
|
|
|
# Argument: 'xs:string' |
183
|
|
|
|
|
|
|
|
184
|
|
|
|
|
|
|
=cut |
185
|
|
|
|
|
|
|
|
186
|
|
|
|
|
|
|
sub setBuyerID { |
187
|
|
|
|
|
|
|
my $self = shift; |
188
|
|
|
|
|
|
|
$self->{'BuyerID'} = shift |
189
|
|
|
|
|
|
|
} |
190
|
|
|
|
|
|
|
|
191
|
|
|
|
|
|
|
=head2 getBuyerID() |
192
|
|
|
|
|
|
|
|
193
|
|
|
|
|
|
|
# Returns: 'xs:string' |
194
|
|
|
|
|
|
|
|
195
|
|
|
|
|
|
|
=cut |
196
|
|
|
|
|
|
|
|
197
|
|
|
|
|
|
|
sub getBuyerID { |
198
|
|
|
|
|
|
|
my $self = shift; |
199
|
|
|
|
|
|
|
return $self->{'BuyerID'}; |
200
|
|
|
|
|
|
|
} |
201
|
|
|
|
|
|
|
|
202
|
|
|
|
|
|
|
|
203
|
|
|
|
|
|
|
=head2 setCODCost() |
204
|
|
|
|
|
|
|
|
205
|
|
|
|
|
|
|
Italy site (site ID 101) only. |
206
|
|
|
|
|
|
|
Enables you to specify the cash-on-delivery (COD) cost, for COD shipping. |
207
|
|
|
|
|
|
|
|
208
|
|
|
|
|
|
|
SeeLink: URL: http://developer.ebay.com/DevZone/XML/docs/WebHelp/index.htm?context=eBay_XML_API&topic=CODInShippingDetails |
209
|
|
|
|
|
|
|
Title: Specifying the Cash on Delivery Option in Shipping Details |
210
|
|
|
|
|
|
|
|
211
|
|
|
|
|
|
|
RequiredInput: No |
212
|
|
|
|
|
|
|
# Argument: 'ns:AmountType' |
213
|
|
|
|
|
|
|
|
214
|
|
|
|
|
|
|
=cut |
215
|
|
|
|
|
|
|
|
216
|
|
|
|
|
|
|
sub setCODCost { |
217
|
|
|
|
|
|
|
my $self = shift; |
218
|
|
|
|
|
|
|
$self->{'CODCost'} = shift |
219
|
|
|
|
|
|
|
} |
220
|
|
|
|
|
|
|
|
221
|
|
|
|
|
|
|
=head2 getCODCost() |
222
|
|
|
|
|
|
|
|
223
|
|
|
|
|
|
|
# Returns: 'ns:AmountType' |
224
|
|
|
|
|
|
|
|
225
|
|
|
|
|
|
|
=cut |
226
|
|
|
|
|
|
|
|
227
|
|
|
|
|
|
|
sub getCODCost { |
228
|
|
|
|
|
|
|
my $self = shift; |
229
|
|
|
|
|
|
|
return $self->_getDataTypeInstance( 'CODCost' |
230
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::AmountType'); |
231
|
|
|
|
|
|
|
} |
232
|
|
|
|
|
|
|
|
233
|
|
|
|
|
|
|
|
234
|
|
|
|
|
|
|
=head2 setCheckoutMethod() |
235
|
|
|
|
|
|
|
|
236
|
|
|
|
|
|
|
Not supported. |
237
|
|
|
|
|
|
|
|
238
|
|
|
|
|
|
|
RequiredInput: No |
239
|
|
|
|
|
|
|
# Argument: 'ns:CheckoutMethodCodeType' |
240
|
|
|
|
|
|
|
|
241
|
|
|
|
|
|
|
=cut |
242
|
|
|
|
|
|
|
|
243
|
|
|
|
|
|
|
sub setCheckoutMethod { |
244
|
|
|
|
|
|
|
my $self = shift; |
245
|
|
|
|
|
|
|
$self->{'CheckoutMethod'} = shift |
246
|
|
|
|
|
|
|
} |
247
|
|
|
|
|
|
|
|
248
|
|
|
|
|
|
|
=head2 getCheckoutMethod() |
249
|
|
|
|
|
|
|
|
250
|
|
|
|
|
|
|
# Returns: 'ns:CheckoutMethodCodeType' |
251
|
|
|
|
|
|
|
|
252
|
|
|
|
|
|
|
=cut |
253
|
|
|
|
|
|
|
|
254
|
|
|
|
|
|
|
sub getCheckoutMethod { |
255
|
|
|
|
|
|
|
my $self = shift; |
256
|
|
|
|
|
|
|
return $self->{'CheckoutMethod'}; |
257
|
|
|
|
|
|
|
} |
258
|
|
|
|
|
|
|
|
259
|
|
|
|
|
|
|
|
260
|
|
|
|
|
|
|
=head2 setCheckoutStatus() |
261
|
|
|
|
|
|
|
|
262
|
|
|
|
|
|
|
The current status of the checkout process for the transaction. |
263
|
|
|
|
|
|
|
|
264
|
|
|
|
|
|
|
RequiredInput: Yes |
265
|
|
|
|
|
|
|
# Argument: 'ns:CompleteStatusCodeType' |
266
|
|
|
|
|
|
|
|
267
|
|
|
|
|
|
|
=cut |
268
|
|
|
|
|
|
|
|
269
|
|
|
|
|
|
|
sub setCheckoutStatus { |
270
|
|
|
|
|
|
|
my $self = shift; |
271
|
|
|
|
|
|
|
$self->{'CheckoutStatus'} = shift |
272
|
|
|
|
|
|
|
} |
273
|
|
|
|
|
|
|
|
274
|
|
|
|
|
|
|
=head2 getCheckoutStatus() |
275
|
|
|
|
|
|
|
|
276
|
|
|
|
|
|
|
# Returns: 'ns:CompleteStatusCodeType' |
277
|
|
|
|
|
|
|
|
278
|
|
|
|
|
|
|
=cut |
279
|
|
|
|
|
|
|
|
280
|
|
|
|
|
|
|
sub getCheckoutStatus { |
281
|
|
|
|
|
|
|
my $self = shift; |
282
|
|
|
|
|
|
|
return $self->{'CheckoutStatus'}; |
283
|
|
|
|
|
|
|
} |
284
|
|
|
|
|
|
|
|
285
|
|
|
|
|
|
|
|
286
|
|
|
|
|
|
|
=head2 setEncryptedID() |
287
|
|
|
|
|
|
|
|
288
|
|
|
|
|
|
|
Not supported. |
289
|
|
|
|
|
|
|
|
290
|
|
|
|
|
|
|
MaxLength: 20 |
291
|
|
|
|
|
|
|
|
292
|
|
|
|
|
|
|
RequiredInput: No |
293
|
|
|
|
|
|
|
# Argument: 'xs:string' |
294
|
|
|
|
|
|
|
|
295
|
|
|
|
|
|
|
=cut |
296
|
|
|
|
|
|
|
|
297
|
|
|
|
|
|
|
sub setEncryptedID { |
298
|
|
|
|
|
|
|
my $self = shift; |
299
|
|
|
|
|
|
|
$self->{'EncryptedID'} = shift |
300
|
|
|
|
|
|
|
} |
301
|
|
|
|
|
|
|
|
302
|
|
|
|
|
|
|
=head2 getEncryptedID() |
303
|
|
|
|
|
|
|
|
304
|
|
|
|
|
|
|
# Returns: 'xs:string' |
305
|
|
|
|
|
|
|
|
306
|
|
|
|
|
|
|
=cut |
307
|
|
|
|
|
|
|
|
308
|
|
|
|
|
|
|
sub getEncryptedID { |
309
|
|
|
|
|
|
|
my $self = shift; |
310
|
|
|
|
|
|
|
return $self->{'EncryptedID'}; |
311
|
|
|
|
|
|
|
} |
312
|
|
|
|
|
|
|
|
313
|
|
|
|
|
|
|
|
314
|
|
|
|
|
|
|
=head2 setExternalTransaction() |
315
|
|
|
|
|
|
|
|
316
|
|
|
|
|
|
|
Not supported. |
317
|
|
|
|
|
|
|
|
318
|
|
|
|
|
|
|
RequiredInput: No |
319
|
|
|
|
|
|
|
# Argument: 'ns:ExternalTransactionType' |
320
|
|
|
|
|
|
|
|
321
|
|
|
|
|
|
|
=cut |
322
|
|
|
|
|
|
|
|
323
|
|
|
|
|
|
|
sub setExternalTransaction { |
324
|
|
|
|
|
|
|
my $self = shift; |
325
|
|
|
|
|
|
|
$self->{'ExternalTransaction'} = shift |
326
|
|
|
|
|
|
|
} |
327
|
|
|
|
|
|
|
|
328
|
|
|
|
|
|
|
=head2 getExternalTransaction() |
329
|
|
|
|
|
|
|
|
330
|
|
|
|
|
|
|
# Returns: 'ns:ExternalTransactionType' |
331
|
|
|
|
|
|
|
|
332
|
|
|
|
|
|
|
=cut |
333
|
|
|
|
|
|
|
|
334
|
|
|
|
|
|
|
sub getExternalTransaction { |
335
|
|
|
|
|
|
|
my $self = shift; |
336
|
|
|
|
|
|
|
return $self->_getDataTypeInstance( 'ExternalTransaction' |
337
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::ExternalTransactionType'); |
338
|
|
|
|
|
|
|
} |
339
|
|
|
|
|
|
|
|
340
|
|
|
|
|
|
|
|
341
|
|
|
|
|
|
|
=head2 setInsuranceType() |
342
|
|
|
|
|
|
|
|
343
|
|
|
|
|
|
|
The insurance option selected by the buyer. |
344
|
|
|
|
|
|
|
|
345
|
|
|
|
|
|
|
RequiredInput: No |
346
|
|
|
|
|
|
|
# Argument: 'ns:InsuranceSelectedCodeType' |
347
|
|
|
|
|
|
|
|
348
|
|
|
|
|
|
|
=cut |
349
|
|
|
|
|
|
|
|
350
|
|
|
|
|
|
|
sub setInsuranceType { |
351
|
|
|
|
|
|
|
my $self = shift; |
352
|
|
|
|
|
|
|
$self->{'InsuranceType'} = shift |
353
|
|
|
|
|
|
|
} |
354
|
|
|
|
|
|
|
|
355
|
|
|
|
|
|
|
=head2 getInsuranceType() |
356
|
|
|
|
|
|
|
|
357
|
|
|
|
|
|
|
# Returns: 'ns:InsuranceSelectedCodeType' |
358
|
|
|
|
|
|
|
|
359
|
|
|
|
|
|
|
=cut |
360
|
|
|
|
|
|
|
|
361
|
|
|
|
|
|
|
sub getInsuranceType { |
362
|
|
|
|
|
|
|
my $self = shift; |
363
|
|
|
|
|
|
|
return $self->{'InsuranceType'}; |
364
|
|
|
|
|
|
|
} |
365
|
|
|
|
|
|
|
|
366
|
|
|
|
|
|
|
|
367
|
|
|
|
|
|
|
=head2 setItemID() |
368
|
|
|
|
|
|
|
|
369
|
|
|
|
|
|
|
Unique ID for the item associated with the checkout. A transaction is |
370
|
|
|
|
|
|
|
uniquely identified by one of two means: (a) You provide a TransactionID |
371
|
|
|
|
|
|
|
and ItemID. (This is the preferred approach.), OR, (b) You provide a |
372
|
|
|
|
|
|
|
BuyerID and ItemID and eBay identifies only one transaction for that |
373
|
|
|
|
|
|
|
combination (an error is returned if there are multiple transactions for |
374
|
|
|
|
|
|
|
that combination). Note: If all three are provided (that is, BuyerID, |
375
|
|
|
|
|
|
|
ItemID and TransactionID), BuyerID is ignored. |
376
|
|
|
|
|
|
|
|
377
|
|
|
|
|
|
|
MaxLength: 19 (Note: The eBay database specifies 38. Currently, Item IDs are usually 9 to 12 digits) |
378
|
|
|
|
|
|
|
|
379
|
|
|
|
|
|
|
RequiredInput: Yes |
380
|
|
|
|
|
|
|
# Argument: 'ns:ItemIDType' |
381
|
|
|
|
|
|
|
|
382
|
|
|
|
|
|
|
=cut |
383
|
|
|
|
|
|
|
|
384
|
|
|
|
|
|
|
sub setItemID { |
385
|
|
|
|
|
|
|
my $self = shift; |
386
|
|
|
|
|
|
|
$self->{'ItemID'} = shift |
387
|
|
|
|
|
|
|
} |
388
|
|
|
|
|
|
|
|
389
|
|
|
|
|
|
|
=head2 getItemID() |
390
|
|
|
|
|
|
|
|
391
|
|
|
|
|
|
|
# Returns: 'ns:ItemIDType' |
392
|
|
|
|
|
|
|
|
393
|
|
|
|
|
|
|
=cut |
394
|
|
|
|
|
|
|
|
395
|
|
|
|
|
|
|
sub getItemID { |
396
|
|
|
|
|
|
|
my $self = shift; |
397
|
|
|
|
|
|
|
return $self->_getDataTypeInstance( 'ItemID' |
398
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::ItemIDType'); |
399
|
|
|
|
|
|
|
} |
400
|
|
|
|
|
|
|
|
401
|
|
|
|
|
|
|
|
402
|
|
|
|
|
|
|
=head2 setMultipleSellerPaymentID() |
403
|
|
|
|
|
|
|
|
404
|
|
|
|
|
|
|
Not supported. |
405
|
|
|
|
|
|
|
|
406
|
|
|
|
|
|
|
RequiredInput: No |
407
|
|
|
|
|
|
|
# Argument: 'xs:string' |
408
|
|
|
|
|
|
|
|
409
|
|
|
|
|
|
|
=cut |
410
|
|
|
|
|
|
|
|
411
|
|
|
|
|
|
|
sub setMultipleSellerPaymentID { |
412
|
|
|
|
|
|
|
my $self = shift; |
413
|
|
|
|
|
|
|
$self->{'MultipleSellerPaymentID'} = shift |
414
|
|
|
|
|
|
|
} |
415
|
|
|
|
|
|
|
|
416
|
|
|
|
|
|
|
=head2 getMultipleSellerPaymentID() |
417
|
|
|
|
|
|
|
|
418
|
|
|
|
|
|
|
# Returns: 'xs:string' |
419
|
|
|
|
|
|
|
|
420
|
|
|
|
|
|
|
=cut |
421
|
|
|
|
|
|
|
|
422
|
|
|
|
|
|
|
sub getMultipleSellerPaymentID { |
423
|
|
|
|
|
|
|
my $self = shift; |
424
|
|
|
|
|
|
|
return $self->{'MultipleSellerPaymentID'}; |
425
|
|
|
|
|
|
|
} |
426
|
|
|
|
|
|
|
|
427
|
|
|
|
|
|
|
|
428
|
|
|
|
|
|
|
=head2 setOrderID() |
429
|
|
|
|
|
|
|
|
430
|
|
|
|
|
|
|
Unique ID for a multi-item order. If specified, ItemID and |
431
|
|
|
|
|
|
|
TransactionID are ignored if specified in the same call. |
432
|
|
|
|
|
|
|
Changes to the checkout status are applied to the specified |
433
|
|
|
|
|
|
|
order as a whole (and thus the child transactions |
434
|
|
|
|
|
|
|
associated with the order). |
435
|
|
|
|
|
|
|
|
436
|
|
|
|
|
|
|
RequiredInput: No |
437
|
|
|
|
|
|
|
# Argument: 'xs:string' |
438
|
|
|
|
|
|
|
|
439
|
|
|
|
|
|
|
=cut |
440
|
|
|
|
|
|
|
|
441
|
|
|
|
|
|
|
sub setOrderID { |
442
|
|
|
|
|
|
|
my $self = shift; |
443
|
|
|
|
|
|
|
$self->{'OrderID'} = shift |
444
|
|
|
|
|
|
|
} |
445
|
|
|
|
|
|
|
|
446
|
|
|
|
|
|
|
=head2 getOrderID() |
447
|
|
|
|
|
|
|
|
448
|
|
|
|
|
|
|
# Returns: 'xs:string' |
449
|
|
|
|
|
|
|
|
450
|
|
|
|
|
|
|
=cut |
451
|
|
|
|
|
|
|
|
452
|
|
|
|
|
|
|
sub getOrderID { |
453
|
|
|
|
|
|
|
my $self = shift; |
454
|
|
|
|
|
|
|
return $self->{'OrderID'}; |
455
|
|
|
|
|
|
|
} |
456
|
|
|
|
|
|
|
|
457
|
|
|
|
|
|
|
|
458
|
|
|
|
|
|
|
=head2 setPaymentMethodUsed() |
459
|
|
|
|
|
|
|
|
460
|
|
|
|
|
|
|
Payment method used by the buyer. |
461
|
|
|
|
|
|
|
Required if CheckoutStatus is Complete. |
462
|
|
|
|
|
|
|
(Please note that only PayPal can set this value to PayPal.) |
463
|
|
|
|
|
|
|
|
464
|
|
|
|
|
|
|
Note: |
465
|
|
|
|
|
|
|
Required or allowed payment methods vary by site and category. Refer to |
466
|
|
|
|
|
|
|
|
467
|
|
|
|
|
|
|
Payment Method Differences (PaymentMethod) in the eBay |
468
|
|
|
|
|
|
|
Trading API Guide for information to help you determine which payment |
469
|
|
|
|
|
|
|
methods you are required or allowed to specify. |
470
|
|
|
|
|
|
|
|
471
|
|
|
|
|
|
|
|
472
|
|
|
|
|
|
|
|
473
|
|
|
|
|
|
|
AllValuesExcept: PayPal |
474
|
|
|
|
|
|
|
|
475
|
|
|
|
|
|
|
RequiredInput: Conditionally |
476
|
|
|
|
|
|
|
# Argument: 'ns:BuyerPaymentMethodCodeType' |
477
|
|
|
|
|
|
|
|
478
|
|
|
|
|
|
|
=cut |
479
|
|
|
|
|
|
|
|
480
|
|
|
|
|
|
|
sub setPaymentMethodUsed { |
481
|
|
|
|
|
|
|
my $self = shift; |
482
|
|
|
|
|
|
|
$self->{'PaymentMethodUsed'} = shift |
483
|
|
|
|
|
|
|
} |
484
|
|
|
|
|
|
|
|
485
|
|
|
|
|
|
|
=head2 getPaymentMethodUsed() |
486
|
|
|
|
|
|
|
|
487
|
|
|
|
|
|
|
# Returns: 'ns:BuyerPaymentMethodCodeType' |
488
|
|
|
|
|
|
|
|
489
|
|
|
|
|
|
|
=cut |
490
|
|
|
|
|
|
|
|
491
|
|
|
|
|
|
|
sub getPaymentMethodUsed { |
492
|
|
|
|
|
|
|
my $self = shift; |
493
|
|
|
|
|
|
|
return $self->{'PaymentMethodUsed'}; |
494
|
|
|
|
|
|
|
} |
495
|
|
|
|
|
|
|
|
496
|
|
|
|
|
|
|
|
497
|
|
|
|
|
|
|
=head2 setPaymentStatus() |
498
|
|
|
|
|
|
|
|
499
|
|
|
|
|
|
|
Not supported. |
500
|
|
|
|
|
|
|
|
501
|
|
|
|
|
|
|
RequiredInput: No |
502
|
|
|
|
|
|
|
# Argument: 'ns:RCSPaymentStatusCodeType' |
503
|
|
|
|
|
|
|
|
504
|
|
|
|
|
|
|
=cut |
505
|
|
|
|
|
|
|
|
506
|
|
|
|
|
|
|
sub setPaymentStatus { |
507
|
|
|
|
|
|
|
my $self = shift; |
508
|
|
|
|
|
|
|
$self->{'PaymentStatus'} = shift |
509
|
|
|
|
|
|
|
} |
510
|
|
|
|
|
|
|
|
511
|
|
|
|
|
|
|
=head2 getPaymentStatus() |
512
|
|
|
|
|
|
|
|
513
|
|
|
|
|
|
|
# Returns: 'ns:RCSPaymentStatusCodeType' |
514
|
|
|
|
|
|
|
|
515
|
|
|
|
|
|
|
=cut |
516
|
|
|
|
|
|
|
|
517
|
|
|
|
|
|
|
sub getPaymentStatus { |
518
|
|
|
|
|
|
|
my $self = shift; |
519
|
|
|
|
|
|
|
return $self->{'PaymentStatus'}; |
520
|
|
|
|
|
|
|
} |
521
|
|
|
|
|
|
|
|
522
|
|
|
|
|
|
|
|
523
|
|
|
|
|
|
|
=head2 setSalesTax() |
524
|
|
|
|
|
|
|
|
525
|
|
|
|
|
|
|
Amount of money paid for sales tax. For Third-Party Checkout |
526
|
|
|
|
|
|
|
applications. |
527
|
|
|
|
|
|
|
|
528
|
|
|
|
|
|
|
RequiredInput: No |
529
|
|
|
|
|
|
|
# Argument: 'ns:AmountType' |
530
|
|
|
|
|
|
|
|
531
|
|
|
|
|
|
|
=cut |
532
|
|
|
|
|
|
|
|
533
|
|
|
|
|
|
|
sub setSalesTax { |
534
|
|
|
|
|
|
|
my $self = shift; |
535
|
|
|
|
|
|
|
$self->{'SalesTax'} = shift |
536
|
|
|
|
|
|
|
} |
537
|
|
|
|
|
|
|
|
538
|
|
|
|
|
|
|
=head2 getSalesTax() |
539
|
|
|
|
|
|
|
|
540
|
|
|
|
|
|
|
# Returns: 'ns:AmountType' |
541
|
|
|
|
|
|
|
|
542
|
|
|
|
|
|
|
=cut |
543
|
|
|
|
|
|
|
|
544
|
|
|
|
|
|
|
sub getSalesTax { |
545
|
|
|
|
|
|
|
my $self = shift; |
546
|
|
|
|
|
|
|
return $self->_getDataTypeInstance( 'SalesTax' |
547
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::AmountType'); |
548
|
|
|
|
|
|
|
} |
549
|
|
|
|
|
|
|
|
550
|
|
|
|
|
|
|
|
551
|
|
|
|
|
|
|
=head2 setShippingAddress() |
552
|
|
|
|
|
|
|
|
553
|
|
|
|
|
|
|
For internal use. |
554
|
|
|
|
|
|
|
|
555
|
|
|
|
|
|
|
RequiredInput: No |
556
|
|
|
|
|
|
|
# Argument: 'ns:AddressType' |
557
|
|
|
|
|
|
|
|
558
|
|
|
|
|
|
|
=cut |
559
|
|
|
|
|
|
|
|
560
|
|
|
|
|
|
|
sub setShippingAddress { |
561
|
|
|
|
|
|
|
my $self = shift; |
562
|
|
|
|
|
|
|
$self->{'ShippingAddress'} = shift |
563
|
|
|
|
|
|
|
} |
564
|
|
|
|
|
|
|
|
565
|
|
|
|
|
|
|
=head2 getShippingAddress() |
566
|
|
|
|
|
|
|
|
567
|
|
|
|
|
|
|
# Returns: 'ns:AddressType' |
568
|
|
|
|
|
|
|
|
569
|
|
|
|
|
|
|
=cut |
570
|
|
|
|
|
|
|
|
571
|
|
|
|
|
|
|
sub getShippingAddress { |
572
|
|
|
|
|
|
|
my $self = shift; |
573
|
|
|
|
|
|
|
return $self->_getDataTypeInstance( 'ShippingAddress' |
574
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::AddressType'); |
575
|
|
|
|
|
|
|
} |
576
|
|
|
|
|
|
|
|
577
|
|
|
|
|
|
|
|
578
|
|
|
|
|
|
|
=head2 setShippingCost() |
579
|
|
|
|
|
|
|
|
580
|
|
|
|
|
|
|
Amount of money paid for shipping. For Third-party Checkout |
581
|
|
|
|
|
|
|
applications. |
582
|
|
|
|
|
|
|
|
583
|
|
|
|
|
|
|
RequiredInput: No |
584
|
|
|
|
|
|
|
# Argument: 'ns:AmountType' |
585
|
|
|
|
|
|
|
|
586
|
|
|
|
|
|
|
=cut |
587
|
|
|
|
|
|
|
|
588
|
|
|
|
|
|
|
sub setShippingCost { |
589
|
|
|
|
|
|
|
my $self = shift; |
590
|
|
|
|
|
|
|
$self->{'ShippingCost'} = shift |
591
|
|
|
|
|
|
|
} |
592
|
|
|
|
|
|
|
|
593
|
|
|
|
|
|
|
=head2 getShippingCost() |
594
|
|
|
|
|
|
|
|
595
|
|
|
|
|
|
|
# Returns: 'ns:AmountType' |
596
|
|
|
|
|
|
|
|
597
|
|
|
|
|
|
|
=cut |
598
|
|
|
|
|
|
|
|
599
|
|
|
|
|
|
|
sub getShippingCost { |
600
|
|
|
|
|
|
|
my $self = shift; |
601
|
|
|
|
|
|
|
return $self->_getDataTypeInstance( 'ShippingCost' |
602
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::AmountType'); |
603
|
|
|
|
|
|
|
} |
604
|
|
|
|
|
|
|
|
605
|
|
|
|
|
|
|
|
606
|
|
|
|
|
|
|
=head2 setShippingIncludedInTax() |
607
|
|
|
|
|
|
|
|
608
|
|
|
|
|
|
|
An indicator of whether shipping costs were included in the |
609
|
|
|
|
|
|
|
taxable amount. For Third-Party Checkout applications. |
610
|
|
|
|
|
|
|
|
611
|
|
|
|
|
|
|
Default: false |
612
|
|
|
|
|
|
|
|
613
|
|
|
|
|
|
|
RequiredInput: No |
614
|
|
|
|
|
|
|
# Argument: 'xs:boolean' |
615
|
|
|
|
|
|
|
|
616
|
|
|
|
|
|
|
=cut |
617
|
|
|
|
|
|
|
|
618
|
|
|
|
|
|
|
sub setShippingIncludedInTax { |
619
|
|
|
|
|
|
|
my $self = shift; |
620
|
|
|
|
|
|
|
$self->{'ShippingIncludedInTax'} = shift |
621
|
|
|
|
|
|
|
} |
622
|
|
|
|
|
|
|
|
623
|
|
|
|
|
|
|
=head2 isShippingIncludedInTax() |
624
|
|
|
|
|
|
|
|
625
|
|
|
|
|
|
|
# Returns: 'xs:boolean' |
626
|
|
|
|
|
|
|
|
627
|
|
|
|
|
|
|
=cut |
628
|
|
|
|
|
|
|
|
629
|
|
|
|
|
|
|
sub isShippingIncludedInTax { |
630
|
|
|
|
|
|
|
my $self = shift; |
631
|
|
|
|
|
|
|
return $self->{'ShippingIncludedInTax'}; |
632
|
|
|
|
|
|
|
} |
633
|
|
|
|
|
|
|
|
634
|
|
|
|
|
|
|
|
635
|
|
|
|
|
|
|
=head2 setShippingInsuranceCost() |
636
|
|
|
|
|
|
|
|
637
|
|
|
|
|
|
|
Amount of money paid for insurance. For Third Party Checkout |
638
|
|
|
|
|
|
|
applications. |
639
|
|
|
|
|
|
|
|
640
|
|
|
|
|
|
|
RequiredInput: No |
641
|
|
|
|
|
|
|
# Argument: 'ns:AmountType' |
642
|
|
|
|
|
|
|
|
643
|
|
|
|
|
|
|
=cut |
644
|
|
|
|
|
|
|
|
645
|
|
|
|
|
|
|
sub setShippingInsuranceCost { |
646
|
|
|
|
|
|
|
my $self = shift; |
647
|
|
|
|
|
|
|
$self->{'ShippingInsuranceCost'} = shift |
648
|
|
|
|
|
|
|
} |
649
|
|
|
|
|
|
|
|
650
|
|
|
|
|
|
|
=head2 getShippingInsuranceCost() |
651
|
|
|
|
|
|
|
|
652
|
|
|
|
|
|
|
# Returns: 'ns:AmountType' |
653
|
|
|
|
|
|
|
|
654
|
|
|
|
|
|
|
=cut |
655
|
|
|
|
|
|
|
|
656
|
|
|
|
|
|
|
sub getShippingInsuranceCost { |
657
|
|
|
|
|
|
|
my $self = shift; |
658
|
|
|
|
|
|
|
return $self->_getDataTypeInstance( 'ShippingInsuranceCost' |
659
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::AmountType'); |
660
|
|
|
|
|
|
|
} |
661
|
|
|
|
|
|
|
|
662
|
|
|
|
|
|
|
|
663
|
|
|
|
|
|
|
=head2 setShippingService() |
664
|
|
|
|
|
|
|
|
665
|
|
|
|
|
|
|
The shipping service selected by the buyer from among the shipping |
666
|
|
|
|
|
|
|
services offered by the seller (such as UPS Ground). For a list of valid |
667
|
|
|
|
|
|
|
values that you can cache for future use, call GeteBayDetails with |
668
|
|
|
|
|
|
|
DetailName set to ShippingServiceDetails. |
669
|
|
|
|
|
|
|
|
670
|
|
|
|
|
|
|
RequiredInput: No |
671
|
|
|
|
|
|
|
# Argument: 'xs:token' |
672
|
|
|
|
|
|
|
|
673
|
|
|
|
|
|
|
=cut |
674
|
|
|
|
|
|
|
|
675
|
|
|
|
|
|
|
sub setShippingService { |
676
|
|
|
|
|
|
|
my $self = shift; |
677
|
|
|
|
|
|
|
$self->{'ShippingService'} = shift |
678
|
|
|
|
|
|
|
} |
679
|
|
|
|
|
|
|
|
680
|
|
|
|
|
|
|
=head2 getShippingService() |
681
|
|
|
|
|
|
|
|
682
|
|
|
|
|
|
|
# Returns: 'xs:token' |
683
|
|
|
|
|
|
|
|
684
|
|
|
|
|
|
|
=cut |
685
|
|
|
|
|
|
|
|
686
|
|
|
|
|
|
|
sub getShippingService { |
687
|
|
|
|
|
|
|
my $self = shift; |
688
|
|
|
|
|
|
|
return $self->{'ShippingService'}; |
689
|
|
|
|
|
|
|
} |
690
|
|
|
|
|
|
|
|
691
|
|
|
|
|
|
|
|
692
|
|
|
|
|
|
|
=head2 setTransactionID() |
693
|
|
|
|
|
|
|
|
694
|
|
|
|
|
|
|
Unique ID for the transaction associated with the checkout. For Chinese |
695
|
|
|
|
|
|
|
auctions, the value passed in the TransactionID argument must be 0 or the |
696
|
|
|
|
|
|
|
call will fail with an error. For all other auction types, TransactionID |
697
|
|
|
|
|
|
|
accepts the actual, nonzero transaction ID. Call GetItemTransactionsCall |
698
|
|
|
|
|
|
|
or GetSellerTransactionsCall to determine the correct transaction ID. A |
699
|
|
|
|
|
|
|
transaction is uniquely identified by one of two means: (a) You provide a |
700
|
|
|
|
|
|
|
TransactionID and ItemID. (This is the preferred approach.), OR, (b) You |
701
|
|
|
|
|
|
|
provide a BuyerID and ItemID and eBay identifies only one transaction for |
702
|
|
|
|
|
|
|
that combination (an error is returned if there are multiple transactions |
703
|
|
|
|
|
|
|
for that combination). Note: If all three are provided (that is, BuyerID, |
704
|
|
|
|
|
|
|
ItemID and TransactionID), BuyerID is ignored. |
705
|
|
|
|
|
|
|
|
706
|
|
|
|
|
|
|
MaxLength: 19 (Note: The eBay database specifies 38. Currently, transaction IDs are usually 9 to 12 digits.) |
707
|
|
|
|
|
|
|
|
708
|
|
|
|
|
|
|
RequiredInput: Conditionally |
709
|
|
|
|
|
|
|
# Argument: 'xs:string' |
710
|
|
|
|
|
|
|
|
711
|
|
|
|
|
|
|
=cut |
712
|
|
|
|
|
|
|
|
713
|
|
|
|
|
|
|
sub setTransactionID { |
714
|
|
|
|
|
|
|
my $self = shift; |
715
|
|
|
|
|
|
|
$self->{'TransactionID'} = shift |
716
|
|
|
|
|
|
|
} |
717
|
|
|
|
|
|
|
|
718
|
|
|
|
|
|
|
=head2 getTransactionID() |
719
|
|
|
|
|
|
|
|
720
|
|
|
|
|
|
|
# Returns: 'xs:string' |
721
|
|
|
|
|
|
|
|
722
|
|
|
|
|
|
|
=cut |
723
|
|
|
|
|
|
|
|
724
|
|
|
|
|
|
|
sub getTransactionID { |
725
|
|
|
|
|
|
|
my $self = shift; |
726
|
|
|
|
|
|
|
return $self->{'TransactionID'}; |
727
|
|
|
|
|
|
|
} |
728
|
|
|
|
|
|
|
|
729
|
|
|
|
|
|
|
|
730
|
|
|
|
|
|
|
|
731
|
|
|
|
|
|
|
|
732
|
|
|
|
|
|
|
|
733
|
|
|
|
|
|
|
## Attribute and Property lists |
734
|
|
|
|
|
|
|
sub getPropertiesList { |
735
|
|
|
|
|
|
|
my $self = shift; |
736
|
|
|
|
|
|
|
return \@gaProperties; |
737
|
|
|
|
|
|
|
} |
738
|
|
|
|
|
|
|
|
739
|
|
|
|
|
|
|
sub getAttributesList { |
740
|
|
|
|
|
|
|
my $self = shift; |
741
|
|
|
|
|
|
|
return \@gaAttributes; |
742
|
|
|
|
|
|
|
} |
743
|
|
|
|
|
|
|
|
744
|
|
|
|
|
|
|
|
745
|
|
|
|
|
|
|
|
746
|
|
|
|
|
|
|
1; |