NAME
Business::Payment::SwissESR - Class for creating Esr PDFs
SYNOPSYS
use Esr;
my $nl = '\newline';
my $bs = '\\';
my $esr = Esr->new(
shiftRightMm =>
shiftDownMm =>
senderAddressLaTeX => <<'LaTeX_End'
Oltner 2-Stunden Lauf\newline
Florastrasse 21\newline
4600 Olten
LaTeX_End
);
$esr->add(
amount => 44.40,
account => '01-17546-3',
senderAddressLaTeX => 'Override',
recipientAddressLaTeX => <<'LaTeX_End',
Peter Müller\newline
Haldenweg 12b\newline
4600 Olten
LaTeX_End
bodyLaTeX => 'the boddy of the bill in latex format',
referenceNumber => 3423,
watermark => 'secret marker',
);
$esr->pdfEmail();
$esr->pdfPrint();
DESCRIPTION
This class let's you create ESR pdfs both for email and to to print on official esr forms. The content is modled after:
https://www.postfinance.ch/content/dam/pf/de/doc/consult/templ/example/44218_templ_de_fr_it.pdf
COPYRIGHT
Copyright (c) 2014 by OETIKER+PARTNER AG. All rights reserved.
LICENSE
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
AUTHOR
Tobias Oetiker <tobi@oetiker.ch>
HISTORY
2014-06-08 to 0.2 extracted from o2h
2 POD Errors
The following errors were encountered while parsing the POD:
- Around line 26:
Non-ASCII character seen before =encoding in 'Müller\newline'. Assuming UTF-8
- Around line 244:
=back without =over