| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
package WebService::Async::Onfido::Base::Applicant; |
|
2
|
|
|
|
|
|
|
|
|
3
|
2
|
|
|
2
|
|
787
|
use strict; |
|
|
2
|
|
|
|
|
4
|
|
|
|
2
|
|
|
|
|
53
|
|
|
4
|
2
|
|
|
2
|
|
40
|
use warnings; |
|
|
2
|
|
|
|
|
5
|
|
|
|
2
|
|
|
|
|
52
|
|
|
5
|
|
|
|
|
|
|
|
|
6
|
2
|
|
|
2
|
|
10
|
use utf8; |
|
|
2
|
|
|
|
|
3
|
|
|
|
2
|
|
|
|
|
13
|
|
|
7
|
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
our $VERSION = '0.005'; # VERSION |
|
9
|
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
=head1 NAME |
|
11
|
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
WebService::Async::Onfido::Base::Applicant - 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
|
|
|
|
|
|
|
sub new { |
|
21
|
4
|
|
|
4
|
0
|
37
|
my ($class, %args) = @_; |
|
22
|
4
|
50
|
|
|
|
29
|
Scalar::Util::weaken($args{onfido}) if $args{onfido}; |
|
23
|
4
|
|
|
|
|
32
|
return bless \%args, $class; |
|
24
|
|
|
|
|
|
|
} |
|
25
|
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
=head1 METHODS |
|
27
|
|
|
|
|
|
|
=head2 id |
|
28
|
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
The unique identifier for the applicant. |
|
30
|
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
=cut |
|
32
|
|
|
|
|
|
|
|
|
33
|
17
|
|
|
17
|
0
|
12292
|
sub id : method { return shift->{id} } |
|
34
|
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
=head2 created_at |
|
36
|
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
The date and time when this applicant was created. |
|
38
|
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
=cut |
|
40
|
|
|
|
|
|
|
|
|
41
|
0
|
|
|
0
|
1
|
0
|
sub created_at : method { return shift->{created_at} } |
|
42
|
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
=head2 delete_at |
|
44
|
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
The date and time when this applicant is scheduled to be deleted, or null if the applicant is not scheduled to be deleted. |
|
46
|
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
=cut |
|
48
|
|
|
|
|
|
|
|
|
49
|
0
|
|
|
0
|
1
|
0
|
sub delete_at : method { return shift->{delete_at} } |
|
50
|
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
=head2 href |
|
52
|
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
The URI of this resource. |
|
54
|
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
=cut |
|
56
|
|
|
|
|
|
|
|
|
57
|
0
|
|
|
0
|
1
|
0
|
sub href : method { return shift->{href} } |
|
58
|
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
=head2 title |
|
60
|
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
The applicant's title. Valid values are Mr, Mrs, Miss and Ms. |
|
62
|
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
=cut |
|
64
|
|
|
|
|
|
|
|
|
65
|
0
|
|
|
0
|
1
|
0
|
sub title : method { return shift->{title} } |
|
66
|
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
=head2 first_name |
|
68
|
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
The applicant's first name. |
|
70
|
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
=cut |
|
72
|
|
|
|
|
|
|
|
|
73
|
2
|
|
|
2
|
1
|
24
|
sub first_name : method { return shift->{first_name} } |
|
74
|
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
=head2 middle_name |
|
76
|
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
The applicant's middle name(s) or initial. |
|
78
|
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
=cut |
|
80
|
|
|
|
|
|
|
|
|
81
|
0
|
|
|
0
|
1
|
0
|
sub middle_name : method { return shift->{middle_name} } |
|
82
|
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
=head2 last_name |
|
84
|
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
The applicant's surname. |
|
86
|
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
=cut |
|
88
|
|
|
|
|
|
|
|
|
89
|
2
|
|
|
2
|
1
|
8
|
sub last_name : method { return shift->{last_name} } |
|
90
|
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
=head2 email |
|
92
|
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
The applicant's email address. |
|
94
|
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
=cut |
|
96
|
|
|
|
|
|
|
|
|
97
|
0
|
|
|
0
|
1
|
|
sub email : method { return shift->{email} } |
|
98
|
|
|
|
|
|
|
|
|
99
|
|
|
|
|
|
|
=head2 gender |
|
100
|
|
|
|
|
|
|
|
|
101
|
|
|
|
|
|
|
The applicant's gender. Valid values are male and female. |
|
102
|
|
|
|
|
|
|
|
|
103
|
|
|
|
|
|
|
=cut |
|
104
|
|
|
|
|
|
|
|
|
105
|
0
|
|
|
0
|
1
|
|
sub gender : method { return shift->{gender} } |
|
106
|
|
|
|
|
|
|
|
|
107
|
|
|
|
|
|
|
=head2 dob |
|
108
|
|
|
|
|
|
|
|
|
109
|
|
|
|
|
|
|
The applicant's date of birth in yyyy-mm-dd format. |
|
110
|
|
|
|
|
|
|
|
|
111
|
|
|
|
|
|
|
=cut |
|
112
|
|
|
|
|
|
|
|
|
113
|
0
|
|
|
0
|
1
|
|
sub dob : method { return shift->{dob} } |
|
114
|
|
|
|
|
|
|
|
|
115
|
|
|
|
|
|
|
=head2 telephone |
|
116
|
|
|
|
|
|
|
|
|
117
|
|
|
|
|
|
|
The applicant's landline phone number. |
|
118
|
|
|
|
|
|
|
|
|
119
|
|
|
|
|
|
|
=cut |
|
120
|
|
|
|
|
|
|
|
|
121
|
0
|
|
|
0
|
1
|
|
sub telephone : method { return shift->{telephone} } |
|
122
|
|
|
|
|
|
|
|
|
123
|
|
|
|
|
|
|
=head2 mobile |
|
124
|
|
|
|
|
|
|
|
|
125
|
|
|
|
|
|
|
The applicant's mobile phone number. |
|
126
|
|
|
|
|
|
|
|
|
127
|
|
|
|
|
|
|
=cut |
|
128
|
|
|
|
|
|
|
|
|
129
|
0
|
|
|
0
|
1
|
|
sub mobile : method { return shift->{mobile} } |
|
130
|
|
|
|
|
|
|
|
|
131
|
|
|
|
|
|
|
=head2 country |
|
132
|
|
|
|
|
|
|
|
|
133
|
|
|
|
|
|
|
The country where this applicant will be checked. This must be a three-letter ISO code e.g. GBR or USA. If not provided the default is GBR.. |
|
134
|
|
|
|
|
|
|
|
|
135
|
|
|
|
|
|
|
=cut |
|
136
|
|
|
|
|
|
|
|
|
137
|
0
|
|
|
0
|
1
|
|
sub country : method { return shift->{country} } |
|
138
|
|
|
|
|
|
|
|
|
139
|
|
|
|
|
|
|
=head2 mothers_maiden_name |
|
140
|
|
|
|
|
|
|
|
|
141
|
|
|
|
|
|
|
The applicant's mother's maiden name. |
|
142
|
|
|
|
|
|
|
|
|
143
|
|
|
|
|
|
|
=cut |
|
144
|
|
|
|
|
|
|
|
|
145
|
0
|
|
|
0
|
1
|
|
sub mothers_maiden_name : method { return shift->{mothers_maiden_name} } |
|
146
|
|
|
|
|
|
|
|
|
147
|
|
|
|
|
|
|
=head2 previous_last_name |
|
148
|
|
|
|
|
|
|
|
|
149
|
|
|
|
|
|
|
The applicant's previous surname. |
|
150
|
|
|
|
|
|
|
|
|
151
|
|
|
|
|
|
|
=cut |
|
152
|
|
|
|
|
|
|
|
|
153
|
0
|
|
|
0
|
1
|
|
sub previous_last_name : method { return shift->{previous_last_name} } |
|
154
|
|
|
|
|
|
|
|
|
155
|
|
|
|
|
|
|
=head2 nationality |
|
156
|
|
|
|
|
|
|
|
|
157
|
|
|
|
|
|
|
The applicant's current nationality. This must be a three-letter ISO code e.g. GBR or USA. |
|
158
|
|
|
|
|
|
|
|
|
159
|
|
|
|
|
|
|
=cut |
|
160
|
|
|
|
|
|
|
|
|
161
|
0
|
|
|
0
|
1
|
|
sub nationality : method { return shift->{nationality} } |
|
162
|
|
|
|
|
|
|
|
|
163
|
|
|
|
|
|
|
=head2 country_of_birth |
|
164
|
|
|
|
|
|
|
|
|
165
|
|
|
|
|
|
|
The applicant's country of birth. This must be a three-letter ISO code e.g. GBR or USA. |
|
166
|
|
|
|
|
|
|
|
|
167
|
|
|
|
|
|
|
=cut |
|
168
|
|
|
|
|
|
|
|
|
169
|
0
|
|
|
0
|
1
|
|
sub country_of_birth : method { return shift->{country_of_birth} } |
|
170
|
|
|
|
|
|
|
|
|
171
|
|
|
|
|
|
|
=head2 town_of_birth |
|
172
|
|
|
|
|
|
|
|
|
173
|
|
|
|
|
|
|
The applicant's town of birth. |
|
174
|
|
|
|
|
|
|
|
|
175
|
|
|
|
|
|
|
=cut |
|
176
|
|
|
|
|
|
|
|
|
177
|
0
|
|
|
0
|
1
|
|
sub town_of_birth : method { return shift->{town_of_birth} } |
|
178
|
|
|
|
|
|
|
|
|
179
|
|
|
|
|
|
|
=head2 id_numbers |
|
180
|
|
|
|
|
|
|
|
|
181
|
|
|
|
|
|
|
A collection of identification numbers belonging to this applicant. |
|
182
|
|
|
|
|
|
|
|
|
183
|
|
|
|
|
|
|
=cut |
|
184
|
|
|
|
|
|
|
|
|
185
|
0
|
|
|
0
|
1
|
|
sub id_numbers : method { return shift->{id_numbers} } |
|
186
|
|
|
|
|
|
|
|
|
187
|
|
|
|
|
|
|
=head2 address |
|
188
|
|
|
|
|
|
|
|
|
189
|
|
|
|
|
|
|
The current address of the applicant. |
|
190
|
|
|
|
|
|
|
|
|
191
|
|
|
|
|
|
|
=cut |
|
192
|
|
|
|
|
|
|
|
|
193
|
0
|
|
|
0
|
1
|
|
sub address : method { return shift->{address} } |
|
194
|
|
|
|
|
|
|
|
|
195
|
|
|
|
|
|
|
1; |
|
196
|
|
|
|
|
|
|
|
|
197
|
|
|
|
|
|
|
__END__ |
|
198
|
|
|
|
|
|
|
|
|
199
|
|
|
|
|
|
|
=head1 AUTHOR |
|
200
|
|
|
|
|
|
|
|
|
201
|
|
|
|
|
|
|
deriv.com C<< DERIV@cpan.org >> |
|
202
|
|
|
|
|
|
|
|
|
203
|
|
|
|
|
|
|
=head1 LICENSE |
|
204
|
|
|
|
|
|
|
|
|
205
|
|
|
|
|
|
|
Copyright deriv.com 2019. Licensed under the same terms as Perl itself. |
|
206
|
|
|
|
|
|
|
|