line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
#!/usr/bin/perl |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package eBay::API::XML::DataType::SellerPaymentType; |
4
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
1186
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
27
|
|
6
|
1
|
|
|
1
|
|
4
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
26
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
########################################################################## |
9
|
|
|
|
|
|
|
# |
10
|
|
|
|
|
|
|
# Module: ............... eBay/API/XML |
11
|
|
|
|
|
|
|
# File: ................. SellerPaymentType.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::DataType::SellerPaymentType |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 DESCRIPTION |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
A payment between Half.com and a seller. The financial value of a payment is |
25
|
|
|
|
|
|
|
typically based on an amount that a buyer paid to Half.com for a transaction, plus |
26
|
|
|
|
|
|
|
the shipping cost the buyer paid for the item, minus Half.com's commission. Each |
27
|
|
|
|
|
|
|
payment is for one transaction for one item in one order. |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
=head1 SYNOPSIS |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=cut |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
=head1 INHERITANCE |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
eBay::API::XML::DataType::SellerPaymentType inherits from the L class |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
=cut |
41
|
|
|
|
|
|
|
|
42
|
1
|
|
|
1
|
|
35
|
use eBay::API::XML::BaseDataType; |
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
our @ISA = ("eBay::API::XML::BaseDataType"); |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
use eBay::API::XML::DataType::AmountType; |
46
|
|
|
|
|
|
|
use eBay::API::XML::DataType::ExternalProductIDType; |
47
|
|
|
|
|
|
|
use eBay::API::XML::DataType::ItemIDType; |
48
|
|
|
|
|
|
|
use eBay::API::XML::DataType::OrderIDType; |
49
|
|
|
|
|
|
|
use eBay::API::XML::DataType::Enum::PaymentTypeCodeType; |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
my @gaProperties = ( [ 'AmountPaid', 'ns:AmountType', '' |
53
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::AmountType', '1' ] |
54
|
|
|
|
|
|
|
, [ 'Commission', 'ns:AmountType', '' |
55
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::AmountType', '1' ] |
56
|
|
|
|
|
|
|
, [ 'ExternalProductID', 'ns:ExternalProductIDType', '' |
57
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::ExternalProductIDType', '1' ] |
58
|
|
|
|
|
|
|
, [ 'ItemID', 'ns:ItemIDType', '' |
59
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::ItemIDType', '1' ] |
60
|
|
|
|
|
|
|
, [ 'OrderID', 'ns:OrderIDType', '' |
61
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::OrderIDType', '1' ] |
62
|
|
|
|
|
|
|
, [ 'PaidTime', 'xs:dateTime', '', '', '' ] |
63
|
|
|
|
|
|
|
, [ 'PaymentType', 'ns:PaymentTypeCodeType', '' |
64
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::Enum::PaymentTypeCodeType', '' ] |
65
|
|
|
|
|
|
|
, [ 'PrivateNotes', 'xs:string', '', '', '' ] |
66
|
|
|
|
|
|
|
, [ 'SellerInventoryID', 'xs:string', '', '', '' ] |
67
|
|
|
|
|
|
|
, [ 'ShippingReimbursement', 'ns:AmountType', '' |
68
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::AmountType', '1' ] |
69
|
|
|
|
|
|
|
, [ 'Title', 'xs:string', '', '', '' ] |
70
|
|
|
|
|
|
|
, [ 'TransactionID', 'xs:string', '', '', '' ] |
71
|
|
|
|
|
|
|
, [ 'TransactionPrice', 'ns:AmountType', '' |
72
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::AmountType', '1' ] |
73
|
|
|
|
|
|
|
); |
74
|
|
|
|
|
|
|
push @gaProperties, @{eBay::API::XML::BaseDataType::getPropertiesList()}; |
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
my @gaAttributes = ( |
77
|
|
|
|
|
|
|
); |
78
|
|
|
|
|
|
|
push @gaAttributes, @{eBay::API::XML::BaseDataType::getAttributesList()}; |
79
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
=head1 Subroutines: |
81
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
=cut |
83
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
sub new { |
85
|
|
|
|
|
|
|
my $classname = shift; |
86
|
|
|
|
|
|
|
my %args = @_; |
87
|
|
|
|
|
|
|
my $self = $classname->SUPER::new(%args); |
88
|
|
|
|
|
|
|
return $self; |
89
|
|
|
|
|
|
|
} |
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
sub isScalar { |
92
|
|
|
|
|
|
|
return 0; |
93
|
|
|
|
|
|
|
} |
94
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
=head2 setAmountPaid() |
98
|
|
|
|
|
|
|
|
99
|
|
|
|
|
|
|
Payment amount made by buyer for the Half.com transaction. |
100
|
|
|
|
|
|
|
|
101
|
|
|
|
|
|
|
# Argument: 'ns:AmountType' |
102
|
|
|
|
|
|
|
|
103
|
|
|
|
|
|
|
=cut |
104
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
sub setAmountPaid { |
106
|
|
|
|
|
|
|
my $self = shift; |
107
|
|
|
|
|
|
|
$self->{'AmountPaid'} = shift |
108
|
|
|
|
|
|
|
} |
109
|
|
|
|
|
|
|
|
110
|
|
|
|
|
|
|
=head2 getAmountPaid() |
111
|
|
|
|
|
|
|
|
112
|
|
|
|
|
|
|
Calls: GetSellerPayments |
113
|
|
|
|
|
|
|
Returned: Always |
114
|
|
|
|
|
|
|
|
115
|
|
|
|
|
|
|
# Returns: 'ns:AmountType' |
116
|
|
|
|
|
|
|
|
117
|
|
|
|
|
|
|
=cut |
118
|
|
|
|
|
|
|
|
119
|
|
|
|
|
|
|
sub getAmountPaid { |
120
|
|
|
|
|
|
|
my $self = shift; |
121
|
|
|
|
|
|
|
return $self->_getDataTypeInstance( 'AmountPaid' |
122
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::AmountType'); |
123
|
|
|
|
|
|
|
} |
124
|
|
|
|
|
|
|
|
125
|
|
|
|
|
|
|
|
126
|
|
|
|
|
|
|
=head2 setCommission() |
127
|
|
|
|
|
|
|
|
128
|
|
|
|
|
|
|
Amount of commission charged by Half.com. |
129
|
|
|
|
|
|
|
|
130
|
|
|
|
|
|
|
# Argument: 'ns:AmountType' |
131
|
|
|
|
|
|
|
|
132
|
|
|
|
|
|
|
=cut |
133
|
|
|
|
|
|
|
|
134
|
|
|
|
|
|
|
sub setCommission { |
135
|
|
|
|
|
|
|
my $self = shift; |
136
|
|
|
|
|
|
|
$self->{'Commission'} = shift |
137
|
|
|
|
|
|
|
} |
138
|
|
|
|
|
|
|
|
139
|
|
|
|
|
|
|
=head2 getCommission() |
140
|
|
|
|
|
|
|
|
141
|
|
|
|
|
|
|
Calls: GetSellerPayments |
142
|
|
|
|
|
|
|
Returned: Always |
143
|
|
|
|
|
|
|
|
144
|
|
|
|
|
|
|
# Returns: 'ns:AmountType' |
145
|
|
|
|
|
|
|
|
146
|
|
|
|
|
|
|
=cut |
147
|
|
|
|
|
|
|
|
148
|
|
|
|
|
|
|
sub getCommission { |
149
|
|
|
|
|
|
|
my $self = shift; |
150
|
|
|
|
|
|
|
return $self->_getDataTypeInstance( 'Commission' |
151
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::AmountType'); |
152
|
|
|
|
|
|
|
} |
153
|
|
|
|
|
|
|
|
154
|
|
|
|
|
|
|
|
155
|
|
|
|
|
|
|
=head2 setExternalProductID() |
156
|
|
|
|
|
|
|
|
157
|
|
|
|
|
|
|
Contains an ISBN, UPC, or EAN value from the catalog product associated with |
158
|
|
|
|
|
|
|
the Half.com item. All Half.com items are listed with Pre-filled Item |
159
|
|
|
|
|
|
|
Information. |
160
|
|
|
|
|
|
|
|
161
|
|
|
|
|
|
|
# Argument: 'ns:ExternalProductIDType' |
162
|
|
|
|
|
|
|
|
163
|
|
|
|
|
|
|
=cut |
164
|
|
|
|
|
|
|
|
165
|
|
|
|
|
|
|
sub setExternalProductID { |
166
|
|
|
|
|
|
|
my $self = shift; |
167
|
|
|
|
|
|
|
$self->{'ExternalProductID'} = shift |
168
|
|
|
|
|
|
|
} |
169
|
|
|
|
|
|
|
|
170
|
|
|
|
|
|
|
=head2 getExternalProductID() |
171
|
|
|
|
|
|
|
|
172
|
|
|
|
|
|
|
Calls: GetSellerPayments |
173
|
|
|
|
|
|
|
Returned: Always |
174
|
|
|
|
|
|
|
|
175
|
|
|
|
|
|
|
# Returns: 'ns:ExternalProductIDType' |
176
|
|
|
|
|
|
|
|
177
|
|
|
|
|
|
|
=cut |
178
|
|
|
|
|
|
|
|
179
|
|
|
|
|
|
|
sub getExternalProductID { |
180
|
|
|
|
|
|
|
my $self = shift; |
181
|
|
|
|
|
|
|
return $self->_getDataTypeInstance( 'ExternalProductID' |
182
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::ExternalProductIDType'); |
183
|
|
|
|
|
|
|
} |
184
|
|
|
|
|
|
|
|
185
|
|
|
|
|
|
|
|
186
|
|
|
|
|
|
|
=head2 setItemID() |
187
|
|
|
|
|
|
|
|
188
|
|
|
|
|
|
|
ID of the Half.com item associated with the payment. |
189
|
|
|
|
|
|
|
|
190
|
|
|
|
|
|
|
MaxLength: 19 (Note: The eBay database specifies 38. Currently, Item IDs are usually 9 to 12 digits) |
191
|
|
|
|
|
|
|
|
192
|
|
|
|
|
|
|
# Argument: 'ns:ItemIDType' |
193
|
|
|
|
|
|
|
|
194
|
|
|
|
|
|
|
=cut |
195
|
|
|
|
|
|
|
|
196
|
|
|
|
|
|
|
sub setItemID { |
197
|
|
|
|
|
|
|
my $self = shift; |
198
|
|
|
|
|
|
|
$self->{'ItemID'} = shift |
199
|
|
|
|
|
|
|
} |
200
|
|
|
|
|
|
|
|
201
|
|
|
|
|
|
|
=head2 getItemID() |
202
|
|
|
|
|
|
|
|
203
|
|
|
|
|
|
|
Calls: GetSellerPayments |
204
|
|
|
|
|
|
|
Returned: Always |
205
|
|
|
|
|
|
|
|
206
|
|
|
|
|
|
|
# Returns: 'ns:ItemIDType' |
207
|
|
|
|
|
|
|
|
208
|
|
|
|
|
|
|
=cut |
209
|
|
|
|
|
|
|
|
210
|
|
|
|
|
|
|
sub getItemID { |
211
|
|
|
|
|
|
|
my $self = shift; |
212
|
|
|
|
|
|
|
return $self->_getDataTypeInstance( 'ItemID' |
213
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::ItemIDType'); |
214
|
|
|
|
|
|
|
} |
215
|
|
|
|
|
|
|
|
216
|
|
|
|
|
|
|
|
217
|
|
|
|
|
|
|
=head2 setOrderID() |
218
|
|
|
|
|
|
|
|
219
|
|
|
|
|
|
|
ID of the Half.com order associated with the payment. |
220
|
|
|
|
|
|
|
Returns 0 for single-transaction orders. |
221
|
|
|
|
|
|
|
|
222
|
|
|
|
|
|
|
# Argument: 'ns:OrderIDType' |
223
|
|
|
|
|
|
|
|
224
|
|
|
|
|
|
|
=cut |
225
|
|
|
|
|
|
|
|
226
|
|
|
|
|
|
|
sub setOrderID { |
227
|
|
|
|
|
|
|
my $self = shift; |
228
|
|
|
|
|
|
|
$self->{'OrderID'} = shift |
229
|
|
|
|
|
|
|
} |
230
|
|
|
|
|
|
|
|
231
|
|
|
|
|
|
|
=head2 getOrderID() |
232
|
|
|
|
|
|
|
|
233
|
|
|
|
|
|
|
Calls: GetSellerPayments |
234
|
|
|
|
|
|
|
Returned: Always |
235
|
|
|
|
|
|
|
|
236
|
|
|
|
|
|
|
# Returns: 'ns:OrderIDType' |
237
|
|
|
|
|
|
|
|
238
|
|
|
|
|
|
|
=cut |
239
|
|
|
|
|
|
|
|
240
|
|
|
|
|
|
|
sub getOrderID { |
241
|
|
|
|
|
|
|
my $self = shift; |
242
|
|
|
|
|
|
|
return $self->_getDataTypeInstance( 'OrderID' |
243
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::OrderIDType'); |
244
|
|
|
|
|
|
|
} |
245
|
|
|
|
|
|
|
|
246
|
|
|
|
|
|
|
|
247
|
|
|
|
|
|
|
=head2 setPaidTime() |
248
|
|
|
|
|
|
|
|
249
|
|
|
|
|
|
|
The time and date when Half.com created the payment. (A payment is created |
250
|
|
|
|
|
|
|
when the buyer pays for an order.) This time is specified in GMT (not Pacific |
251
|
|
|
|
|
|
|
time). See "Time Values" in the eBay Web Services guide for information about |
252
|
|
|
|
|
|
|
converting between GMT and other time zones. |
253
|
|
|
|
|
|
|
|
254
|
|
|
|
|
|
|
# Argument: 'xs:dateTime' |
255
|
|
|
|
|
|
|
|
256
|
|
|
|
|
|
|
=cut |
257
|
|
|
|
|
|
|
|
258
|
|
|
|
|
|
|
sub setPaidTime { |
259
|
|
|
|
|
|
|
my $self = shift; |
260
|
|
|
|
|
|
|
$self->{'PaidTime'} = shift |
261
|
|
|
|
|
|
|
} |
262
|
|
|
|
|
|
|
|
263
|
|
|
|
|
|
|
=head2 getPaidTime() |
264
|
|
|
|
|
|
|
|
265
|
|
|
|
|
|
|
Calls: GetSellerPayments |
266
|
|
|
|
|
|
|
Returned: Always |
267
|
|
|
|
|
|
|
|
268
|
|
|
|
|
|
|
# Returns: 'xs:dateTime' |
269
|
|
|
|
|
|
|
|
270
|
|
|
|
|
|
|
=cut |
271
|
|
|
|
|
|
|
|
272
|
|
|
|
|
|
|
sub getPaidTime { |
273
|
|
|
|
|
|
|
my $self = shift; |
274
|
|
|
|
|
|
|
return $self->{'PaidTime'}; |
275
|
|
|
|
|
|
|
} |
276
|
|
|
|
|
|
|
|
277
|
|
|
|
|
|
|
|
278
|
|
|
|
|
|
|
=head2 setPaymentType() |
279
|
|
|
|
|
|
|
|
280
|
|
|
|
|
|
|
Indicates whether the payment is for a Half.com sale or a refund. |
281
|
|
|
|
|
|
|
|
282
|
|
|
|
|
|
|
# Argument: 'ns:PaymentTypeCodeType' |
283
|
|
|
|
|
|
|
|
284
|
|
|
|
|
|
|
=cut |
285
|
|
|
|
|
|
|
|
286
|
|
|
|
|
|
|
sub setPaymentType { |
287
|
|
|
|
|
|
|
my $self = shift; |
288
|
|
|
|
|
|
|
$self->{'PaymentType'} = shift |
289
|
|
|
|
|
|
|
} |
290
|
|
|
|
|
|
|
|
291
|
|
|
|
|
|
|
=head2 getPaymentType() |
292
|
|
|
|
|
|
|
|
293
|
|
|
|
|
|
|
Calls: GetSellerPayments |
294
|
|
|
|
|
|
|
Returned: Always |
295
|
|
|
|
|
|
|
OnlyTheseValues: Sale, Refund |
296
|
|
|
|
|
|
|
|
297
|
|
|
|
|
|
|
# Returns: 'ns:PaymentTypeCodeType' |
298
|
|
|
|
|
|
|
|
299
|
|
|
|
|
|
|
=cut |
300
|
|
|
|
|
|
|
|
301
|
|
|
|
|
|
|
sub getPaymentType { |
302
|
|
|
|
|
|
|
my $self = shift; |
303
|
|
|
|
|
|
|
return $self->{'PaymentType'}; |
304
|
|
|
|
|
|
|
} |
305
|
|
|
|
|
|
|
|
306
|
|
|
|
|
|
|
|
307
|
|
|
|
|
|
|
=head2 setPrivateNotes() |
308
|
|
|
|
|
|
|
|
309
|
|
|
|
|
|
|
A text note that the seller specified for the Half.com item, if any. Only |
310
|
|
|
|
|
|
|
visible to the seller. Not returned if the seller specified no notes. |
311
|
|
|
|
|
|
|
|
312
|
|
|
|
|
|
|
# Argument: 'xs:string' |
313
|
|
|
|
|
|
|
|
314
|
|
|
|
|
|
|
=cut |
315
|
|
|
|
|
|
|
|
316
|
|
|
|
|
|
|
sub setPrivateNotes { |
317
|
|
|
|
|
|
|
my $self = shift; |
318
|
|
|
|
|
|
|
$self->{'PrivateNotes'} = shift |
319
|
|
|
|
|
|
|
} |
320
|
|
|
|
|
|
|
|
321
|
|
|
|
|
|
|
=head2 getPrivateNotes() |
322
|
|
|
|
|
|
|
|
323
|
|
|
|
|
|
|
Calls: GetSellerPayments |
324
|
|
|
|
|
|
|
Returned: Conditionally |
325
|
|
|
|
|
|
|
|
326
|
|
|
|
|
|
|
# Returns: 'xs:string' |
327
|
|
|
|
|
|
|
|
328
|
|
|
|
|
|
|
=cut |
329
|
|
|
|
|
|
|
|
330
|
|
|
|
|
|
|
sub getPrivateNotes { |
331
|
|
|
|
|
|
|
my $self = shift; |
332
|
|
|
|
|
|
|
return $self->{'PrivateNotes'}; |
333
|
|
|
|
|
|
|
} |
334
|
|
|
|
|
|
|
|
335
|
|
|
|
|
|
|
|
336
|
|
|
|
|
|
|
=head2 setSellerInventoryID() |
337
|
|
|
|
|
|
|
|
338
|
|
|
|
|
|
|
An ID that the seller specified when they listed the Half.com item, if any. It |
339
|
|
|
|
|
|
|
can be used for the seller's SKU. Note that SellerInventoryID is not returned |
340
|
|
|
|
|
|
|
if no ID was specified. (Note: The SKU field used for eBay.com listings is not |
341
|
|
|
|
|
|
|
applicable to Half.com listings.) |
342
|
|
|
|
|
|
|
|
343
|
|
|
|
|
|
|
# Argument: 'xs:string' |
344
|
|
|
|
|
|
|
|
345
|
|
|
|
|
|
|
=cut |
346
|
|
|
|
|
|
|
|
347
|
|
|
|
|
|
|
sub setSellerInventoryID { |
348
|
|
|
|
|
|
|
my $self = shift; |
349
|
|
|
|
|
|
|
$self->{'SellerInventoryID'} = shift |
350
|
|
|
|
|
|
|
} |
351
|
|
|
|
|
|
|
|
352
|
|
|
|
|
|
|
=head2 getSellerInventoryID() |
353
|
|
|
|
|
|
|
|
354
|
|
|
|
|
|
|
Calls: GetSellerPayments |
355
|
|
|
|
|
|
|
Returned: Conditionally |
356
|
|
|
|
|
|
|
|
357
|
|
|
|
|
|
|
# Returns: 'xs:string' |
358
|
|
|
|
|
|
|
|
359
|
|
|
|
|
|
|
=cut |
360
|
|
|
|
|
|
|
|
361
|
|
|
|
|
|
|
sub getSellerInventoryID { |
362
|
|
|
|
|
|
|
my $self = shift; |
363
|
|
|
|
|
|
|
return $self->{'SellerInventoryID'}; |
364
|
|
|
|
|
|
|
} |
365
|
|
|
|
|
|
|
|
366
|
|
|
|
|
|
|
|
367
|
|
|
|
|
|
|
=head2 setShippingReimbursement() |
368
|
|
|
|
|
|
|
|
369
|
|
|
|
|
|
|
The adjusted shipping cost that Half.com pays the seller. If multiple items |
370
|
|
|
|
|
|
|
from the same seller are in the same order, this amount may be less than the |
371
|
|
|
|
|
|
|
rate for shipping the item individually. This amount may also be adjusted due |
372
|
|
|
|
|
|
|
to Half.com handling charges. (Due to the way shipping costs are calculated, |
373
|
|
|
|
|
|
|
this value may be different for identical items in different orders.) |
374
|
|
|
|
|
|
|
|
375
|
|
|
|
|
|
|
# Argument: 'ns:AmountType' |
376
|
|
|
|
|
|
|
|
377
|
|
|
|
|
|
|
=cut |
378
|
|
|
|
|
|
|
|
379
|
|
|
|
|
|
|
sub setShippingReimbursement { |
380
|
|
|
|
|
|
|
my $self = shift; |
381
|
|
|
|
|
|
|
$self->{'ShippingReimbursement'} = shift |
382
|
|
|
|
|
|
|
} |
383
|
|
|
|
|
|
|
|
384
|
|
|
|
|
|
|
=head2 getShippingReimbursement() |
385
|
|
|
|
|
|
|
|
386
|
|
|
|
|
|
|
Calls: GetSellerPayments |
387
|
|
|
|
|
|
|
Returned: Always |
388
|
|
|
|
|
|
|
|
389
|
|
|
|
|
|
|
# Returns: 'ns:AmountType' |
390
|
|
|
|
|
|
|
|
391
|
|
|
|
|
|
|
=cut |
392
|
|
|
|
|
|
|
|
393
|
|
|
|
|
|
|
sub getShippingReimbursement { |
394
|
|
|
|
|
|
|
my $self = shift; |
395
|
|
|
|
|
|
|
return $self->_getDataTypeInstance( 'ShippingReimbursement' |
396
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::AmountType'); |
397
|
|
|
|
|
|
|
} |
398
|
|
|
|
|
|
|
|
399
|
|
|
|
|
|
|
|
400
|
|
|
|
|
|
|
=head2 setTitle() |
401
|
|
|
|
|
|
|
|
402
|
|
|
|
|
|
|
The title of the listing, as it appears on Half.com. |
403
|
|
|
|
|
|
|
|
404
|
|
|
|
|
|
|
# Argument: 'xs:string' |
405
|
|
|
|
|
|
|
|
406
|
|
|
|
|
|
|
=cut |
407
|
|
|
|
|
|
|
|
408
|
|
|
|
|
|
|
sub setTitle { |
409
|
|
|
|
|
|
|
my $self = shift; |
410
|
|
|
|
|
|
|
$self->{'Title'} = shift |
411
|
|
|
|
|
|
|
} |
412
|
|
|
|
|
|
|
|
413
|
|
|
|
|
|
|
=head2 getTitle() |
414
|
|
|
|
|
|
|
|
415
|
|
|
|
|
|
|
Calls: GetSellerPayments |
416
|
|
|
|
|
|
|
Returned: Always |
417
|
|
|
|
|
|
|
|
418
|
|
|
|
|
|
|
# Returns: 'xs:string' |
419
|
|
|
|
|
|
|
|
420
|
|
|
|
|
|
|
=cut |
421
|
|
|
|
|
|
|
|
422
|
|
|
|
|
|
|
sub getTitle { |
423
|
|
|
|
|
|
|
my $self = shift; |
424
|
|
|
|
|
|
|
return $self->{'Title'}; |
425
|
|
|
|
|
|
|
} |
426
|
|
|
|
|
|
|
|
427
|
|
|
|
|
|
|
|
428
|
|
|
|
|
|
|
=head2 setTransactionID() |
429
|
|
|
|
|
|
|
|
430
|
|
|
|
|
|
|
ID of the Half.com transaction associated with the payment. |
431
|
|
|
|
|
|
|
|
432
|
|
|
|
|
|
|
MaxLength: 19 (Note: The eBay database specifies 38. Currently, transaction IDs are usually 9 to 12 digits.) |
433
|
|
|
|
|
|
|
|
434
|
|
|
|
|
|
|
# Argument: 'xs:string' |
435
|
|
|
|
|
|
|
|
436
|
|
|
|
|
|
|
=cut |
437
|
|
|
|
|
|
|
|
438
|
|
|
|
|
|
|
sub setTransactionID { |
439
|
|
|
|
|
|
|
my $self = shift; |
440
|
|
|
|
|
|
|
$self->{'TransactionID'} = shift |
441
|
|
|
|
|
|
|
} |
442
|
|
|
|
|
|
|
|
443
|
|
|
|
|
|
|
=head2 getTransactionID() |
444
|
|
|
|
|
|
|
|
445
|
|
|
|
|
|
|
Calls: GetSellerPayments |
446
|
|
|
|
|
|
|
Returned: Always |
447
|
|
|
|
|
|
|
|
448
|
|
|
|
|
|
|
# Returns: 'xs:string' |
449
|
|
|
|
|
|
|
|
450
|
|
|
|
|
|
|
=cut |
451
|
|
|
|
|
|
|
|
452
|
|
|
|
|
|
|
sub getTransactionID { |
453
|
|
|
|
|
|
|
my $self = shift; |
454
|
|
|
|
|
|
|
return $self->{'TransactionID'}; |
455
|
|
|
|
|
|
|
} |
456
|
|
|
|
|
|
|
|
457
|
|
|
|
|
|
|
|
458
|
|
|
|
|
|
|
=head2 setTransactionPrice() |
459
|
|
|
|
|
|
|
|
460
|
|
|
|
|
|
|
Price of the transaction specified by TransactionID (before shipping and other |
461
|
|
|
|
|
|
|
costs). |
462
|
|
|
|
|
|
|
|
463
|
|
|
|
|
|
|
# Argument: 'ns:AmountType' |
464
|
|
|
|
|
|
|
|
465
|
|
|
|
|
|
|
=cut |
466
|
|
|
|
|
|
|
|
467
|
|
|
|
|
|
|
sub setTransactionPrice { |
468
|
|
|
|
|
|
|
my $self = shift; |
469
|
|
|
|
|
|
|
$self->{'TransactionPrice'} = shift |
470
|
|
|
|
|
|
|
} |
471
|
|
|
|
|
|
|
|
472
|
|
|
|
|
|
|
=head2 getTransactionPrice() |
473
|
|
|
|
|
|
|
|
474
|
|
|
|
|
|
|
Calls: GetSellerPayments |
475
|
|
|
|
|
|
|
Returned: Always |
476
|
|
|
|
|
|
|
|
477
|
|
|
|
|
|
|
# Returns: 'ns:AmountType' |
478
|
|
|
|
|
|
|
|
479
|
|
|
|
|
|
|
=cut |
480
|
|
|
|
|
|
|
|
481
|
|
|
|
|
|
|
sub getTransactionPrice { |
482
|
|
|
|
|
|
|
my $self = shift; |
483
|
|
|
|
|
|
|
return $self->_getDataTypeInstance( 'TransactionPrice' |
484
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::AmountType'); |
485
|
|
|
|
|
|
|
} |
486
|
|
|
|
|
|
|
|
487
|
|
|
|
|
|
|
|
488
|
|
|
|
|
|
|
|
489
|
|
|
|
|
|
|
|
490
|
|
|
|
|
|
|
|
491
|
|
|
|
|
|
|
## Attribute and Property lists |
492
|
|
|
|
|
|
|
sub getPropertiesList { |
493
|
|
|
|
|
|
|
my $self = shift; |
494
|
|
|
|
|
|
|
return \@gaProperties; |
495
|
|
|
|
|
|
|
} |
496
|
|
|
|
|
|
|
|
497
|
|
|
|
|
|
|
sub getAttributesList { |
498
|
|
|
|
|
|
|
my $self = shift; |
499
|
|
|
|
|
|
|
return \@gaAttributes; |
500
|
|
|
|
|
|
|
} |
501
|
|
|
|
|
|
|
|
502
|
|
|
|
|
|
|
|
503
|
|
|
|
|
|
|
|
504
|
|
|
|
|
|
|
1; |