NAME

Business::Payroll::US::MO

SYNOPSIS

use Business::Payroll::US::MO;

my $moPayroll = Business::Payroll::US::MO->new();
if ($moPayroll->error())
{
  die $moPayroll->errorMessage();
}

my $result = Business::Payroll::XML::OutData->new(periodNames => \%periodNames);
my @result = ();

eval { @result = $moPayroll->process(person => $person, date => $date, period => $period,
                           info => \%countryInfo, federal => $federal, fYTD => $fYTD);
if ($@)
{
  die "$@";
}

DESCRIPTION

This is the base package for the Business::Payroll::US::MO Modules.

Exported FUNCTIONS

scalar new()

Creates a new instance of the object.
takes:

bool isValid(void)

Returns 0 or 1 to indicate if the object is valid.  The error will be available via errorMessage().

@items process(person, date, period, info, federal, fYTD, round)

info contains the information related to this country for the specified person.
person represents the person object in the Data structure.
date is the date specified in the XML document.
period is the period specified in the XML document.
federal is the calculated federal taxes.
fYTD is the currently withheld federal YTD taxes.
round indicates if we are to round the results.

Returns: the items array of name,value entries created.

NOTE

All data fields are accessible by specifying the object and pointing to the data member to be modified on the left-hand side of the assignment. Ex. $obj->variable($newValue); or $value = $obj->variable;

AUTHOR

Xperience, Inc. (mailto:admin@pcxperience.com)

SEE ALSO

perl(1), Business::Payroll(3), Business::Payroll::US(3)

2 POD Errors

The following errors were encountered while parsing the POD:

Around line 58:

You forgot a '=back' before '=head2'

Around line 203:

=back without =over