Quiq/Zugferd/Entity/ZuAbschlagPosition.pm

filter: Statementstmt 76.4% 13 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 80.0% 4 / 5 Podpod 100% 1 / 1 totaltotal 78.2% 18 / 23 CC 1 SCAR 1.8
CC
1
Cov
76%
new
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« Quiq/Zugferd/Entity/Verkaeufer.pm ↑ Summary Quiq/PlotlyJs.pm »
1 # -----------------------------------------------------------------------------
2  
3 =encoding utf8
4  
5 =head1 NAME
6  
7 Quiq::Zugferd::Entity::ZuAbschlagPosition - Zu- oder Abschlage auf Position
8  
9 =head1 BASE CLASS
10  
11 L<Quiq::Zugferd::Entity>
12  
13 =head1 DESCRIPTION
14  
15 Ein Objekt der Klasse repräsentiert einen Zu- oder Abschlag auf
16 Positionsebene.
17  
18 =cut
19  
20 # -----------------------------------------------------------------------------
21  
22 package Quiq::Zugferd::Entity::ZuAbschlagPosition;
23 1 ▶use base qw/Quiq::Zugferd::Entity/;
Subroutine BEGIN: called CC=1 SCAR=0.0
24  
25 1 ▶use v5.10;
Subroutine BEGIN: called CC=1 SCAR=0.0
26 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
27 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
28  
29 1 our $VERSION = '1.240';
30  
31 # -----------------------------------------------------------------------------
32  
33 =head1 METHODS
34  
35 =head2 Klassenmethoden
36  
37 =head3 new() - Konstruktor
38  
39 =head4 Synopsis
40  
41 $atr = $class->new(@keyVal);
42  
43 =head4 Description
44  
45 Instantiiere ein Objekt der Klasse und liefere eine Referenz auf dieses
46 Objekt zurück.
47  
48 =cut
49  
50 # -----------------------------------------------------------------------------
51  
52 0 ▶sub new {
Subroutine new: not called CC=1 SCAR=6.9
Pod documented
53 0 my $class = shift;
54 # @_: @keyVal
55  
56 0 my $self = $class->SUPER::new(
57 typ => undef, # BG-27-1_BG-28-1 / Abschlag: false
58 prozent => undef, # BT-138_BT-143
59 grundbetrag => undef, # BT-137_BT-142
60 differenz => undef, # BT-136_BT-141
61 grundCode => undef, # BT-140_BT-145
62 grund => undef, # BT-139_BT-144
63 );
64 0 $self->set(@_);
65  
66 0 return $self;
67 }
68  
69 # -----------------------------------------------------------------------------
70  
71 =head1 VERSION
72  
73 1.240
74  
75 =head1 AUTHOR
76  
77 Frank Seitz, L<http://fseitz.de/>
78  
79 =head1 COPYRIGHT
80  
81 Copyright (C) 2026 Frank Seitz
82  
83 =head1 LICENSE
84  
85 This code is free software; you can redistribute it and/or modify
86 it under the same terms as Perl itself.
87  
88 =cut
89  
90 # -----------------------------------------------------------------------------
91  
92 1 1;
93  
94 # eof
« Quiq/Zugferd/Entity/Verkaeufer.pm ↑ Summary Quiq/PlotlyJs.pm »