| 1 | package Amazon::MWS::Sellers; | ||
| 2 | |||
| 3 | 8 | ▶ | use Amazon::MWS::Routines qw(:all); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | |||
| 5 | 8 | my $sellers_service = '/Sellers/2011-07-01'; | |
| 6 | |||
| 7 | define_api_method GetServiceStatus => | ||
| 8 | raw_body => 0, | ||
| 9 | service => "$sellers_service", | ||
| 10 | module_name => 'Amazon::MWS::Sellers', | ||
| 11 | parameters => {}, | ||
| 12 | 0 | ▶ | respond => sub { |
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||
| 13 | 0 | my $root = shift; | |
| 14 | 0 | return $root->{Status}; | |
| 15 | 8 | }; | |
| 16 | |||
| 17 | 8 | define_api_method ListMarketplaceParticipations => | |
| 18 | raw_body => 1, | ||
| 19 | service => "$sellers_service", | ||
| 20 | parameters => {} ; | ||
| 21 | |||
| 22 | 8 | define_api_method ListMarketplaceParticipationsByNextToken => | |
| 23 | raw_body => 1, | ||
| 24 | service => "$sellers_service", | ||
| 25 | parameters => { | ||
| 26 | NextToken => { | ||
| 27 | type => 'string', | ||
| 28 | required => 1, | ||
| 29 | }, | ||
| 30 | }; | ||