Quiq/Zugferd/Entity/Kaeufer.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/Freitext.pm ↑ Summary Quiq/Zugferd/Entity/Position.pm »
1 # -----------------------------------------------------------------------------
2  
3 =encoding utf8
4  
5 =head1 NAME
6  
7 Quiq::Zugferd::Entity::Kaeufer - Käufer (Zahler)
8  
9 =head1 BASE CLASS
10  
11 L<Quiq::Zugferd::Entity>
12  
13 =head1 DESCRIPTION
14  
15 Ein Objekt der Klasse repräsentiert den Käufer.
16  
17 =cut
18  
19 # -----------------------------------------------------------------------------
20  
21 package Quiq::Zugferd::Entity::Kaeufer;
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 $kfr = $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 name => undef, # BT-44
57 kundennummer => undef, # BT-46
58 kontakt => undef, # BT-56
59 strasse => undef, # BT-50
60 plz => undef, # BT-53
61 ort => undef, # BT-52
62 land => undef, # BT-55
63 email => undef, # BT-49
64 auftragsreferenz => undef, # BT-13 (Bestellnummer des Käufers)
65 umsatzsteuernummer => undef, # BT-48
66 # Zugeordnete Objekte
67 anhaenge => [],
68 );
69 0 $self->set(@_);
70  
71 0 return $self;
72 }
73  
74 # -----------------------------------------------------------------------------
75  
76 =head1 VERSION
77  
78 1.240
79  
80 =head1 AUTHOR
81  
82 Frank Seitz, L<http://fseitz.de/>
83  
84 =head1 COPYRIGHT
85  
86 Copyright (C) 2026 Frank Seitz
87  
88 =head1 LICENSE
89  
90 This code is free software; you can redistribute it and/or modify
91 it under the same terms as Perl itself.
92  
93 =cut
94  
95 # -----------------------------------------------------------------------------
96  
97 1 1;
98  
99 # eof
« Quiq/Zugferd/Entity/Freitext.pm ↑ Summary Quiq/Zugferd/Entity/Position.pm »