ReceivedDocumentPaymentApiModel   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 38
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A getEnumMap() 0 6 1
1
<?php
2
3
namespace Fousky\Component\iDoklad\Model\ReceivedDocumentPayments;
4
5
use Fousky\Component\iDoklad\LOV\ExportedStateEnum;
6
use Fousky\Component\iDoklad\Model\iDokladAbstractModel;
7
8
/**
9
 * @method null|int getCurrencyId()
10
 * @method null|\DateTime getDateCreated()
11
 * @method null|\DateTime getDateLastChange()
12
 * @method null|\DateTime getDateOfPayment()
13
 * @method null|\DateTime getDateOfVatApplication()
14
 * @method null|float getExchangeRate()
15
 * @method null|float getExchangeRateAmount()
16
 * @method null|ExportedStateEnum getExported()
17
 * @method null|int getId()
18
 * @method null|int getInvoiceId()
19
 * @method null|float getPaymentAmount()
20
 * @method null|float getPaymentAmountHc()
21
 * @method null|int getPaymentOptionId()
22
 *
23
 * @author Lukáš Brzák <[email protected]>
24
 */
25
class ReceivedDocumentPaymentApiModel extends iDokladAbstractModel
26
{
27
    public $CurrencyId;
28
29
    public $DateCreated;
30
31
    public $DateLastChange;
32
33
    public $DateOfPayment;
34
35
    public $DateOfVatApplication;
36
37
    public $ExchangeRate;
38
39
    public $ExchangeRateAmount;
40
41
    public $Exported;
42
43
    public $Id;
44
45
    public $InvoiceId;
46
47
    public $PaymentAmount;
48
49
    public $PaymentAmountHc;
50
51
    public $PaymentOptionId;
52
53
    /**
54
     * @return array
55
     */
56
    public static function getEnumMap(): array
57
    {
58
        return [
59
            'Exported' => ExportedStateEnum::class,
60
        ];
61
    }
62
}
63