Amazon::MWS::XML::Response::OrderReport
Class to handle the xml structures returned by the GetReport with type OrderReport.
GetReport
OrderReport
The constructor is meant to be called by Amazon::MWS::Uploader when get_order_reports is called. A list of objects of this class will be returned.
get_order_reports
my $order = Amazon::MWS::XML::Response::OrderReport->new(struct => $struct); my @items = $order->items;
Mandatory. Must be an hashref.
Our order ID. Read-write.
An Amazon::MWS::XML::Address instance, lazily built.
The buyer email.
The date when the order processing was complete or when the order was placed as a DateTime object.
Return a list of Amazon::MWS::XML::Response::OrderReport::Item, which acts (more or less) like Amazon::MWS::XML::OrderlineItem.
Return a structure suitable create an the acknowledge feed.
Compatibility method with Amazon::MWS::XML::Order. Given that this is a report, the order can be imported right away without checking. LFW.
Compatibility method.
We check the items currency.
The sum of the shipping of all the items (including taxes from the Amazon point of view).
The sum of the items' subtotal
The grand total
The total of the amazon fees.
Total number of items.
To install Amazon::MWS, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Amazon::MWS
CPAN shell
perl -MCPAN -e shell install Amazon::MWS
For more information on module installation, please visit the detailed CPAN module installation guide.