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   4014 use strict;
  6         14  
  6         304  
3 6     6   31 use warnings;
  6         42  
  6         196  
4 6     6   29 use namespace::autoclean;
  6         10  
  6         50  
5              
6             our $VERSION = '0.010006'; # VERSION
7              
8 6     6   689 use Moose::Role;
  6         13  
  6         45  
9 6     6   28617 use MooseX::SetOnce;
  6         14  
  6         135  
10 6     6   27 use MooseX::RemoteHelper;
  6         9  
  6         44  
11              
12 6     6   19939 use MooseX::Types::CyberSource qw( TaxService );
  6         14  
  6         60  
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.010006
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) 2015 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