Business/CyberSource/ResponsePart/TaxReply.pm

filter: Statementstmt 100% 33 / 33 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 6 / 6 Podpod n/a totaltotal 100% 39 / 39 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Business/CyberSource/ResponsePart/Reply.pm ↑ Summary Business/CyberSource/ResponsePart/TaxReply/Item.pm »
1 package Business::CyberSource::ResponsePart::TaxReply;
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 1 ▶use Module::Runtime qw( use_module );
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 1 our $VERSION = '0.010007'; # VERSION
8  
9 1 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
10 1 extends 'Business::CyberSource::MessagePart';
11 1 with qw(
12 Business::CyberSource::Response::Role::ReasonCode
13 );
14 1 ▶use MooseX::Types::CyberSource qw( TaxReplyItems );
Subroutine BEGIN: called CC=1 SCAR=0.0
15  
16 1 has items => (
17 isa => TaxReplyItems,
18 remote_name => 'item',
19 is => 'bare',
20 coerce => 1,
21 );
22  
23 1 has city => (
24 isa => 'Str',
25 remote_name => 'city',
26 is => 'ro',
27 );
28  
29 1 has total => (
30 isa => 'Num',
31 remote_name => 'grandTotalAmount',
32 is => 'ro',
33 );
34  
35 1 has postal_code => (
36 isa => 'Str',
37 remote_name => 'postalCode',
38 is => 'ro',
39 );
40  
41 1 has state => (
42 isa => 'Str',
43 remote_name => 'state',
44 is => 'ro',
45 );
46  
47 1 has total_city_tax_amount => (
48 isa => 'Num',
49 remote_name => 'totalCityTaxAmount',
50 is => 'ro',
51 );
52  
53 1 has total_county_tax_amount => (
54 isa => 'Num',
55 remote_name => 'totalCountyTaxAmount',
56 is => 'ro',
57 );
58  
59 1 has total_district_tax_amount => (
60 isa => 'Num',
61 remote_name => 'totalDistrictTaxAmount',
62 is => 'ro',
63 );
64  
65 1 has total_state_tax_amount => (
66 isa => 'Num',
67 remote_name => 'totalStateTaxAmount',
68 is => 'ro',
69 );
70  
71 1 has total_tax_amount => (
72 isa => 'Num',
73 remote_name => 'totalTaxAmount',
74 is => 'ro',
75 );
76  
77 1 __PACKAGE__->meta->make_immutable;
78 1 1;
79 # ABSTRACT: Reply section for Tax Service
80  
81 __END__
82  
83 =pod
84  
85 =encoding UTF-8
86  
87 =head1 NAME
88  
89 Business::CyberSource::ResponsePart::TaxReply - Reply section for Tax Service
90  
91 =head1 VERSION
92  
93 version 0.010007
94  
95 =head1 ATTRIBUTES
96  
97 =head2 items
98  
99 =head2 city
100  
101 =head2 total
102  
103 =head2 postal_code
104  
105 =head2 state
106  
107 =head2 total_city_tax_amount
108  
109 =head2 total_county_tax_amount
110  
111 =head2 total_district_tax_amount
112  
113 =head2 total_state_tax_amount
114  
115 =head2 total_tax_amount
116  
117 =head1 BUGS
118  
119 Please report any bugs or feature requests on the bugtracker website
120 https://github.com/xenoterracide/business-cybersource/issues
121  
122 When submitting a bug or request, please include a test-file or a
123 patch to an existing test-file that illustrates the bug or desired
124 feature.
125  
126 =head1 AUTHOR
127  
128 Caleb Cushing <xenoterracide@gmail.com>
129  
130 =head1 COPYRIGHT AND LICENSE
131  
132 This software is Copyright (c) 2016 by Caleb Cushing <xenoterracide@gmail.com>.
133  
134 This is free software, licensed under:
135  
136 The Artistic License 2.0 (GPL Compatible)
137  
138 =cut
« Business/CyberSource/ResponsePart/Reply.pm ↑ Summary Business/CyberSource/ResponsePart/TaxReply/Item.pm »