| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
package Object::eBay::SellingStatus; |
|
2
|
|
|
|
|
|
|
our $VERSION = '0.5.1'; |
|
3
|
|
|
|
|
|
|
|
|
4
|
1
|
|
|
1
|
|
806
|
use Class::Std; { |
|
|
1
|
|
|
|
|
2
|
|
|
|
1
|
|
|
|
|
5
|
|
|
5
|
1
|
|
|
1
|
|
78
|
use warnings; |
|
|
1
|
|
|
|
|
2
|
|
|
|
1
|
|
|
|
|
23
|
|
|
6
|
1
|
|
|
1
|
|
5
|
use strict; |
|
|
1
|
|
|
|
|
2
|
|
|
|
1
|
|
|
|
|
30
|
|
|
7
|
1
|
|
|
1
|
|
5
|
use base qw( Object::eBay ); |
|
|
1
|
|
|
|
|
2
|
|
|
|
1
|
|
|
|
|
137
|
|
|
8
|
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
# SellingStatus is a second-class citizen because there's no eBay API |
|
10
|
|
|
|
|
|
|
# call that returns just a SellingStatus object. |
|
11
|
0
|
|
|
0
|
1
|
|
sub api_call { q{} }; |
|
12
|
0
|
|
|
0
|
1
|
|
sub response_field { q{} }; |
|
13
|
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
__PACKAGE__->simple_attributes(qw( |
|
15
|
|
|
|
|
|
|
BidCount |
|
16
|
|
|
|
|
|
|
ListingStatus |
|
17
|
|
|
|
|
|
|
QuantitySold |
|
18
|
|
|
|
|
|
|
)); |
|
19
|
|
|
|
|
|
|
__PACKAGE__->complex_attributes({ |
|
20
|
|
|
|
|
|
|
CurrentPrice => { |
|
21
|
|
|
|
|
|
|
class => 'Currency', |
|
22
|
|
|
|
|
|
|
}, |
|
23
|
|
|
|
|
|
|
ConvertedCurrentPrice => { |
|
24
|
|
|
|
|
|
|
class => 'Currency', |
|
25
|
|
|
|
|
|
|
}, |
|
26
|
|
|
|
|
|
|
HighBidder => { |
|
27
|
|
|
|
|
|
|
class => 'User', |
|
28
|
|
|
|
|
|
|
}, |
|
29
|
|
|
|
|
|
|
}); |
|
30
|
|
|
|
|
|
|
} |
|
31
|
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
1; |
|
33
|
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
__END__ |