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.010008'; # 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__
« Business/CyberSource/ResponsePart/Reply.pm ↑ Summary Business/CyberSource/ResponsePart/TaxReply/Item.pm »