line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
#!/usr/bin/perl |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package eBay::API::XML::DataType::CheckoutStatusType; |
4
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
1755
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
31
|
|
6
|
1
|
|
|
1
|
|
6
|
use warnings; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
32
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
########################################################################## |
9
|
|
|
|
|
|
|
# |
10
|
|
|
|
|
|
|
# Module: ............... eBay/API/XML |
11
|
|
|
|
|
|
|
# File: ................. CheckoutStatusType.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::CheckoutStatusType |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 DESCRIPTION |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
=head1 SYNOPSIS |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=cut |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
=head1 INHERITANCE |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
eBay::API::XML::DataType::CheckoutStatusType inherits from the L class |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
=cut |
36
|
|
|
|
|
|
|
|
37
|
1
|
|
|
1
|
|
42
|
use eBay::API::XML::BaseDataType; |
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
our @ISA = ("eBay::API::XML::BaseDataType"); |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
use eBay::API::XML::DataType::Enum::BuyerPaymentMethodCodeType; |
41
|
|
|
|
|
|
|
use eBay::API::XML::DataType::Enum::CompleteStatusCodeType; |
42
|
|
|
|
|
|
|
use eBay::API::XML::DataType::Enum::PaymentStatusCodeType; |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
my @gaProperties = ( [ 'LastModifiedTime', 'xs:dateTime', '', '', '' ] |
46
|
|
|
|
|
|
|
, [ 'PaymentMethod', 'ns:BuyerPaymentMethodCodeType', '' |
47
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::Enum::BuyerPaymentMethodCodeType', '' ] |
48
|
|
|
|
|
|
|
, [ 'Status', 'ns:CompleteStatusCodeType', '' |
49
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::Enum::CompleteStatusCodeType', '' ] |
50
|
|
|
|
|
|
|
, [ 'eBayPaymentStatus', 'ns:PaymentStatusCodeType', '' |
51
|
|
|
|
|
|
|
,'eBay::API::XML::DataType::Enum::PaymentStatusCodeType', '' ] |
52
|
|
|
|
|
|
|
); |
53
|
|
|
|
|
|
|
push @gaProperties, @{eBay::API::XML::BaseDataType::getPropertiesList()}; |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
my @gaAttributes = ( |
56
|
|
|
|
|
|
|
); |
57
|
|
|
|
|
|
|
push @gaAttributes, @{eBay::API::XML::BaseDataType::getAttributesList()}; |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
=head1 Subroutines: |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
=cut |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
sub new { |
64
|
|
|
|
|
|
|
my $classname = shift; |
65
|
|
|
|
|
|
|
my %args = @_; |
66
|
|
|
|
|
|
|
my $self = $classname->SUPER::new(%args); |
67
|
|
|
|
|
|
|
return $self; |
68
|
|
|
|
|
|
|
} |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
sub isScalar { |
71
|
|
|
|
|
|
|
return 0; |
72
|
|
|
|
|
|
|
} |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
=head2 setLastModifiedTime() |
77
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
The time the status was last modified. |
79
|
|
|
|
|
|
|
Also applicable to Half.com (for GetOrders). |
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
# Argument: 'xs:dateTime' |
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
=cut |
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
sub setLastModifiedTime { |
86
|
|
|
|
|
|
|
my $self = shift; |
87
|
|
|
|
|
|
|
$self->{'LastModifiedTime'} = shift |
88
|
|
|
|
|
|
|
} |
89
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
=head2 getLastModifiedTime() |
91
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
Calls: GetOrders |
93
|
|
|
|
|
|
|
Returned: Always |
94
|
|
|
|
|
|
|
Details: DetailLevel: none |
95
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
Calls: GetOrderTransactions |
97
|
|
|
|
|
|
|
Returned: Always |
98
|
|
|
|
|
|
|
Details: DetailLevel: none, ItemReturnDescription, ReturnAll |
99
|
|
|
|
|
|
|
|
100
|
|
|
|
|
|
|
# Returns: 'xs:dateTime' |
101
|
|
|
|
|
|
|
|
102
|
|
|
|
|
|
|
=cut |
103
|
|
|
|
|
|
|
|
104
|
|
|
|
|
|
|
sub getLastModifiedTime { |
105
|
|
|
|
|
|
|
my $self = shift; |
106
|
|
|
|
|
|
|
return $self->{'LastModifiedTime'}; |
107
|
|
|
|
|
|
|
} |
108
|
|
|
|
|
|
|
|
109
|
|
|
|
|
|
|
|
110
|
|
|
|
|
|
|
=head2 setPaymentMethod() |
111
|
|
|
|
|
|
|
|
112
|
|
|
|
|
|
|
The payment method the buyer uses to purchase the |
113
|
|
|
|
|
|
|
item. |
114
|
|
|
|
|
|
|
Also applicable to Half.com (for GetOrders). |
115
|
|
|
|
|
|
|
|
116
|
|
|
|
|
|
|
# Argument: 'ns:BuyerPaymentMethodCodeType' |
117
|
|
|
|
|
|
|
|
118
|
|
|
|
|
|
|
=cut |
119
|
|
|
|
|
|
|
|
120
|
|
|
|
|
|
|
sub setPaymentMethod { |
121
|
|
|
|
|
|
|
my $self = shift; |
122
|
|
|
|
|
|
|
$self->{'PaymentMethod'} = shift |
123
|
|
|
|
|
|
|
} |
124
|
|
|
|
|
|
|
|
125
|
|
|
|
|
|
|
=head2 getPaymentMethod() |
126
|
|
|
|
|
|
|
|
127
|
|
|
|
|
|
|
Calls: GetOrders |
128
|
|
|
|
|
|
|
Returned: Always |
129
|
|
|
|
|
|
|
Details: DetailLevel: none |
130
|
|
|
|
|
|
|
|
131
|
|
|
|
|
|
|
Calls: GetOrderTransactions |
132
|
|
|
|
|
|
|
Returned: Always |
133
|
|
|
|
|
|
|
Details: DetailLevel: none, ItemReturnDescription, ReturnAll |
134
|
|
|
|
|
|
|
|
135
|
|
|
|
|
|
|
# Returns: 'ns:BuyerPaymentMethodCodeType' |
136
|
|
|
|
|
|
|
|
137
|
|
|
|
|
|
|
=cut |
138
|
|
|
|
|
|
|
|
139
|
|
|
|
|
|
|
sub getPaymentMethod { |
140
|
|
|
|
|
|
|
my $self = shift; |
141
|
|
|
|
|
|
|
return $self->{'PaymentMethod'}; |
142
|
|
|
|
|
|
|
} |
143
|
|
|
|
|
|
|
|
144
|
|
|
|
|
|
|
|
145
|
|
|
|
|
|
|
=head2 setStatus() |
146
|
|
|
|
|
|
|
|
147
|
|
|
|
|
|
|
The status of the order. |
148
|
|
|
|
|
|
|
Also applicable to Half.com (for GetOrders). |
149
|
|
|
|
|
|
|
|
150
|
|
|
|
|
|
|
# Argument: 'ns:CompleteStatusCodeType' |
151
|
|
|
|
|
|
|
|
152
|
|
|
|
|
|
|
=cut |
153
|
|
|
|
|
|
|
|
154
|
|
|
|
|
|
|
sub setStatus { |
155
|
|
|
|
|
|
|
my $self = shift; |
156
|
|
|
|
|
|
|
$self->{'Status'} = shift |
157
|
|
|
|
|
|
|
} |
158
|
|
|
|
|
|
|
|
159
|
|
|
|
|
|
|
=head2 getStatus() |
160
|
|
|
|
|
|
|
|
161
|
|
|
|
|
|
|
Calls: GetOrders |
162
|
|
|
|
|
|
|
Returned: Always |
163
|
|
|
|
|
|
|
Details: DetailLevel: none |
164
|
|
|
|
|
|
|
|
165
|
|
|
|
|
|
|
Calls: GetOrderTransactions |
166
|
|
|
|
|
|
|
Returned: Always |
167
|
|
|
|
|
|
|
Details: DetailLevel: none, ItemReturnDescription, ReturnAll |
168
|
|
|
|
|
|
|
|
169
|
|
|
|
|
|
|
# Returns: 'ns:CompleteStatusCodeType' |
170
|
|
|
|
|
|
|
|
171
|
|
|
|
|
|
|
=cut |
172
|
|
|
|
|
|
|
|
173
|
|
|
|
|
|
|
sub getStatus { |
174
|
|
|
|
|
|
|
my $self = shift; |
175
|
|
|
|
|
|
|
return $self->{'Status'}; |
176
|
|
|
|
|
|
|
} |
177
|
|
|
|
|
|
|
|
178
|
|
|
|
|
|
|
|
179
|
|
|
|
|
|
|
=head2 setEBayPaymentStatus() |
180
|
|
|
|
|
|
|
|
181
|
|
|
|
|
|
|
Indicates the success or failure of a buyer's online payment. |
182
|
|
|
|
|
|
|
Also applicable to Half.com (for GetOrders). |
183
|
|
|
|
|
|
|
|
184
|
|
|
|
|
|
|
# Argument: 'ns:PaymentStatusCodeType' |
185
|
|
|
|
|
|
|
|
186
|
|
|
|
|
|
|
=cut |
187
|
|
|
|
|
|
|
|
188
|
|
|
|
|
|
|
sub setEBayPaymentStatus { |
189
|
|
|
|
|
|
|
my $self = shift; |
190
|
|
|
|
|
|
|
$self->{'eBayPaymentStatus'} = shift |
191
|
|
|
|
|
|
|
} |
192
|
|
|
|
|
|
|
|
193
|
|
|
|
|
|
|
=head2 getEBayPaymentStatus() |
194
|
|
|
|
|
|
|
|
195
|
|
|
|
|
|
|
Calls: GetOrders |
196
|
|
|
|
|
|
|
Returned: Always |
197
|
|
|
|
|
|
|
Details: DetailLevel: none |
198
|
|
|
|
|
|
|
|
199
|
|
|
|
|
|
|
Calls: GetOrderTransactions |
200
|
|
|
|
|
|
|
Returned: Always |
201
|
|
|
|
|
|
|
Details: DetailLevel: none, ItemReturnDescription, ReturnAll |
202
|
|
|
|
|
|
|
|
203
|
|
|
|
|
|
|
# Returns: 'ns:PaymentStatusCodeType' |
204
|
|
|
|
|
|
|
|
205
|
|
|
|
|
|
|
=cut |
206
|
|
|
|
|
|
|
|
207
|
|
|
|
|
|
|
sub getEBayPaymentStatus { |
208
|
|
|
|
|
|
|
my $self = shift; |
209
|
|
|
|
|
|
|
return $self->{'eBayPaymentStatus'}; |
210
|
|
|
|
|
|
|
} |
211
|
|
|
|
|
|
|
|
212
|
|
|
|
|
|
|
|
213
|
|
|
|
|
|
|
|
214
|
|
|
|
|
|
|
|
215
|
|
|
|
|
|
|
|
216
|
|
|
|
|
|
|
## Attribute and Property lists |
217
|
|
|
|
|
|
|
sub getPropertiesList { |
218
|
|
|
|
|
|
|
my $self = shift; |
219
|
|
|
|
|
|
|
return \@gaProperties; |
220
|
|
|
|
|
|
|
} |
221
|
|
|
|
|
|
|
|
222
|
|
|
|
|
|
|
sub getAttributesList { |
223
|
|
|
|
|
|
|
my $self = shift; |
224
|
|
|
|
|
|
|
return \@gaAttributes; |
225
|
|
|
|
|
|
|
} |
226
|
|
|
|
|
|
|
|
227
|
|
|
|
|
|
|
|
228
|
|
|
|
|
|
|
|
229
|
|
|
|
|
|
|
1; |