1######################################
2package Net::Amazon::Request::Manufacturer;
3######################################
4use warnings;
5use strict;
6use base qw(Net::Amazon::Request);
7
8######################################
9sub new {
10######################################
11   my($class, %options) = @_;
12
13   $class->_assert_options_defined(\%options,
14                                   qw(manufacturer));
15
16   $class->_convert_option(\%options,
17                            'manufacturer',
18                            'Manufacturer');
19
20   my $self = $class->SUPER::new(%options);
21
22   $self->_convert_itemsearch();
23
24   bless $self, $class;   # reconsecrate
25}
261;
27
28__END__
29
30=head1 NAME
31
32Net::Amazon::Request::Manufacturer - Class for submitting Manufacturer requests
33
34=head1 SYNOPSIS
35
36  use Net::Amazon;
37  use Net::Amazon::Request::Manufacturer;
38
39  my $ua = Net::Amazon->new(
40      token       => 'YOUR_AMZN_TOKEN'
41  );
42
43  my $req = Net::Amazon::Request::Manufacturer->new(
44      manufacturer  => 'Disney'
45  );
46
47    # Response is of type Net::Amazon::Response::Manufacturer
48  my $resp = $ua->request($req);
49
50=head1 DESCRIPTION
51
52C<Net::Amazon::Request::Manufacturer> is a class used to submit
53searches for items made by a given manufacturer.
54
55The manufacturer to search for is specified in the C<manufacturer> parameter.
56
57Upon success, the responses' C<properties()> method will return one
58or more C<Net::Amazon::Property::*> objects.
59
60=head2 METHODS
61
62=over 4
63
64=item new( manufacturer => $manufacturer )
65
66Constructs a new C<Net::Amazon::Request::Manufacturer> object, used to query
67the Amazon web service for an item with the specified manufacturer name.
68
69=back
70
71Check L<Net::Amazon::Request> for common request parameters not listed here.
72
73=head1 AUTHORS
74
75Bill Fitzpatrick
76Mike Schilli, E<lt>m@perlmeister.comE<gt>
77
78=cut
79