NAME
Finance::Bank::SentinelBenefits::Csv401kConverter::LineParser - turns CSV lines into standardized Line objects
VERSION
version 1.0
SYNOPSIS
This class takes raw lines from the Sentinel website's CSV files and a map of security names to symbols, and returns parsed Finance::Bank::SentinelBenefits::Csv401kConverter::Line
objects
Constructor
new()
my $f = Finance::Bank::SentinelBenefits::Csv401kConverter::LineParser->new( {
symbol_map => $symbol_map,
} );
Construct a new LineParser with the given symbol map
Accessors
$p->symbol_map()
Accesses the passed in symbol map. This is only really for internal use, as the symbol map is immutable.
Methods
$f->parse_line($line);
This method takes the line to be parsed as an argument.
If it is a valid security line, it returns a Finance::Bank::SentinelBenefits::Csv401kConverter::Line
.
If it is not a valid security line, it returns undef
.