Business/CyberSource/RequestPart/Service/Tax.pm

filter: Statementstmt 85.0% 17 / 20 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 80.0% 4 / 5 Podpod n/a totaltotal 84.0% 21 / 25 CC 1 SCAR 1.8
CC
1
Cov
85%
__ANON__
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« Business/CyberSource/RequestPart/BusinessRules.pm ↑ Summary Business/CyberSource/Exception/UnableToDetectCardTypeCode.pm »
1 package Business::CyberSource::RequestPart::Service::Tax;
2 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use namespace::autoclean;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 1 our $VERSION = '0.010007'; # VERSION
7  
8 1 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
9 1 extends 'Business::CyberSource::RequestPart::Service';
10  
11 has nexus => (
12 isa => 'ArrayRef[Str]',
13 is => 'ro',
14 traits => ['Array'],
15 serializer => sub {
16 0 ▶ my ( $attr, $instance ) = @_;
Subroutine __ANON__: not called CC=1 SCAR=6.9
17 0 return join ' ', @{ $attr->get_value( $instance ) };
18 },
19 1 );
20  
21 1 __PACKAGE__->meta->make_immutable;
22 1 1;
23 # ABSTRACT: Tax Service
24  
25 __END__
26  
27 =pod
28  
29 =encoding UTF-8
30  
31 =head1 NAME
32  
33 Business::CyberSource::RequestPart::Service::Tax - Tax Service
34  
35 =head1 VERSION
36  
37 version 0.010007
38  
39 =head1 BUGS
40  
41 Please report any bugs or feature requests on the bugtracker website
42 https://github.com/xenoterracide/business-cybersource/issues
43  
44 When submitting a bug or request, please include a test-file or a
45 patch to an existing test-file that illustrates the bug or desired
46 feature.
47  
48 =head1 AUTHOR
49  
50 Caleb Cushing <xenoterracide@gmail.com>
51  
52 =head1 COPYRIGHT AND LICENSE
53  
54 This software is Copyright (c) 2016 by Caleb Cushing <xenoterracide@gmail.com>.
55  
56 This is free software, licensed under:
57  
58 The Artistic License 2.0 (GPL Compatible)
59  
60 =cut
« Business/CyberSource/RequestPart/BusinessRules.pm ↑ Summary Business/CyberSource/Exception/UnableToDetectCardTypeCode.pm »