TrueLayer/Account/Identifier.pm

filter: Statementstmt 100% 18 / 18 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 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
« TrueLayer/Provider/Scheme.pm ↑ Summary TrueLayer/Address.pm »
1 package Business::TrueLayer::Account::Identifier;
2  
3 =head1 NAME
4  
5 Business::TrueLayer::Account::Identifier - class representing a
6 account identifier as used in the TrueLayer v3 API.
7  
8 https://docs.truelayer.com/docs/merchant-accounts-1
9  
10 =head1 SYNOPSIS
11  
12 my $Account = Business::TrueLayer::Account::Identifier->new(
13 type => ...
14 );
15  
16 =cut
17  
18 8 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
19 8 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
20 8 ▶use feature qw/ signatures postderef /;
Subroutine BEGIN: called CC=1 SCAR=0.0
21  
22 8 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
23 8 ▶no warnings qw/ experimental::signatures experimental::postderef /;
Subroutine BEGIN: called CC=1 SCAR=0.0
24  
25 =head1 ATTRIBUTES
26  
27 =over
28  
29 =item type (Str)
30  
31 =item iban (Str)
32  
33 =item account_number (Str)
34  
35 =item sort_code (Str)
36  
37 =back
38  
39 =cut
40  
41 8 has 'type' => (
42 is => 'ro',
43 isa => 'Str',
44 required => 1,
45 );
46  
47 8 has [ qw/ iban account_number sort_code / ] => (
48 is => 'ro',
49 isa => 'Str',
50 required => 0,
51 );
52  
53 =head1 METHODS
54  
55 None yet.
56  
57 =head1 SEE ALSO
58  
59 L<Business::TrueLayer::Account>
60  
61 =cut
62  
63 8 1;
« TrueLayer/Provider/Scheme.pm ↑ Summary TrueLayer/Address.pm »