1Net::Amazon::Property::UCsEe(r3)Contributed Perl DocumenNteatt:i:oAnmazon::Property::CE(3)
2
3
4
6 Net::Amazon::Property::CE - Class for consumer electronics on
7 amazon.com
8
10 use Net::Amazon;
11
12 # ...
13
14 if($resp->is_success()) {
15 for my $prop ($resp->properties) {
16 print join("/", $prop->platforms()), " ",
17 $prop->title(), " ",
18 $prop->publisher(), "\n";
19 }
20
22 "Net::Amazon::Property::CE" is derived from "Net::Amazon::Property" and
23 on top of the all-purpose methods the base class provides, it offers
24 specialized accessors for consumer electronic parameters.
25
26 METHODS
27 platforms()
28 Returns a list of the consumer electronic's platforms. There's also
29 a "platform()" method which just returns the first platform.
30
31 features()
32 Returns a list of the consumer electronic's features. There's also
33 a "feature()" method which just returns the first feature.
34
35 publisher()
36 Returns the consumer electronic's publishing company as a string.
37
38 title()
39 Returns the consumer electronic's title as a string.
40
41 ean()
42 Returns the consumer electronic's EAN number.
43
44 label()
45 Returns the consumer electronic's label type as a string.
46
47 studio()
48 Returns the consumer electronic's studio type as a string.
49
50 brand()
51 Returns the consumer electronic's brand type as a string.
52
53 manufacturer()
54 Returns the consumer electronic's manufacturer type as a string.
55
56 mpn()
57 Returns the consumer electronic's mpn (manufacturer's part number)
58 as a string.
59
60 model()
61 Returns the consumer electronic's model as a string.
62
63 warranty()
64 Returns the consumer electronic's warranty as a string.
65
66 new(xmlref => $xmlref)
67 Initializes an object by passing a hash of hashes structure
68 containing the XML data returned from the service. Usually, this is
69 just used by "Net::Amazon" internally to initialize objects for on
70 backcoming data.
71
72 Check out Net::Amazon::Property for all-purpose accessors, like "year",
73 "OurPrice", "ListPrice", etc.
74
76 Christopher Boumenot, <boumenot@gmail.com>
77
79 Copyright 2006 by Mike Schilli <m@perlmeister.com>
80
81 This library is free consumer electronic; you can redistribute it
82 and/or modify it under the same terms as Perl itself.
83
84
85
86perl v5.34.0 2021-07-22 Net::Amazon::Property::CE(3)