Finance/Bank/Postbank_de/APIv1/Message.pm

filter: Statementstmt 80.0% 16 / 20 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 57.1% 4 / 7 Podpod 0.0% 0 / 3 totaltotal 66.6% 20 / 30 CC 1 SCAR 3.6
CC
1
Cov
80%
attachments_future
2.0
attachments
2.0
confirm
2.0
CRAP 1.4
« Finance/Bank/Postbank_de/APIv1/Account.pm ↑ Summary Finance/Bank/Postbank_de/APIv1/Finanzstatus.pm »
1 package Finance::Bank::Postbank_de::APIv1::Message;
2 10 ▶use Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 10 ▶use Filter::signatures;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 10 ▶no warnings 'experimental::signatures';
Subroutine BEGIN: called CC=1 SCAR=0.0
5 10 ▶use feature 'signatures';
Subroutine BEGIN: called CC=1 SCAR=0.0
6 10 extends 'HAL::Resource';
7  
8 10 our $VERSION = '0.57';
9  
10 =head1 NAME
11  
12 Finance::Bank::Postbank_de::APIv1::Finanzstatus - Postbank Finanzstatus
13  
14 =head1 SYNOPSIS
15  
16 =cut
17  
18 10 has [
19 'productType',
20 'notificationId',
21 'iban',
22 'deletionDate',
23 'messages',
24 'deleteable',
25 'confirmationLimitDate',
26 'receiptDate',
27 'confirmationDate',
28 'postalDispatchDate',
29 'priority',
30 'accountDescription',
31 'type', # 'EBS', 'CAMPAIGN', 'SIGNAL', 'SETTLEMENT', ...
32 'subject',
33 'state', # 'NEW', 'READ'
34 ] => ( is => 'ro' );
35  
36 0 ▶sub attachments_future( $self ) {
Subroutine attachments_future: not called CC=1 SCAR=6.9
Pod undocumented
37 0 $self->fetch_resource_future( 'attachements' )
38 }
39
40 0 ▶sub attachments( $self ) {
Subroutine attachments: not called CC=1 SCAR=6.9
Pod undocumented
41 0 $self->attachments_future->get
42 }
43  
44 0 ▶sub confirm( $self ) {
Subroutine confirm: not called CC=1 SCAR=6.9
Pod undocumented
45 0 die "confirm() is not implemented yet";
46 0 $self->ua->post( $self->resource_url( 'confirm' ))
47 }
48  
49 10 1;
50 =head1 AUTHOR
51  
52 Max Maischein, E<lt>corion@cpan.orgE<gt>
53  
54 =head1 SEE ALSO
55  
56 L<perl>, L<WWW::Mechanize>.
57  
58 =head1 REPOSITORY
59  
60 The public repository of this module is
61 L<https://github.com/Corion/Finance-Bank-Postbank_de>.
62  
63 =head1 SUPPORT
64  
65 The public support forum of this module is
66 L<https://perlmonks.org/>.
67  
68 =head1 BUG TRACKER
69  
70 Please report bugs in this module via the RT CPAN bug queue at
71 L<https://rt.cpan.org/Public/Dist/Display.html?Name=Finance-Bank-Postbank_de>
72 or via mail to L<finance-bank-postbank_de-Bugs@rt.cpan.org>.
73  
74 =head1 COPYRIGHT (c)
75  
76 Copyright 2003-2019 by Max Maischein C<corion@cpan.org>.
77  
78 =head1 LICENSE
79  
80 This module is released under the same terms as Perl itself.
81  
82 =cut
« Finance/Bank/Postbank_de/APIv1/Account.pm ↑ Summary Finance/Bank/Postbank_de/APIv1/Finanzstatus.pm »