line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
#!/usr/bin/perl |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package eBay::API::XML::Call::GetSellerTransactions::GetSellerTransactionsRequestType; |
4
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
1463
|
use strict; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
34
|
|
6
|
1
|
|
|
1
|
|
4
|
use warnings; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
28
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
########################################################################## |
9
|
|
|
|
|
|
|
# |
10
|
|
|
|
|
|
|
# Module: ............... eBay/API/XML |
11
|
|
|
|
|
|
|
# File: ................. GetSellerTransactionsRequestType.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::GetSellerTransactions::GetSellerTransactionsRequestType |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 DESCRIPTION |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
Retrieves transaction information for the user for which the call is made (and |
25
|
|
|
|
|
|
|
not for any other user), where a transaction is the information about the sale |
26
|
|
|
|
|
|
|
of one or more items by one buyer from a single listing. (To retrieve |
27
|
|
|
|
|
|
|
transactions for another seller's listing, use GetItemTransactions.) |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
=head1 SYNOPSIS |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=cut |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
=head1 INHERITANCE |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
eBay::API::XML::Call::GetSellerTransactions::GetSellerTransactionsRequestType inherits from the L class |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
=cut |
41
|
|
|
|
|
|
|
|
42
|
1
|
|
|
1
|
|
34
|
use eBay::API::XML::RequestDataType; |
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
our @ISA = ("eBay::API::XML::RequestDataType"); |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
use eBay::API::XML::DataType::PaginationType; |
46
|
|
|
|
|
|
|
use eBay::API::XML::DataType::SKUArrayType; |
47
|
|
|
|
|
|
|
use eBay::API::XML::DataType::Enum::TransactionPlatformCodeType; |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
my @gaProperties = ( [ 'IncludeContainingOrder', 'xs:boolean', '', '', '' ] |
51
|
|
|
|
|
|
|
, [ 'IncludeFinalValueFee', 'xs:boolean', '', '', '' ] |
52
|
|
|
|
|
|
|
, [ 'ModTimeFrom', 'xs:dateTime', '', '', '' ] |
53
|
|
|
|
|
|
|
, [ 'ModTimeTo', 'xs:dateTime', '', '', '' ] |
54
|
|
|
|
|
|
|
, [ 'NumberOfDays', 'xs:int', '', '', '' ] |
55
|
|
|
|
|
|
|
, [ 'Pagination', 'ns:PaginationType', '' |
56
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::PaginationType', '1' ] |
57
|
|
|
|
|
|
|
, [ 'Platform', 'ns:TransactionPlatformCodeType', '' |
58
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::Enum::TransactionPlatformCodeType', '' ] |
59
|
|
|
|
|
|
|
, [ 'SKUArray', 'ns:SKUArrayType', '' |
60
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::SKUArrayType', '1' ] |
61
|
|
|
|
|
|
|
); |
62
|
|
|
|
|
|
|
push @gaProperties, @{eBay::API::XML::RequestDataType::getPropertiesList()}; |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
my @gaAttributes = ( |
65
|
|
|
|
|
|
|
); |
66
|
|
|
|
|
|
|
push @gaAttributes, @{eBay::API::XML::RequestDataType::getAttributesList()}; |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
=head1 Subroutines: |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
=cut |
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
sub new { |
73
|
|
|
|
|
|
|
my $classname = shift; |
74
|
|
|
|
|
|
|
my %args = @_; |
75
|
|
|
|
|
|
|
my $self = $classname->SUPER::new(%args); |
76
|
|
|
|
|
|
|
return $self; |
77
|
|
|
|
|
|
|
} |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
sub isScalar { |
80
|
|
|
|
|
|
|
return 0; |
81
|
|
|
|
|
|
|
} |
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
=head2 setIncludeContainingOrder() |
86
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
Whether to retrieve the order information. |
88
|
|
|
|
|
|
|
Default is false. |
89
|
|
|
|
|
|
|
Will not return the ContainingOrder information for an Express transaction that was part of an Express order. |
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
RequiredInput: No |
92
|
|
|
|
|
|
|
# Argument: 'xs:boolean' |
93
|
|
|
|
|
|
|
|
94
|
|
|
|
|
|
|
=cut |
95
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
sub setIncludeContainingOrder { |
97
|
|
|
|
|
|
|
my $self = shift; |
98
|
|
|
|
|
|
|
$self->{'IncludeContainingOrder'} = shift |
99
|
|
|
|
|
|
|
} |
100
|
|
|
|
|
|
|
|
101
|
|
|
|
|
|
|
=head2 isIncludeContainingOrder() |
102
|
|
|
|
|
|
|
|
103
|
|
|
|
|
|
|
# Returns: 'xs:boolean' |
104
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
=cut |
106
|
|
|
|
|
|
|
|
107
|
|
|
|
|
|
|
sub isIncludeContainingOrder { |
108
|
|
|
|
|
|
|
my $self = shift; |
109
|
|
|
|
|
|
|
return $self->{'IncludeContainingOrder'}; |
110
|
|
|
|
|
|
|
} |
111
|
|
|
|
|
|
|
|
112
|
|
|
|
|
|
|
|
113
|
|
|
|
|
|
|
=head2 setIncludeFinalValueFee() |
114
|
|
|
|
|
|
|
|
115
|
|
|
|
|
|
|
Indicates whether to include final value fees in the response. |
116
|
|
|
|
|
|
|
For most listing types, the fee is returned in Transaction.FinalValueFee. |
117
|
|
|
|
|
|
|
For Dutch auctions that end with bids (not Buy It Now purchases), the fee |
118
|
|
|
|
|
|
|
is returned in Item.SellingStatus.FinalValueFee. |
119
|
|
|
|
|
|
|
The Final Value Fee for FixedPriceItem, StoresFixedPrice, and Buy It Now |
120
|
|
|
|
|
|
|
Dutch listing types is returned on a transaction by transaction basis. |
121
|
|
|
|
|
|
|
For all other listing types, including Chinese and Dutch (no Buy It Now |
122
|
|
|
|
|
|
|
purchases), the Final Value Fee is returned when the listing status is |
123
|
|
|
|
|
|
|
Completed. |
124
|
|
|
|
|
|
|
|
125
|
|
|
|
|
|
|
RequiredInput: No |
126
|
|
|
|
|
|
|
# Argument: 'xs:boolean' |
127
|
|
|
|
|
|
|
|
128
|
|
|
|
|
|
|
=cut |
129
|
|
|
|
|
|
|
|
130
|
|
|
|
|
|
|
sub setIncludeFinalValueFee { |
131
|
|
|
|
|
|
|
my $self = shift; |
132
|
|
|
|
|
|
|
$self->{'IncludeFinalValueFee'} = shift |
133
|
|
|
|
|
|
|
} |
134
|
|
|
|
|
|
|
|
135
|
|
|
|
|
|
|
=head2 isIncludeFinalValueFee() |
136
|
|
|
|
|
|
|
|
137
|
|
|
|
|
|
|
# Returns: 'xs:boolean' |
138
|
|
|
|
|
|
|
|
139
|
|
|
|
|
|
|
=cut |
140
|
|
|
|
|
|
|
|
141
|
|
|
|
|
|
|
sub isIncludeFinalValueFee { |
142
|
|
|
|
|
|
|
my $self = shift; |
143
|
|
|
|
|
|
|
return $self->{'IncludeFinalValueFee'}; |
144
|
|
|
|
|
|
|
} |
145
|
|
|
|
|
|
|
|
146
|
|
|
|
|
|
|
|
147
|
|
|
|
|
|
|
=head2 setModTimeFrom() |
148
|
|
|
|
|
|
|
|
149
|
|
|
|
|
|
|
Also see NumberOfDays which, if used, takes precedence over ModTimeFrom and |
150
|
|
|
|
|
|
|
ModTimeTo. If you prefer to use ModTimeFrom and |
151
|
|
|
|
|
|
|
ModTimeTo, you specify the time range within which |
152
|
|
|
|
|
|
|
retrieved transactions' statuses were modified. |
153
|
|
|
|
|
|
|
ModTimeFrom is the earlier (older) date and ModTimeTo is the later (more recent) date. |
154
|
|
|
|
|
|
|
If you specify this value, and do not specify the other end of the range, |
155
|
|
|
|
|
|
|
then the time range is 30 days. |
156
|
|
|
|
|
|
|
The time range between ModTimeFrom to ModTimeTo |
157
|
|
|
|
|
|
|
cannot be greater than 30 days. |
158
|
|
|
|
|
|
|
|
159
|
|
|
|
|
|
|
RequiredInput: No |
160
|
|
|
|
|
|
|
# Argument: 'xs:dateTime' |
161
|
|
|
|
|
|
|
|
162
|
|
|
|
|
|
|
=cut |
163
|
|
|
|
|
|
|
|
164
|
|
|
|
|
|
|
sub setModTimeFrom { |
165
|
|
|
|
|
|
|
my $self = shift; |
166
|
|
|
|
|
|
|
$self->{'ModTimeFrom'} = shift |
167
|
|
|
|
|
|
|
} |
168
|
|
|
|
|
|
|
|
169
|
|
|
|
|
|
|
=head2 getModTimeFrom() |
170
|
|
|
|
|
|
|
|
171
|
|
|
|
|
|
|
# Returns: 'xs:dateTime' |
172
|
|
|
|
|
|
|
|
173
|
|
|
|
|
|
|
=cut |
174
|
|
|
|
|
|
|
|
175
|
|
|
|
|
|
|
sub getModTimeFrom { |
176
|
|
|
|
|
|
|
my $self = shift; |
177
|
|
|
|
|
|
|
return $self->{'ModTimeFrom'}; |
178
|
|
|
|
|
|
|
} |
179
|
|
|
|
|
|
|
|
180
|
|
|
|
|
|
|
|
181
|
|
|
|
|
|
|
=head2 setModTimeTo() |
182
|
|
|
|
|
|
|
|
183
|
|
|
|
|
|
|
Also see NumberOfDays which, if used, takes precedence over ModTimeFrom and |
184
|
|
|
|
|
|
|
ModTimeTo. If you prefer to use ModTimeFrom and |
185
|
|
|
|
|
|
|
ModTimeTo, you specify the time range within which |
186
|
|
|
|
|
|
|
retrieved transactions' statuses were modified. |
187
|
|
|
|
|
|
|
ModTimeFrom is the earlier (older) date and ModTimeTo is the later (more recent) date. |
188
|
|
|
|
|
|
|
If you specify this value, and do not specify the other end of the range, |
189
|
|
|
|
|
|
|
then the time range is 30 days. |
190
|
|
|
|
|
|
|
The time range between ModTimeFrom to ModTimeTo |
191
|
|
|
|
|
|
|
cannot be greater than 30 days. |
192
|
|
|
|
|
|
|
|
193
|
|
|
|
|
|
|
RequiredInput: No |
194
|
|
|
|
|
|
|
# Argument: 'xs:dateTime' |
195
|
|
|
|
|
|
|
|
196
|
|
|
|
|
|
|
=cut |
197
|
|
|
|
|
|
|
|
198
|
|
|
|
|
|
|
sub setModTimeTo { |
199
|
|
|
|
|
|
|
my $self = shift; |
200
|
|
|
|
|
|
|
$self->{'ModTimeTo'} = shift |
201
|
|
|
|
|
|
|
} |
202
|
|
|
|
|
|
|
|
203
|
|
|
|
|
|
|
=head2 getModTimeTo() |
204
|
|
|
|
|
|
|
|
205
|
|
|
|
|
|
|
# Returns: 'xs:dateTime' |
206
|
|
|
|
|
|
|
|
207
|
|
|
|
|
|
|
=cut |
208
|
|
|
|
|
|
|
|
209
|
|
|
|
|
|
|
sub getModTimeTo { |
210
|
|
|
|
|
|
|
my $self = shift; |
211
|
|
|
|
|
|
|
return $self->{'ModTimeTo'}; |
212
|
|
|
|
|
|
|
} |
213
|
|
|
|
|
|
|
|
214
|
|
|
|
|
|
|
|
215
|
|
|
|
|
|
|
=head2 setNumberOfDays() |
216
|
|
|
|
|
|
|
|
217
|
|
|
|
|
|
|
NumberOfDays enables you to specify the number of days' worth |
218
|
|
|
|
|
|
|
of new and modified transactions that you want to retrieve. |
219
|
|
|
|
|
|
|
The call response contains the transactions |
220
|
|
|
|
|
|
|
whose status was modified within the |
221
|
|
|
|
|
|
|
specified number of days since the API call was made. |
222
|
|
|
|
|
|
|
NumberOfDays is often preferable to using |
223
|
|
|
|
|
|
|
the ModTimeFrom and ModTimeTo filters because you only need to specify |
224
|
|
|
|
|
|
|
one value. |
225
|
|
|
|
|
|
|
If you use NumberOfDays, then ModTimeFrom and ModTimeTo are ignored. |
226
|
|
|
|
|
|
|
For this field, one day is defined as 24 hours. |
227
|
|
|
|
|
|
|
|
228
|
|
|
|
|
|
|
Max: 30 |
229
|
|
|
|
|
|
|
|
230
|
|
|
|
|
|
|
RequiredInput: No |
231
|
|
|
|
|
|
|
# Argument: 'xs:int' |
232
|
|
|
|
|
|
|
|
233
|
|
|
|
|
|
|
=cut |
234
|
|
|
|
|
|
|
|
235
|
|
|
|
|
|
|
sub setNumberOfDays { |
236
|
|
|
|
|
|
|
my $self = shift; |
237
|
|
|
|
|
|
|
$self->{'NumberOfDays'} = shift |
238
|
|
|
|
|
|
|
} |
239
|
|
|
|
|
|
|
|
240
|
|
|
|
|
|
|
=head2 getNumberOfDays() |
241
|
|
|
|
|
|
|
|
242
|
|
|
|
|
|
|
# Returns: 'xs:int' |
243
|
|
|
|
|
|
|
|
244
|
|
|
|
|
|
|
=cut |
245
|
|
|
|
|
|
|
|
246
|
|
|
|
|
|
|
sub getNumberOfDays { |
247
|
|
|
|
|
|
|
my $self = shift; |
248
|
|
|
|
|
|
|
return $self->{'NumberOfDays'}; |
249
|
|
|
|
|
|
|
} |
250
|
|
|
|
|
|
|
|
251
|
|
|
|
|
|
|
|
252
|
|
|
|
|
|
|
=head2 setPagination() |
253
|
|
|
|
|
|
|
|
254
|
|
|
|
|
|
|
Child elements control pagination of the output. Use its EntriesPerPage |
255
|
|
|
|
|
|
|
property to control the number of transactions to return per call and its |
256
|
|
|
|
|
|
|
PageNumber property to specify the page of data to return. |
257
|
|
|
|
|
|
|
|
258
|
|
|
|
|
|
|
RequiredInput: No |
259
|
|
|
|
|
|
|
# Argument: 'ns:PaginationType' |
260
|
|
|
|
|
|
|
|
261
|
|
|
|
|
|
|
=cut |
262
|
|
|
|
|
|
|
|
263
|
|
|
|
|
|
|
sub setPagination { |
264
|
|
|
|
|
|
|
my $self = shift; |
265
|
|
|
|
|
|
|
$self->{'Pagination'} = shift |
266
|
|
|
|
|
|
|
} |
267
|
|
|
|
|
|
|
|
268
|
|
|
|
|
|
|
=head2 getPagination() |
269
|
|
|
|
|
|
|
|
270
|
|
|
|
|
|
|
# Returns: 'ns:PaginationType' |
271
|
|
|
|
|
|
|
|
272
|
|
|
|
|
|
|
=cut |
273
|
|
|
|
|
|
|
|
274
|
|
|
|
|
|
|
sub getPagination { |
275
|
|
|
|
|
|
|
my $self = shift; |
276
|
|
|
|
|
|
|
return $self->_getDataTypeInstance( 'Pagination' |
277
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::PaginationType'); |
278
|
|
|
|
|
|
|
} |
279
|
|
|
|
|
|
|
|
280
|
|
|
|
|
|
|
|
281
|
|
|
|
|
|
|
=head2 setPlatform() |
282
|
|
|
|
|
|
|
|
283
|
|
|
|
|
|
|
Name of the eBay co-branded site upon which the transaction was made. |
284
|
|
|
|
|
|
|
This will serve as a filter for the transactions to get emitted in the response. |
285
|
|
|
|
|
|
|
|
286
|
|
|
|
|
|
|
RequiredInput: No |
287
|
|
|
|
|
|
|
# Argument: 'ns:TransactionPlatformCodeType' |
288
|
|
|
|
|
|
|
|
289
|
|
|
|
|
|
|
=cut |
290
|
|
|
|
|
|
|
|
291
|
|
|
|
|
|
|
sub setPlatform { |
292
|
|
|
|
|
|
|
my $self = shift; |
293
|
|
|
|
|
|
|
$self->{'Platform'} = shift |
294
|
|
|
|
|
|
|
} |
295
|
|
|
|
|
|
|
|
296
|
|
|
|
|
|
|
=head2 getPlatform() |
297
|
|
|
|
|
|
|
|
298
|
|
|
|
|
|
|
# Returns: 'ns:TransactionPlatformCodeType' |
299
|
|
|
|
|
|
|
|
300
|
|
|
|
|
|
|
=cut |
301
|
|
|
|
|
|
|
|
302
|
|
|
|
|
|
|
sub getPlatform { |
303
|
|
|
|
|
|
|
my $self = shift; |
304
|
|
|
|
|
|
|
return $self->{'Platform'}; |
305
|
|
|
|
|
|
|
} |
306
|
|
|
|
|
|
|
|
307
|
|
|
|
|
|
|
|
308
|
|
|
|
|
|
|
=head2 setSKUArray() |
309
|
|
|
|
|
|
|
|
310
|
|
|
|
|
|
|
Specifies a set of seller SKUs to use as a filter. Only items with the |
311
|
|
|
|
|
|
|
specified SKUs are returned. Do not specify this tag if you do not want to |
312
|
|
|
|
|
|
|
filter by SKU. Corresponds to the SKU property that is part of ItemType |
313
|
|
|
|
|
|
|
and that can be provided when, for example, you use the AddItem call. |
314
|
|
|
|
|
|
|
|
315
|
|
|
|
|
|
|
RequiredInput: No |
316
|
|
|
|
|
|
|
# Argument: 'ns:SKUArrayType' |
317
|
|
|
|
|
|
|
|
318
|
|
|
|
|
|
|
=cut |
319
|
|
|
|
|
|
|
|
320
|
|
|
|
|
|
|
sub setSKUArray { |
321
|
|
|
|
|
|
|
my $self = shift; |
322
|
|
|
|
|
|
|
$self->{'SKUArray'} = shift |
323
|
|
|
|
|
|
|
} |
324
|
|
|
|
|
|
|
|
325
|
|
|
|
|
|
|
=head2 getSKUArray() |
326
|
|
|
|
|
|
|
|
327
|
|
|
|
|
|
|
# Returns: 'ns:SKUArrayType' |
328
|
|
|
|
|
|
|
|
329
|
|
|
|
|
|
|
=cut |
330
|
|
|
|
|
|
|
|
331
|
|
|
|
|
|
|
sub getSKUArray { |
332
|
|
|
|
|
|
|
my $self = shift; |
333
|
|
|
|
|
|
|
return $self->_getDataTypeInstance( 'SKUArray' |
334
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::SKUArrayType'); |
335
|
|
|
|
|
|
|
} |
336
|
|
|
|
|
|
|
|
337
|
|
|
|
|
|
|
|
338
|
|
|
|
|
|
|
|
339
|
|
|
|
|
|
|
|
340
|
|
|
|
|
|
|
|
341
|
|
|
|
|
|
|
## Attribute and Property lists |
342
|
|
|
|
|
|
|
sub getPropertiesList { |
343
|
|
|
|
|
|
|
my $self = shift; |
344
|
|
|
|
|
|
|
return \@gaProperties; |
345
|
|
|
|
|
|
|
} |
346
|
|
|
|
|
|
|
|
347
|
|
|
|
|
|
|
sub getAttributesList { |
348
|
|
|
|
|
|
|
my $self = shift; |
349
|
|
|
|
|
|
|
return \@gaAttributes; |
350
|
|
|
|
|
|
|
} |
351
|
|
|
|
|
|
|
|
352
|
|
|
|
|
|
|
|
353
|
|
|
|
|
|
|
|
354
|
|
|
|
|
|
|
1; |