File Coverage

blib/lib/Business/CyberSource/Request/Role/TaxService.pm
Criterion Covered Total %
statement 21 21 100.0
branch n/a
condition n/a
subroutine 7 7 100.0
pod n/a
total 28 28 100.0


line stmt bran cond sub pod time code
1             package Business::CyberSource::Request::Role::TaxService;
2 6     6   3310 use strict;
  6         8  
  6         166  
3 6     6   21 use warnings;
  6         8  
  6         142  
4 6     6   23 use namespace::autoclean;
  6         8  
  6         37  
5              
6             our $VERSION = '0.010007'; # VERSION
7              
8 6     6   416 use Moose::Role;
  6         7  
  6         39  
9 6     6   20685 use MooseX::SetOnce;
  6         9  
  6         107  
10 6     6   19 use MooseX::RemoteHelper;
  6         7  
  6         37  
11              
12 6     6   14328 use MooseX::Types::CyberSource qw( TaxService );
  6         9  
  6         42  
13              
14             has tax_service => (
15             isa => TaxService,
16             remote_name => 'taxService',
17             is => 'rw',
18             traits => ['SetOnce'],
19             coerce => 1,
20             );
21              
22             1;
23              
24             # ABSTRACT: Tax Service
25              
26             __END__
27              
28             =pod
29              
30             =encoding UTF-8
31              
32             =head1 NAME
33              
34             Business::CyberSource::Request::Role::TaxService - Tax Service
35              
36             =head1 VERSION
37              
38             version 0.010007
39              
40             =head1 ATTRIBUTES
41              
42             =head2 tax_service
43              
44             L<Business::CyberSource::RequestPart::Service::Tax> you can pass an empty hash
45             ref to the constructor, just to get the service to run.
46              
47             =head1 BUGS
48              
49             Please report any bugs or feature requests on the bugtracker website
50             https://github.com/xenoterracide/business-cybersource/issues
51              
52             When submitting a bug or request, please include a test-file or a
53             patch to an existing test-file that illustrates the bug or desired
54             feature.
55              
56             =head1 AUTHOR
57              
58             Caleb Cushing <xenoterracide@gmail.com>
59              
60             =head1 COPYRIGHT AND LICENSE
61              
62             This software is Copyright (c) 2016 by Caleb Cushing <xenoterracide@gmail.com>.
63              
64             This is free software, licensed under:
65              
66             The Artistic License 2.0 (GPL Compatible)
67              
68             =cut