File Coverage

blib/lib/Business/CyberSource/ResponsePart/PurchaseTotals.pm
Criterion Covered Total %
statement 12 12 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod n/a
total 16 16 100.0


line stmt bran cond sub pod time code
1             package Business::CyberSource::ResponsePart::PurchaseTotals;
2 2     2   958 use strict;
  2         3  
  2         53  
3 2     2   6 use warnings;
  2         3  
  2         92  
4 2     2   8 use namespace::autoclean;
  2         3  
  2         15  
5              
6             our $VERSION = '0.010008'; # VERSION
7              
8 2     2   167 use Moose;
  2         3  
  2         13  
9             extends 'Business::CyberSource::MessagePart';
10             with qw(
11             Business::CyberSource::Role::Currency
12             Business::CyberSource::Role::ForeignCurrency
13             );
14              
15             __PACKAGE__->meta->make_immutable;
16             1;
17             # ABSTRACT: PurchaseTotals part of response
18              
19             __END__
20              
21             =pod
22              
23             =encoding UTF-8
24              
25             =head1 NAME
26              
27             Business::CyberSource::ResponsePart::PurchaseTotals - PurchaseTotals part of response
28              
29             =head1 VERSION
30              
31             version 0.010008
32              
33             =head1 EXTENDS
34              
35             L<Business::CyberSource::MessagePart>
36              
37             =head1 WITH
38              
39             =over
40              
41             =item L<Business::CyberSource::Role::Currency>
42              
43             =item L<Business::CyberSource::Role::ForeignCurrency>
44              
45             =back
46              
47             =head1 ATTRIBUTES
48              
49             =head2 currency
50              
51             =head2 foreign_currency
52              
53             Billing currency returned by the DCC service. For the possible values, see the ISO currency codes
54              
55             =head2 foreign_amount
56              
57             =head2 exchange_rate
58              
59             =head2 exchange_rate_timestamp
60              
61             =head1 BUGS
62              
63             Please report any bugs or feature requests on the bugtracker website
64             https://github.com/hostgator/business-cybersource/issues
65              
66             When submitting a bug or request, please include a test-file or a
67             patch to an existing test-file that illustrates the bug or desired
68             feature.
69              
70             =head1 AUTHOR
71              
72             Caleb Cushing <xenoterracide@gmail.com>
73              
74             =head1 COPYRIGHT AND LICENSE
75              
76             This software is Copyright (c) 2017 by Caleb Cushing <xenoterracide@gmail.com>.
77              
78             This is free software, licensed under:
79              
80             The Artistic License 2.0 (GPL Compatible)
81              
82             =cut