lib/WebService/Async/Onfido/Base/Address.pm

filter: Statementstmt 44.0% 11 / 25 Branchbran 0.0% 0 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 20.0% 3 / 15 Podpod 83.3% 10 / 12 totaltotal 44.4% 24 / 54 CC 2 SCAR 8.4
CC
2
Cov
41%
new
6.0
flat_number
2.0
building_number
2.0
CRAP 2.3
« lib/WebService/Async/Onfido/Base/Video.pm ↑ Summary lib/WebService/Async/Onfido.pm »
1 package WebService::Async::Onfido::Base::Address;
2  
3 5 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 5 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 5 ▶use utf8;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 5 our $VERSION = '0.007'; # VERSION
9  
10 =head1 NAME
11  
12 WebService::Async::Onfido::Base::Address - represents data for Onfido
13  
14 =head1 DESCRIPTION
15  
16 This is autogenerated from the documentation in L<https://documentation.onfido.com>.
17  
18 =cut
19  
20 0 ▶sub new {
Subroutine new: not called CC=2 SCAR=17.9
Pod undocumented
21 0 my ($class, %args) = @_;
22 0 ▶ Scalar::Util::weaken($args{onfido}) if $args{onfido};
Branch: 1 branch
BranchTrueFalseTotal
if $args{"onfido"} 0 0 0
23 0 return bless \%args, $class;
24 }
25  
26 =head1 METHODS
27 =head2 flat_number
28  
29 The flat number of this address.
30  
31 =cut
32  
33 0 ▶sub flat_number : method { return shift->{flat_number} }
Subroutine flat_number: not called CC=1 SCAR=6.9
Pod undocumented
34  
35 =head2 building_number
36  
37 The building number of this address.
38  
39 =cut
40  
41 0 ▶sub building_number : method { return shift->{building_number} }
Subroutine building_number: not called CC=1 SCAR=6.9
Pod documented
42  
43 =head2 building_name
44  
45 The building name of this address.
46  
47 =cut
48  
49 0 ▶sub building_name : method { return shift->{building_name} }
Subroutine building_name: not called CC=1 SCAR=6.9
Pod documented
50  
51 =head2 street
52  
53 The street of the applicant's address. There is a 32-character limit on this field for UK addresses.
54  
55 =cut
56  
57 0 ▶sub street : method { return shift->{street} }
Subroutine street: not called CC=1 SCAR=6.9
Pod documented
58  
59 =head2 sub_street
60  
61 The sub-street of the applicant's address.
62  
63 =cut
64  
65 0 ▶sub sub_street : method { return shift->{sub_street} }
Subroutine sub_street: not called CC=1 SCAR=6.9
Pod documented
66  
67 =head2 town
68  
69 The town of the applicant's address.
70  
71 =cut
72  
73 0 ▶sub town : method { return shift->{town} }
Subroutine town: not called CC=1 SCAR=6.9
Pod documented
74  
75 =head2 state
76  
77 The address state. US states must use the USPS abbreviation (see also ISO 3166-2:US), for example AK, CA, or TX..
78  
79 =cut
80  
81 ## no critic (ProhibitBuiltinHomonyms)
82 0 ▶sub state : method { return shift->{state} }
Subroutine state: not called CC=1 SCAR=6.9
Pod documented
83  
84 =head2 postcode
85  
86 The postcode or ZIP of the applicant's address. For UK postcode, specify the value in the following format: SW4 6EH.
87  
88 =cut
89  
90 0 ▶sub postcode : method { return shift->{postcode} }
Subroutine postcode: not called CC=1 SCAR=6.9
Pod documented
91  
92 =head2 country
93  
94 The 3 character ISO country code of this address. For example, GBR is the country code for the United Kingdom.
95  
96 =cut
97  
98 0 ▶sub country : method { return shift->{country} }
Subroutine country: not called CC=1 SCAR=6.9
Pod documented
99  
100 =head2 start_date
101  
102 The date the applicant started living at this address in yyyy-mm-dd format.
103  
104 =cut
105  
106 0 ▶sub start_date : method { return shift->{start_date} }
Subroutine start_date: not called CC=1 SCAR=6.9
Pod documented
107  
108 =head2 end_date
109  
110 The date the applicant left this address in yyyy-mm-dd format. If current residence, leave null.
111  
112 =cut
113  
114 0 ▶sub end_date : method { return shift->{end_date} }
Subroutine end_date: not called CC=1 SCAR=6.9
Pod documented
115  
116 5 1;
117  
118 __END__
« lib/WebService/Async/Onfido/Base/Video.pm ↑ Summary lib/WebService/Async/Onfido.pm »