« lib/WebService/Async/Onfido/Base/Check.pm
↑ Summary
lib/WebService/Async/Onfido/Base/Applicant.pm »
| 1 | package WebService::Async::Onfido::Base::Report; | ||||||||||
| 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.002'; # VERSION | |||||||||
| 9 | |||||||||||
| 10 | =head1 NAME | ||||||||||
| 11 | |||||||||||
| 12 | WebService::Async::Onfido::Base::Report - 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 | 0 | ▶ | my ($class, %args) = @_; | ||||||||
|
Subroutine
new: not called CC=2 SCAR=17.9
Pod
undocumented
| |||||||||||
| 22 | 0 | ▶ | Scalar::Util::weaken($args{onfido}) if $args{onfido}; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 23 | 0 | return bless \%args, $class; | |||||||||
| 24 | } | ||||||||||
| 25 | |||||||||||
| 26 | =head1 METHODS | ||||||||||
| 27 | =head2 id | ||||||||||
| 28 | |||||||||||
| 29 | The unique identifier for the report. | ||||||||||
| 30 | |||||||||||
| 31 | =cut | ||||||||||
| 32 | |||||||||||
| 33 | 0 | ▶ | sub id : method { return shift->{id} } | ||||||||
|
Subroutine
id: not called CC=1 SCAR=6.9
Pod
undocumented
| |||||||||||
| 34 | |||||||||||
| 35 | =head2 created_at | ||||||||||
| 36 | |||||||||||
| 37 | The date and time at which the report was first initiated. | ||||||||||
| 38 | |||||||||||
| 39 | =cut | ||||||||||
| 40 | |||||||||||
| 41 | 0 | ▶ | sub created_at : method { return shift->{created_at} } | ||||||||
|
Subroutine
created_at: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 42 | |||||||||||
| 43 | =head2 name | ||||||||||
| 44 | |||||||||||
| 45 | Report type string identifier. See Report Types. | ||||||||||
| 46 | |||||||||||
| 47 | =cut | ||||||||||
| 48 | |||||||||||
| 49 | 0 | ▶ | sub name : method { return shift->{name} } | ||||||||
|
Subroutine
name: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 50 | |||||||||||
| 51 | =head2 href | ||||||||||
| 52 | |||||||||||
| 53 | The API endpoint to retrieve the report. | ||||||||||
| 54 | |||||||||||
| 55 | =cut | ||||||||||
| 56 | |||||||||||
| 57 | 0 | ▶ | sub href : method { return shift->{href} } | ||||||||
|
Subroutine
href: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 58 | |||||||||||
| 59 | =head2 status | ||||||||||
| 60 | |||||||||||
| 61 | The current state of the report in the checking process. | ||||||||||
| 62 | |||||||||||
| 63 | =cut | ||||||||||
| 64 | |||||||||||
| 65 | 0 | ▶ | sub status : method { return shift->{status} } | ||||||||
|
Subroutine
status: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 66 | |||||||||||
| 67 | =head2 result | ||||||||||
| 68 | |||||||||||
| 69 | The result of the report. | ||||||||||
| 70 | |||||||||||
| 71 | =cut | ||||||||||
| 72 | |||||||||||
| 73 | 0 | ▶ | sub result : method { return shift->{result} } | ||||||||
|
Subroutine
result: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 74 | |||||||||||
| 75 | =head2 sub_result | ||||||||||
| 76 | |||||||||||
| 77 | The sub_result of the report. It gives a more detailed result for document reports only, and will be null otherwise. | ||||||||||
| 78 | |||||||||||
| 79 | =cut | ||||||||||
| 80 | |||||||||||
| 81 | 0 | ▶ | sub sub_result : method { return shift->{sub_result} } | ||||||||
|
Subroutine
sub_result: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 82 | |||||||||||
| 83 | =head2 variant | ||||||||||
| 84 | |||||||||||
| 85 | Report variant string identifier. Some reports have sub-types, which are identified by this field. These are detailed in Report Types. | ||||||||||
| 86 | |||||||||||
| 87 | =cut | ||||||||||
| 88 | |||||||||||
| 89 | 0 | ▶ | sub variant : method { return shift->{variant} } | ||||||||
|
Subroutine
variant: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 90 | |||||||||||
| 91 | =head2 options | ||||||||||
| 92 | |||||||||||
| 93 | Report options. Some reports expose additional options. These are detailed in Report Types. | ||||||||||
| 94 | |||||||||||
| 95 | =cut | ||||||||||
| 96 | |||||||||||
| 97 | 0 | ▶ | sub options : method { return shift->{options} } | ||||||||
|
Subroutine
options: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 98 | |||||||||||
| 99 | =head2 breakdown | ||||||||||
| 100 | |||||||||||
| 101 | The details of the report. This is specific to each type of report. | ||||||||||
| 102 | |||||||||||
| 103 | =cut | ||||||||||
| 104 | |||||||||||
| 105 | 0 | ▶ | sub breakdown : method { return shift->{breakdown} } | ||||||||
|
Subroutine
breakdown: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 106 | |||||||||||
| 107 | =head2 properties | ||||||||||
| 108 | |||||||||||
| 109 | The properties associated with the report, if any. | ||||||||||
| 110 | |||||||||||
| 111 | =cut | ||||||||||
| 112 | |||||||||||
| 113 | 0 | ▶ | sub properties : method { return shift->{properties} } | ||||||||
|
Subroutine
properties: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 114 | |||||||||||
| 115 | =head2 documents | ||||||||||
| 116 | |||||||||||
| 117 | The document ids that were processed. Only for Document Report.. | ||||||||||
| 118 | |||||||||||
| 119 | =cut | ||||||||||
| 120 | |||||||||||
| 121 | 0 | ▶ | sub documents : method { return shift->{documents} } | ||||||||
|
Subroutine
documents: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 122 | |||||||||||
| 123 | 5 | 1; | |||||||||
| 124 | |||||||||||
| 125 | __END__ | ||||||||||
| 126 | |||||||||||
| 127 | =head1 AUTHOR | ||||||||||
| 128 | |||||||||||
| 129 | deriv.com C<< DERIV@cpan.org >> | ||||||||||
| 130 | |||||||||||
| 131 | =head1 LICENSE | ||||||||||
| 132 | |||||||||||
| 133 | Copyright deriv.com 2019. Licensed under the same terms as Perl itself. | ||||||||||
| 134 | |||||||||||