Amazon-MWS

 view release on metacpan or  search on metacpan

lib/Amazon/MWS/XML/Response/OrderReport/Item.pm  view on Meta::CPAN

package Amazon::MWS::XML::Response::OrderReport::Item;

use utf8;
use strict;
use warnings;
use MooX::Types::MooseLike::Base qw(Int Str HashRef);
use namespace::clean;
use Moo;

=head1 NAME

Amazon::MWS::XML::Response::OrderReport::Item

=head1 DESCRIPTION

Class which handles the xml structures reported by the C<GetReport>
with type C<OrderReport> in the C<Item> slot (the orderline's items).

The class should act like L<Amazon::MWS::XML::OrderlineItem> when
applicable.

=head1 ACCESSORS

They correspond to the documented structure. They should not be called
directly, though, prefer the methods above.

=over 4

=item Title              

=item Quantity           

=item SKU                

=item ItemPrice          

=item ProductTaxCode     

=item AmazonOrderItemCode

=item ItemFees           

=back

=cut

has Title               => (is => 'ro', isa => Str);
has Quantity            => (is => 'ro', isa => Int);
has SKU                 => (is => 'ro', isa => Str);
has ItemPrice           => (is => 'ro', isa => HashRef);
has ProductTaxCode      => (is => 'ro', isa => Str);
has AmazonOrderItemCode => (is => 'ro', isa => Str);
has ItemFees            => (is => 'ro', isa => HashRef);

=head2 merchant_order_item

Our id (read-write).

=head1 METHODS AND SHORTCUTS

All the methods are read only.

=over 4



( run in 0.919 second using v1.01-cache-2.11-cpan-39bf76dae61 )