line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Amazon::MWS::FulfillmentInventory; |
2
|
|
|
|
|
|
|
|
3
|
8
|
|
|
8
|
|
57
|
use Amazon::MWS::Routines qw(:all); |
|
8
|
|
|
|
|
20
|
|
|
8
|
|
|
|
|
2099
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
my $fulfillment_service = '/FulfillmentInventory/2010-10-01/'; |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
define_api_method GetServiceStatus => |
8
|
|
|
|
|
|
|
version => '2010-10-01', |
9
|
|
|
|
|
|
|
raw_body => 0, |
10
|
|
|
|
|
|
|
service => "$fulfillment_service", |
11
|
|
|
|
|
|
|
module_name => 'Amazon::MWS::FulfillmentInventory', |
12
|
|
|
|
|
|
|
parameters => {}, |
13
|
|
|
|
|
|
|
respond => sub { |
14
|
|
|
|
|
|
|
my $root = shift; |
15
|
|
|
|
|
|
|
return $root->{Status}; |
16
|
|
|
|
|
|
|
}; |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
define_api_method ListInventorySupply => |
19
|
|
|
|
|
|
|
raw_body => 1, |
20
|
|
|
|
|
|
|
version => '2010-10-01', |
21
|
|
|
|
|
|
|
service => "$fulfillment_service", |
22
|
|
|
|
|
|
|
parameters => { |
23
|
|
|
|
|
|
|
SellerSkus => { |
24
|
|
|
|
|
|
|
type => 'MemberList' |
25
|
|
|
|
|
|
|
}, |
26
|
|
|
|
|
|
|
QueryStartDateTime => { type => 'datetime' }, |
27
|
|
|
|
|
|
|
ResponseGroup => { type => 'List', values=>['Basic','Detailed'] } |
28
|
|
|
|
|
|
|
}; |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
define_api_method ListInventorySupplyByNextToken => |
31
|
|
|
|
|
|
|
raw_body => 1, |
32
|
|
|
|
|
|
|
version => '2010-10-01', |
33
|
|
|
|
|
|
|
service => "$fulfillment_service", |
34
|
|
|
|
|
|
|
parameters => { |
35
|
|
|
|
|
|
|
NextToken => { |
36
|
|
|
|
|
|
|
type => 'string', |
37
|
|
|
|
|
|
|
required => 1, |
38
|
|
|
|
|
|
|
}, |
39
|
|
|
|
|
|
|
}; |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
1; |