TrueLayer/Address.pm

filter: Statementstmt 100% 17 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod n/a totaltotal 100% 22 / 22 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« TrueLayer/Account/Identifier.pm ↑ Summary TrueLayer/Beneficiary.pm »
1 package Business::TrueLayer::Address;
2  
3 =head1 NAME
4  
5 Business::TrueLayer::Address - class representing an address
6 as used in the TrueLayer v3 API.
7  
8 https://docs.truelayer.com/docs/merchant-accounts-1
9  
10 =head1 SYNOPSIS
11  
12 my $Address = Business::TrueLayer::Address->new(
13 type => ...
14 );
15  
16 =cut
17  
18 6 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
19 6 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
20 6 ▶use feature qw/ signatures postderef /;
Subroutine BEGIN: called CC=1 SCAR=0.0
21  
22 6 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
23 6 ▶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 address_line1 (Str)
30  
31 =item city (Str)
32  
33 =item state (Str)
34  
35 =item zip (Str)
36  
37 =item country_code (Str)
38  
39 =back
40  
41 =cut
42  
43 6 has [ qw/ address_line1 city state zip country_code / ] => (
44 is => 'ro',
45 isa => 'Str',
46 required => 1,
47 );
48  
49 =head1 METHODS
50  
51 None yet.
52  
53 =head1 SEE ALSO
54  
55 =cut
56  
57 6 1;
« TrueLayer/Account/Identifier.pm ↑ Summary TrueLayer/Beneficiary.pm »