line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
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 |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
=head1 FUNCTIONS |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
=cut |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
package Finance::Bank::JP::Mizuho::Account; |
19
|
|
|
|
|
|
|
|
20
|
3
|
|
|
3
|
|
17
|
use strict; |
|
3
|
|
|
|
|
7
|
|
|
3
|
|
|
|
|
109
|
|
21
|
3
|
|
|
3
|
|
16
|
use warnings; |
|
3
|
|
|
|
|
6
|
|
|
3
|
|
|
|
|
574
|
|
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
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 |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
Bank account number |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
=item * |
39
|
|
|
|
|
|
|
B |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
Name of branch account hosted |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
=item * |
44
|
|
|
|
|
|
|
B |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
Account type: 普通 / 当座 |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
=item * |
49
|
|
|
|
|
|
|
B |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
A value used for getting OFX by L |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
=back |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
=cut |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
sub new { |
58
|
0
|
|
|
0
|
1
|
|
my $class = shift; |
59
|
0
|
|
|
|
|
|
my $self = bless { @_ }, $class; |
60
|
0
|
|
|
|
|
|
$self; |
61
|
|
|
|
|
|
|
} |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
=head2 number |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
=cut |
66
|
0
|
|
|
0
|
1
|
|
sub number { shift->{number} } |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
=head2 branch |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
=cut |
71
|
0
|
|
|
0
|
1
|
|
sub branch { shift->{branch} } |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
=head2 type |
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
=cut |
76
|
0
|
|
|
0
|
1
|
|
sub type { shift->{type} } |
77
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
=head2 radio_value |
79
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
=cut |
81
|
0
|
|
|
0
|
1
|
|
sub radio_value { shift->{radio_value} } |
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
=head2 last_downloaded_from |
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
the account's OFX downloaded from |
86
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
=cut |
88
|
0
|
|
|
0
|
1
|
|
sub last_downloaded_from { shift->{last_downloaded_from} } |
89
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
=head2 last_downloaded_to |
91
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
the account's OFX downloaded to |
93
|
|
|
|
|
|
|
|
94
|
|
|
|
|
|
|
=cut |
95
|
0
|
|
|
0
|
1
|
|
sub last_downloaded_to { shift->{last_downloaded_to} } |
96
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
|
98
|
|
|
|
|
|
|
|
99
|
|
|
|
|
|
|
|
100
|
|
|
|
|
|
|
1 |
101
|
|
|
|
|
|
|
|
102
|
|
|
|
|
|
|
__END__ |