| 1 | # ----------------------------------------------------------------------------- | ||
| 2 | |||
| 3 | =encoding utf8 | ||
| 4 | |||
| 5 | =head1 NAME | ||
| 6 | |||
| 7 | Quiq::Zugferd::Entity::Position - Position | ||
| 8 | |||
| 9 | =head1 BASE CLASS | ||
| 10 | |||
| 11 | L<Quiq::Zugferd::Entity> | ||
| 12 | |||
| 13 | =head1 DESCRIPTION | ||
| 14 | |||
| 15 | Ein Objekt der Klasse repräsentiert eine Rechnungsposition. | ||
| 16 | |||
| 17 | =cut | ||
| 18 | |||
| 19 | # ----------------------------------------------------------------------------- | ||
| 20 | |||
| 21 | package Quiq::Zugferd::Entity::Position; | ||
| 22 | 1 | ▶ | use base qw/Quiq::Zugferd::Entity/; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 23 | |||
| 24 | 1 | ▶ | use v5.10; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 25 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 26 | 1 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 27 | |||
| 28 | 1 | our $VERSION = '1.240'; | |
| 29 | |||
| 30 | # ----------------------------------------------------------------------------- | ||
| 31 | |||
| 32 | =head1 METHODS | ||
| 33 | |||
| 34 | =head2 Klassenmethoden | ||
| 35 | |||
| 36 | =head3 new() - Konstruktor | ||
| 37 | |||
| 38 | =head4 Synopsis | ||
| 39 | |||
| 40 | $pos = $class->new(@keyVal); | ||
| 41 | |||
| 42 | =head4 Description | ||
| 43 | |||
| 44 | Instantiiere ein Objekt der Klasse und liefere eine Referenz auf dieses | ||
| 45 | Objekt zurück. | ||
| 46 | |||
| 47 | =cut | ||
| 48 | |||
| 49 | # ----------------------------------------------------------------------------- | ||
| 50 | |||
| 51 | 0 | ▶ | sub new { |
|
Subroutine
new: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 52 | 0 | my $class = shift; | |
| 53 | # @_: @keyVal | ||
| 54 | |||
| 55 | 0 | my $self = $class->SUPER::new( | |
| 56 | positionsnummer => undef, # BT-126 | ||
| 57 | artikelnummer => undef, # BT-155 | ||
| 58 | artikelname => undef, # BT-153 | ||
| 59 | artikelbeschreibung => undef, # BT-154 | ||
| 60 | menge => undef, # BT-129 | ||
| 61 | einheit => undef, # BT-130 | ||
| 62 | preisProEinheitNetto => undef, # BT-146 | ||
| 63 | umsatzsteuersatz => undef, # BT-152 | ||
| 64 | m3Umsatzsteuercode => undef, # intern | ||
| 65 | gesamtpreisNetto => undef, # BT-131 | ||
| 66 | kontierungshinweis => undef, # BT-133 | ||
| 67 | nummerAuftragsposition => undef, # BT-132 | ||
| 68 | artikelkennungKaeufer => undef, # BT-156 | ||
| 69 | abrechnungszeitraumVon => undef, # BT-134 | ||
| 70 | abrechnungszeitraumBis => undef, # BT-135 | ||
| 71 | attribute => [], | ||
| 72 | zuAbschlaege => [], | ||
| 73 | ); | ||
| 74 | 0 | $self->set(@_); | |
| 75 | |||
| 76 | 0 | return $self; | |
| 77 | } | ||
| 78 | |||
| 79 | # ----------------------------------------------------------------------------- | ||
| 80 | |||
| 81 | =head1 VERSION | ||
| 82 | |||
| 83 | 1.240 | ||
| 84 | |||
| 85 | =head1 AUTHOR | ||
| 86 | |||
| 87 | Frank Seitz, L<http://fseitz.de/> | ||
| 88 | |||
| 89 | =head1 COPYRIGHT | ||
| 90 | |||
| 91 | Copyright (C) 2026 Frank Seitz | ||
| 92 | |||
| 93 | =head1 LICENSE | ||
| 94 | |||
| 95 | This code is free software; you can redistribute it and/or modify | ||
| 96 | it under the same terms as Perl itself. | ||
| 97 | |||
| 98 | =cut | ||
| 99 | |||
| 100 | # ----------------------------------------------------------------------------- | ||
| 101 | |||
| 102 | 1 | 1; | |
| 103 | |||
| 104 | # eof | ||