ContactApiModel::getDateMap()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 6

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 6
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
namespace Fousky\Component\iDoklad\Model\Contacts;
4
5
use Fousky\Component\iDoklad\LOV\CreditCheckStatusDokladEnum;
6
use Fousky\Component\iDoklad\Model\Banks\BankAccountApiModel;
7
use Fousky\Component\iDoklad\Model\iDokladAbstractModel;
8
9
/**
10
 * @method null|string getAddressIdg()
11
 * @method null|string getCity()
12
 * @method null|string getCompanyName()
13
 * @method null|int getCountryId()
14
 * @method null|CreditCheckStatusDokladEnum getCreditCheck()
15
 * @method null|\DateTime getDateLastChange()
16
 * @method null|BankAccountApiModel getDefaultBankAccount()
17
 * @method null|float getDiscountPercentage()
18
 * @method null|string getEmail()
19
 * @method null|string getFax()
20
 * @method null|string getFirstname()
21
 * @method null|int getId()
22
 * @method null|string getIdentificationNumber()
23
 * @method null|bool getIsRegisteredForVatOnPay()
24
 * @method null|bool getIsSendReminder()
25
 * @method null|string getMobile()
26
 * @method null|string getPhone()
27
 * @method null|string getPostalCode()
28
 * @method null|string getStreet()
29
 * @method null|string getSurname()
30
 * @method null|string getTitle()
31
 * @method null|string getVatIdentificationNumber()
32
 * @method null|string getVatIdentificationNumberSk()
33
 * @method null|string getWww()
34
 *
35
 * @author Lukáš Brzák <[email protected]>
36
 */
37
class ContactApiModel extends iDokladAbstractModel
38
{
39
    public $AddressIdg;
40
41
    public $City;
42
43
    public $CompanyName;
44
45
    public $CountryId;
46
47
    public $CreditCheck;
48
49
    public $DateLastChange;
50
51
    public $DefaultBankAccount;
52
53
    public $DiscountPercentage;
54
55
    public $Email;
56
57
    public $Fax;
58
59
    public $Firstname;
60
61
    public $Id;
62
63
    public $IdentificationNumber;
64
65
    public $IsRegisteredForVatOnPay;
66
67
    public $IsSendReminder;
68
69
    public $Mobile;
70
71
    public $Phone;
72
73
    public $PostalCode;
74
75
    public $Street;
76
77
    public $Surname;
78
79
    public $Title;
80
81
    public $VatIdentificationNumber;
82
83
    public $VatIdentificationNumberSk;
84
85
    public $Www;
86
87
    /**
88
     * @return array
89
     */
90
    public static function getDateMap(): array
91
    {
92
        return [
93
            'DateLastChange',
94
        ];
95
    }
96
97
    /**
98
     * @return array
99
     */
100
    public static function getModelMap(): array
101
    {
102
        return [
103
            'DefaultBankAccount' => BankAccountApiModel::class,
104
        ];
105
    }
106
107
    /**
108
     * @return array
109
     */
110
    public static function getEnumMap(): array
111
    {
112
        return [
113
            'CreditCheck' => CreditCheckStatusDokladEnum::class,
114
        ];
115
    }
116
}
117