CodeBooksChangesApiModel   A
last analyzed

Complexity

Total Complexity 7

Size/Duplication

Total Lines 72
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 7
lcom 0
cbo 1
dl 0
loc 72
rs 10
c 0
b 0
f 0

7 Methods

Rating   Name   Duplication   Size   Complexity  
A wasChangedBank() 0 4 1
A wasChangedConstantSymbols() 0 4 1
A wasChangedCountry() 0 4 1
A wasChangedCurrencies() 0 4 1
A wasChangedExchangeRates() 0 4 1
A wasChangedPaymentOptions() 0 4 1
A wasChangedVatRates() 0 4 1
1
<?php
2
3
namespace Fousky\Component\iDoklad\Model\System;
4
5
use Fousky\Component\iDoklad\Model\iDokladAbstractModel;
6
7
/**
8
 * @author Lukáš Brzák <[email protected]>
9
 */
10
class CodeBooksChangesApiModel extends iDokladAbstractModel
11
{
12
    public $Bank = false;
13
14
    public $ConstantSymbols = false;
15
16
    public $Country = false;
17
18
    public $Currencies = false;
19
20
    public $ExchangeRates = false;
21
22
    public $PaymentOptions = false;
23
24
    public $VatRates = false;
25
26
    /**
27
     * @return bool
28
     */
29
    public function wasChangedBank(): bool
30
    {
31
        return $this->Bank;
32
    }
33
34
    /**
35
     * @return bool
36
     */
37
    public function wasChangedConstantSymbols(): bool
38
    {
39
        return $this->ConstantSymbols;
40
    }
41
42
    /**
43
     * @return bool
44
     */
45
    public function wasChangedCountry(): bool
46
    {
47
        return $this->Country;
48
    }
49
50
    /**
51
     * @return bool
52
     */
53
    public function wasChangedCurrencies(): bool
54
    {
55
        return $this->Currencies;
56
    }
57
58
    /**
59
     * @return bool
60
     */
61
    public function wasChangedExchangeRates(): bool
62
    {
63
        return $this->ExchangeRates;
64
    }
65
66
    /**
67
     * @return bool
68
     */
69
    public function wasChangedPaymentOptions(): bool
70
    {
71
        return $this->PaymentOptions;
72
    }
73
74
    /**
75
     * @return bool
76
     */
77
    public function wasChangedVatRates(): bool
78
    {
79
        return $this->VatRates;
80
    }
81
}
82