Finance/Bank/Postbank_de/APIv1/Depot.pm

filter: Statementstmt 80.9% 17 / 21 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 80.0% 4 / 5 Podpod 0.0% 0 / 1 totaltotal 77.7% 21 / 27 CC 1 SCAR 1.8
CC
1
Cov
81%
positions
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« Finance/Bank/Postbank_de/APIv1/Finanzstatus.pm ↑ Summary Finance/Bank/Postbank_de/APIv1/BusinessPartner.pm »
1 package Finance::Bank::Postbank_de::APIv1::Depot;
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::Depot - Postbank Depot
13  
14 =head1 SYNOPSIS
15  
16 =cut
17  
18 10 has [ 'depotWinOrLoss',
19 'depotId',
20 'depotValue',
21 'depotWinOrLossPercent',
22 'messages',
23 'groupedPositions',
24 'date',
25 ] => ( is => 'ro' );
26  
27 10 has depotCurrency => (
28 is => 'ro',
29 default => 'EUR',
30 );
31
32 0 ▶sub positions( $self ) {
Subroutine positions: not called CC=1 SCAR=6.9
Pod undocumented
33 $self->inflate_list(
34 'Finance::Bank::Postbank_de::APIv1::Position',
35 [
36 map {
37 0 @{ $_->{positions} }
38 0 } @{ $self->groupedPositions }
39 ]);
40 }
41  
42 10 1;
43  
44 =head1 AUTHOR
45  
46 Max Maischein, E<lt>corion@cpan.orgE<gt>
47  
48 =head1 SEE ALSO
49  
50 L<perl>, L<WWW::Mechanize>.
51  
52 =head1 REPOSITORY
53  
54 The public repository of this module is
55 L<https://github.com/Corion/Finance-Bank-Postbank_de>.
56  
57 =head1 SUPPORT
58  
59 The public support forum of this module is
60 L<https://perlmonks.org/>.
61  
62 =head1 BUG TRACKER
63  
64 Please report bugs in this module via the RT CPAN bug queue at
65 L<https://rt.cpan.org/Public/Dist/Display.html?Name=Finance-Bank-Postbank_de>
66 or via mail to L<finance-bank-postbank_de-Bugs@rt.cpan.org>.
67  
68 =head1 COPYRIGHT (c)
69  
70 Copyright 2003-2019 by Max Maischein C<corion@cpan.org>.
71  
72 =head1 LICENSE
73  
74 This module is released under the same terms as Perl itself.
75  
76 =cut
« Finance/Bank/Postbank_de/APIv1/Finanzstatus.pm ↑ Summary Finance/Bank/Postbank_de/APIv1/BusinessPartner.pm »