Revision 5edf41f7
Von Tamino Steinert vor mehr als 1 Jahr hinzugefügt
SL/XMLInvoice.pm | ||
---|---|---|
33 | 33 |
# @items is an array of hashes, each representing a line |
34 | 34 |
# item on the bill |
35 | 35 |
my @items = @{$invoice_parser->items}; |
36 |
|
|
36 |
|
|
37 | 37 |
=cut |
38 | 38 |
|
39 | 39 |
=head1 ATTRIBUTES |
... | ... | |
78 | 78 |
These methods are only implemented in C<SL::XMLInvoice> itself and define the |
79 | 79 |
data structures to be exposed by any child classes. |
80 | 80 |
|
81 |
=over 4
|
|
81 |
=over 4 |
|
82 | 82 |
|
83 | 83 |
=item data_keys() |
84 | 84 |
|
... | ... | |
203 | 203 |
implent the interface promised by C<SL::XMLInvoice>. You can safely ignore them |
204 | 204 |
if you don't plan on implementing any child classes. |
205 | 205 |
|
206 |
=over 4 |
|
206 | 207 |
|
207 | 208 |
=item _document_nodenames() |
208 | 209 |
|
... | ... | |
214 | 215 |
=cut |
215 | 216 |
|
216 | 217 |
sub _document_nodenames { |
217 |
return {
|
|
218 |
return { |
|
218 | 219 |
'rsm:CrossIndustryInvoice' => 'SL::XMLInvoice::CrossIndustryInvoice', |
219 | 220 |
'ubl:Invoice' => 'SL::XMLInvoice::UBL', |
220 | 221 |
}; |
... | ... | |
241 | 242 |
C<SL::XMLInvoice> This list must contain the same keys as the list returned by |
242 | 243 |
C<item_keys>. Omitting this method from a child class will cause an exception. |
243 | 244 |
|
245 |
=back |
|
246 |
|
|
244 | 247 |
=head1 AUTHOR |
245 | 248 |
|
246 | 249 |
Johannes Grassler <info@computer-grassler.de> |
SL/ZUGFeRD.pm | ||
---|---|---|
267 | 267 |
|
268 | 268 |
=item C<RES_OK> (0): parsing was OK. |
269 | 269 |
|
270 |
=item C<RES_ERR_…> (all values E<!=> 0): parsing failed. Values > 0 indicate a failure
|
|
270 |
=item C<RES_ERR_…> (all values != 0): parsing failed. Values > 0 indicate a failure
|
|
271 | 271 |
in C<SL::XMLInvoice>, Values < 0 indicate a failure in C<SL::ZUGFeRD>. |
272 | 272 |
|
273 | 273 |
=back |
... | ... | |
301 | 301 |
|
302 | 302 |
=item C<RES_OK> (0): parsing was OK. |
303 | 303 |
|
304 |
=item C<RES_ERR_…> (all values E<!=> 0): parsing failed. Values > 0 indicate a failure
|
|
304 |
=item C<RES_ERR_…> (all values != 0): parsing failed. Values > 0 indicate a failure
|
|
305 | 305 |
in C<SL::XMLInvoice>, Values < 0 indicate a failure in C<SL::ZUGFeRD>. |
306 | 306 |
|
307 | 307 |
=back |
Auch abrufbar als: Unified diff
FIX: pod Syntax und Leerzeichen entfernt