| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
#!/usr/bin/perl |
|
2
|
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package eBay::API::XML::Call::GetOrderTransactions::GetOrderTransactionsRequestType; |
|
4
|
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
1386
|
use strict; |
|
|
1
|
|
|
|
|
2
|
|
|
|
1
|
|
|
|
|
26
|
|
|
6
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
|
1
|
|
|
|
|
1
|
|
|
|
1
|
|
|
|
|
29
|
|
|
7
|
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
########################################################################## |
|
9
|
|
|
|
|
|
|
# |
|
10
|
|
|
|
|
|
|
# Module: ............... eBay/API/XML |
|
11
|
|
|
|
|
|
|
# File: ................. GetOrderTransactionsRequestType.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::GetOrderTransactions::GetOrderTransactionsRequestType |
|
21
|
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 DESCRIPTION |
|
23
|
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
Retrieves information about one or more orders or one or more transactions |
|
25
|
|
|
|
|
|
|
(or both). If you have both orderIDs and itemIDs/transactionIDs, you may find |
|
26
|
|
|
|
|
|
|
this "combined call" more convenient than calling GetOrders and GetItemTransactions |
|
27
|
|
|
|
|
|
|
separately. |
|
28
|
|
|
|
|
|
|
Note that every transaction is nested within an Order |
|
29
|
|
|
|
|
|
|
node, even if the transaction does not belong to an order. |
|
30
|
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
Note: OrderID is not returned when the GetOrderTransactions request includes |
|
33
|
|
|
|
|
|
|
ItemTransactionID, even if the transaction is part of an order. |
|
34
|
|
|
|
|
|
|
To get the OrderID for a transaction, call GetItemTransaction with |
|
35
|
|
|
|
|
|
|
IncludeContainingOrder = true. |
|
36
|
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
Does not retrieve Express orders, even when the explicit Express OrderID found on the eBay Express site is included in the request. |
|
39
|
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
=head1 SYNOPSIS |
|
43
|
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=cut |
|
45
|
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
=head1 INHERITANCE |
|
48
|
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
eBay::API::XML::Call::GetOrderTransactions::GetOrderTransactionsRequestType inherits from the L class |
|
50
|
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
=cut |
|
52
|
|
|
|
|
|
|
|
|
53
|
1
|
|
|
1
|
|
31
|
use eBay::API::XML::RequestDataType; |
|
|
0
|
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
our @ISA = ("eBay::API::XML::RequestDataType"); |
|
55
|
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
use eBay::API::XML::DataType::ItemTransactionIDArrayType; |
|
57
|
|
|
|
|
|
|
use eBay::API::XML::DataType::OrderIDArrayType; |
|
58
|
|
|
|
|
|
|
use eBay::API::XML::DataType::Enum::TransactionPlatformCodeType; |
|
59
|
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
my @gaProperties = ( [ 'IncludeFinalValueFees', 'xs:boolean', '', '', '' ] |
|
62
|
|
|
|
|
|
|
, [ 'ItemTransactionIDArray', 'ns:ItemTransactionIDArrayType', '' |
|
63
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::ItemTransactionIDArrayType', '1' ] |
|
64
|
|
|
|
|
|
|
, [ 'OrderIDArray', 'ns:OrderIDArrayType', '' |
|
65
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::OrderIDArrayType', '1' ] |
|
66
|
|
|
|
|
|
|
, [ 'Platform', 'ns:TransactionPlatformCodeType', '' |
|
67
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::Enum::TransactionPlatformCodeType', '' ] |
|
68
|
|
|
|
|
|
|
); |
|
69
|
|
|
|
|
|
|
push @gaProperties, @{eBay::API::XML::RequestDataType::getPropertiesList()}; |
|
70
|
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
my @gaAttributes = ( |
|
72
|
|
|
|
|
|
|
); |
|
73
|
|
|
|
|
|
|
push @gaAttributes, @{eBay::API::XML::RequestDataType::getAttributesList()}; |
|
74
|
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
=head1 Subroutines: |
|
76
|
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
=cut |
|
78
|
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
sub new { |
|
80
|
|
|
|
|
|
|
my $classname = shift; |
|
81
|
|
|
|
|
|
|
my %args = @_; |
|
82
|
|
|
|
|
|
|
my $self = $classname->SUPER::new(%args); |
|
83
|
|
|
|
|
|
|
return $self; |
|
84
|
|
|
|
|
|
|
} |
|
85
|
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
sub isScalar { |
|
87
|
|
|
|
|
|
|
return 0; |
|
88
|
|
|
|
|
|
|
} |
|
89
|
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
=head2 setIncludeFinalValueFees() |
|
93
|
|
|
|
|
|
|
|
|
94
|
|
|
|
|
|
|
Indicates whether to include the final value fee in the |
|
95
|
|
|
|
|
|
|
following field of the response: Transaction.FinalValueFee. |
|
96
|
|
|
|
|
|
|
For most listing types, the fee is returned in Transaction.FinalValueFee. |
|
97
|
|
|
|
|
|
|
For Dutch auctions that end with bids (not Buy It Now purchases), the fee |
|
98
|
|
|
|
|
|
|
is returned in the following field |
|
99
|
|
|
|
|
|
|
regardless of what you specify in the IncludeFinalValueFees field: |
|
100
|
|
|
|
|
|
|
Item.SellingStatus.FinalValueFee. |
|
101
|
|
|
|
|
|
|
The Final Value Fee for FixedPriceItem, StoresFixedPrice, and Buy It Now |
|
102
|
|
|
|
|
|
|
Dutch listing types is returned on a transaction-by-transaction basis. |
|
103
|
|
|
|
|
|
|
For all other listing types, including Chinese and Dutch (not Buy It Now |
|
104
|
|
|
|
|
|
|
purchases), the Final Value Fee is returned when the listing status is |
|
105
|
|
|
|
|
|
|
Completed. |
|
106
|
|
|
|
|
|
|
|
|
107
|
|
|
|
|
|
|
RequiredInput: No |
|
108
|
|
|
|
|
|
|
# Argument: 'xs:boolean' |
|
109
|
|
|
|
|
|
|
|
|
110
|
|
|
|
|
|
|
=cut |
|
111
|
|
|
|
|
|
|
|
|
112
|
|
|
|
|
|
|
sub setIncludeFinalValueFees { |
|
113
|
|
|
|
|
|
|
my $self = shift; |
|
114
|
|
|
|
|
|
|
$self->{'IncludeFinalValueFees'} = shift |
|
115
|
|
|
|
|
|
|
} |
|
116
|
|
|
|
|
|
|
|
|
117
|
|
|
|
|
|
|
=head2 isIncludeFinalValueFees() |
|
118
|
|
|
|
|
|
|
|
|
119
|
|
|
|
|
|
|
# Returns: 'xs:boolean' |
|
120
|
|
|
|
|
|
|
|
|
121
|
|
|
|
|
|
|
=cut |
|
122
|
|
|
|
|
|
|
|
|
123
|
|
|
|
|
|
|
sub isIncludeFinalValueFees { |
|
124
|
|
|
|
|
|
|
my $self = shift; |
|
125
|
|
|
|
|
|
|
return $self->{'IncludeFinalValueFees'}; |
|
126
|
|
|
|
|
|
|
} |
|
127
|
|
|
|
|
|
|
|
|
128
|
|
|
|
|
|
|
|
|
129
|
|
|
|
|
|
|
=head2 setItemTransactionIDArray() |
|
130
|
|
|
|
|
|
|
|
|
131
|
|
|
|
|
|
|
An array of ItemTransactionIDs. |
|
132
|
|
|
|
|
|
|
|
|
133
|
|
|
|
|
|
|
RequiredInput: Conditionally |
|
134
|
|
|
|
|
|
|
# Argument: 'ns:ItemTransactionIDArrayType' |
|
135
|
|
|
|
|
|
|
|
|
136
|
|
|
|
|
|
|
=cut |
|
137
|
|
|
|
|
|
|
|
|
138
|
|
|
|
|
|
|
sub setItemTransactionIDArray { |
|
139
|
|
|
|
|
|
|
my $self = shift; |
|
140
|
|
|
|
|
|
|
$self->{'ItemTransactionIDArray'} = shift |
|
141
|
|
|
|
|
|
|
} |
|
142
|
|
|
|
|
|
|
|
|
143
|
|
|
|
|
|
|
=head2 getItemTransactionIDArray() |
|
144
|
|
|
|
|
|
|
|
|
145
|
|
|
|
|
|
|
# Returns: 'ns:ItemTransactionIDArrayType' |
|
146
|
|
|
|
|
|
|
|
|
147
|
|
|
|
|
|
|
=cut |
|
148
|
|
|
|
|
|
|
|
|
149
|
|
|
|
|
|
|
sub getItemTransactionIDArray { |
|
150
|
|
|
|
|
|
|
my $self = shift; |
|
151
|
|
|
|
|
|
|
return $self->_getDataTypeInstance( 'ItemTransactionIDArray' |
|
152
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::ItemTransactionIDArrayType'); |
|
153
|
|
|
|
|
|
|
} |
|
154
|
|
|
|
|
|
|
|
|
155
|
|
|
|
|
|
|
|
|
156
|
|
|
|
|
|
|
=head2 setOrderIDArray() |
|
157
|
|
|
|
|
|
|
|
|
158
|
|
|
|
|
|
|
An array of OrderIDs. You can specify, at most, twenty OrderIDs. |
|
159
|
|
|
|
|
|
|
|
|
160
|
|
|
|
|
|
|
RequiredInput: Conditionally |
|
161
|
|
|
|
|
|
|
# Argument: 'ns:OrderIDArrayType' |
|
162
|
|
|
|
|
|
|
|
|
163
|
|
|
|
|
|
|
=cut |
|
164
|
|
|
|
|
|
|
|
|
165
|
|
|
|
|
|
|
sub setOrderIDArray { |
|
166
|
|
|
|
|
|
|
my $self = shift; |
|
167
|
|
|
|
|
|
|
$self->{'OrderIDArray'} = shift |
|
168
|
|
|
|
|
|
|
} |
|
169
|
|
|
|
|
|
|
|
|
170
|
|
|
|
|
|
|
=head2 getOrderIDArray() |
|
171
|
|
|
|
|
|
|
|
|
172
|
|
|
|
|
|
|
# Returns: 'ns:OrderIDArrayType' |
|
173
|
|
|
|
|
|
|
|
|
174
|
|
|
|
|
|
|
=cut |
|
175
|
|
|
|
|
|
|
|
|
176
|
|
|
|
|
|
|
sub getOrderIDArray { |
|
177
|
|
|
|
|
|
|
my $self = shift; |
|
178
|
|
|
|
|
|
|
return $self->_getDataTypeInstance( 'OrderIDArray' |
|
179
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::OrderIDArrayType'); |
|
180
|
|
|
|
|
|
|
} |
|
181
|
|
|
|
|
|
|
|
|
182
|
|
|
|
|
|
|
|
|
183
|
|
|
|
|
|
|
=head2 setPlatform() |
|
184
|
|
|
|
|
|
|
|
|
185
|
|
|
|
|
|
|
Name of the eBay co-branded site upon which the transaction was made. |
|
186
|
|
|
|
|
|
|
This will serve as a filter for the transactions to get emitted in the response. |
|
187
|
|
|
|
|
|
|
|
|
188
|
|
|
|
|
|
|
RequiredInput: No |
|
189
|
|
|
|
|
|
|
# Argument: 'ns:TransactionPlatformCodeType' |
|
190
|
|
|
|
|
|
|
|
|
191
|
|
|
|
|
|
|
=cut |
|
192
|
|
|
|
|
|
|
|
|
193
|
|
|
|
|
|
|
sub setPlatform { |
|
194
|
|
|
|
|
|
|
my $self = shift; |
|
195
|
|
|
|
|
|
|
$self->{'Platform'} = shift |
|
196
|
|
|
|
|
|
|
} |
|
197
|
|
|
|
|
|
|
|
|
198
|
|
|
|
|
|
|
=head2 getPlatform() |
|
199
|
|
|
|
|
|
|
|
|
200
|
|
|
|
|
|
|
# Returns: 'ns:TransactionPlatformCodeType' |
|
201
|
|
|
|
|
|
|
|
|
202
|
|
|
|
|
|
|
=cut |
|
203
|
|
|
|
|
|
|
|
|
204
|
|
|
|
|
|
|
sub getPlatform { |
|
205
|
|
|
|
|
|
|
my $self = shift; |
|
206
|
|
|
|
|
|
|
return $self->{'Platform'}; |
|
207
|
|
|
|
|
|
|
} |
|
208
|
|
|
|
|
|
|
|
|
209
|
|
|
|
|
|
|
|
|
210
|
|
|
|
|
|
|
|
|
211
|
|
|
|
|
|
|
|
|
212
|
|
|
|
|
|
|
|
|
213
|
|
|
|
|
|
|
## Attribute and Property lists |
|
214
|
|
|
|
|
|
|
sub getPropertiesList { |
|
215
|
|
|
|
|
|
|
my $self = shift; |
|
216
|
|
|
|
|
|
|
return \@gaProperties; |
|
217
|
|
|
|
|
|
|
} |
|
218
|
|
|
|
|
|
|
|
|
219
|
|
|
|
|
|
|
sub getAttributesList { |
|
220
|
|
|
|
|
|
|
my $self = shift; |
|
221
|
|
|
|
|
|
|
return \@gaAttributes; |
|
222
|
|
|
|
|
|
|
} |
|
223
|
|
|
|
|
|
|
|
|
224
|
|
|
|
|
|
|
|
|
225
|
|
|
|
|
|
|
|
|
226
|
|
|
|
|
|
|
1; |