lib/WebService/Braintree/_/ThreeDSecureInfo.pm

filter: Statementstmt 100% 19 / 19 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod n/a totaltotal 100% 23 / 23 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« lib/WebService/Braintree/_/Subscription/StatusDetail.pm ↑ Summary lib/WebService/Braintree/_/Transaction/AddressDetail.pm »
1 # vim: sw=4 ts=4 ft=perl
2  
3 package WebService::Braintree::_::ThreeDSecureInfo;
4 22 $WebService::Braintree::_::ThreeDSecureInfo::VERSION = '1.7';
5 22 ▶use 5.010_001;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 22 ▶use strictures 1;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 =head1 NAME
9  
10 WebService::Braintree::_::ThreeDSecureInfo
11  
12 =head1 PURPOSE
13  
14 This class represents a ThreeD secure info.
15  
16 This class will only be created as part of a L<response|WebService::Braintree::Result> or L<error response|WebService::Braintree::ErrorResult>.
17  
18 =cut
19  
20 22 ▶use Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
21 22 ▶use MooX::Aliases;
Subroutine BEGIN: called CC=1 SCAR=0.0
22  
23 22 extends 'WebService::Braintree::_';
24  
25 =head2 enrolled()
26  
27 This is the additional processor response for this ThreeD secure info.
28  
29 C<< is_enrolled() >> is an alias to this attribute.
30  
31 =cut
32  
33 22 has enrolled => (
34 is => 'ro',
35 alias => 'is_enrolled',
36 );
37  
38 =head2 liability_shifted()
39  
40 This is true if the liability has shifted.
41  
42 C<< is_liability_shifted() >> is an alias to this attribute.
43  
44 =cut
45  
46 22 has liability_shifted => (
47 is => 'ro',
48 alias => 'is_liability_shifted',
49 );
50  
51 =head2 liability_shift_possible()
52  
53 This is true if a liability shift is possible.
54  
55 C<< is_liability_shift_possible() >> is an alias to this attribute.
56  
57 =cut
58  
59 22 has liability_shift_possible => (
60 is => 'ro',
61 alias => 'is_liability_shift_possible',
62 );
63  
64 =head2 status()
65  
66 This is the status for this ThreeD secure info.
67  
68 =cut
69  
70 22 has status => (
71 is => 'ro',
72 );
73  
74 22 __PACKAGE__->meta->make_immutable;
75  
76 22 1;
77 __END__
« lib/WebService/Braintree/_/Subscription/StatusDetail.pm ↑ Summary lib/WebService/Braintree/_/Transaction/AddressDetail.pm »