Mizuho/Account.pm

filter: Statementstmt 100% 17 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 9 / 9 Podpod 100% 7 / 7 totaltotal 100% 33 / 33 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
new
1.0
CRAP 1.0
« Mizuho.pm ↑ Summary
1 =encoding utf8
2  
3 =head1 NAME
4  
5 Finance::Bank::JP::Mizuho::Account
6  
7 =head1 SYNOPSIS
8
9  
10 =head1 DESCRIPTION
11  
12 Account information of L<Finance::Bank::JP::Mizuho>
13  
14 =head1 FUNCTIONS
15  
16 =cut
17  
18 package Finance::Bank::JP::Mizuho::Account;
19  
20 3 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
21 3 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
22  
23 3 our $VERSION = '0.02';
24  
25 =head2 new ( %args )
26  
27 Creates a new instance.
28  
29 C<%config> keys:
30  
31 =over 3
32  
33 =item *
34 B<radio_value>
35  
36 Bank account number
37  
38 =item *
39 B<branch>
40  
41 Name of branch account hosted
42  
43 =item *
44 B<type>
45  
46 Account type: 普通 / 当座
47  
48 =item *
49 B<radio_value>
50  
51 A value used for getting OFX by L<Finance::Bank::JP::Mizuho>
52  
53 =back
54  
55 =cut
56  
57 4 ▶sub new {
Subroutine new: called CC=1 SCAR=0.0
Pod documented
58 4 my $class = shift;
59 4 my $self = bless { @_ }, $class;
60 4 $self;
61 }
62  
63 =head2 number
64  
65 =cut
66 5 ▶sub number { shift->{number} }
Subroutine number: called CC=1 SCAR=0.0
Pod documented
67  
68 =head2 branch
69  
70 =cut
71 4 ▶sub branch { shift->{branch} }
Subroutine branch: called CC=1 SCAR=0.0
Pod documented
72  
73 =head2 type
74  
75 =cut
76 4 ▶sub type { shift->{type} }
Subroutine type: called CC=1 SCAR=0.0
Pod documented
77  
78 =head2 radio_value
79  
80 =cut
81 4 ▶sub radio_value { shift->{radio_value} }
Subroutine radio_value: called CC=1 SCAR=0.0
Pod documented
82  
83 =head2 last_downloaded_from
84  
85 the account's OFX downloaded from
86  
87 =cut
88 12 ▶sub last_downloaded_from { shift->{last_downloaded_from} }
Subroutine last_downloaded_from: called CC=1 SCAR=0.0
Pod documented
89  
90 =head2 last_downloaded_to
91  
92 the account's OFX downloaded to
93  
94 =cut
95 12 ▶sub last_downloaded_to { shift->{last_downloaded_to} }
Subroutine last_downloaded_to: called CC=1 SCAR=0.0
Pod documented
96  
97  
98  
99  
100 3 1
101  
102 __END__
« Mizuho.pm ↑ Summary