lib/WebService/Braintree/_/EuropeBankAccount.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/_/DocumentUpload.pm ↑ Summary lib/WebService/Braintree/_/IbanBankAccount.pm »
1 # vim: sw=4 ts=4 ft=perl
2  
3 package WebService::Braintree::_::EuropeBankAccount;
4 22 $WebService::Braintree::_::EuropeBankAccount::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::_::EuropeBankAccount
11  
12 =head1 PURPOSE
13  
14 This class represents a Europe bank account.
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 =head1 ATTRIBUTES
26  
27 =cut
28  
29 =head2 customer_id()
30  
31 This is the customer ID for this bank account.
32  
33 =cut
34  
35 22 has customer_id => (
36 is => 'ro',
37 );
38  
39 =head2 default()
40  
41 This represents if this account is default.
42  
43 C<< is_default() >> is an alias for this attribute.
44  
45 =cut
46  
47 22 has default => (
48 is => 'ro',
49 alias => 'is_default',
50 );
51  
52 =head2 image_url()
53  
54 This is the image URL for this bank account.
55  
56 =cut
57  
58 22 has image_url => (
59 is => 'ro',
60 );
61  
62 =head2 token()
63  
64 This is the token for this bank account.
65  
66 =cut
67  
68 22 has token => (
69 is => 'ro',
70 );
71  
72 22 __PACKAGE__->meta->make_immutable;
73  
74 22 1;
75 __END__
« lib/WebService/Braintree/_/DocumentUpload.pm ↑ Summary lib/WebService/Braintree/_/IbanBankAccount.pm »