package Business::CyberSource::RequestPart::PurchaseTotals; use strict; use warnings; use namespace::autoclean; our $VERSION = '0.006003'; # VERSION use Moose; extends 'Business::CyberSource::MessagePart'; with qw( Business::CyberSource::Role::Currency Business::CyberSource::Role::ForeignCurrency ); use MooseX::Types::Common::Numeric qw( PositiveOrZeroNum ); has total => ( isa => PositiveOrZeroNum, remote_name => 'grandTotalAmount', traits => [ 'SetOnce' ], is => 'rw', predicate => 'has_total', ); __PACKAGE__->meta->make_immutable; 1; # ABSTRACT: Purchase Totals __END__ =pod =head1 NAME Business::CyberSource::RequestPart::PurchaseTotals - Purchase Totals =head1 VERSION version 0.006003 =head1 ATTRIBUTES =head2 total Grand total for the order. You must include either this field or L in your request. =head1 EXTENDS L =head1 WITH =over =item L =item L =back =head1 BUGS Please report any bugs or feature requests on the bugtracker website https://github.com/xenoterracide/Business-CyberSource/issues When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature. =head1 AUTHOR Caleb Cushing =head1 COPYRIGHT AND LICENSE This software is Copyright (c) 2012 by Caleb Cushing. This is free software, licensed under: The Artistic License 2.0 (GPL Compatible) =cut