IssuedInvoiceApiModelExpand::getDateMap()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 13

Duplication

Lines 13
Ratio 100 %

Importance

Changes 0
Metric Value
dl 13
loc 13
rs 9.8333
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
namespace Fousky\Component\iDoklad\Model\IssuedInvoices;
4
5
use Fousky\Component\iDoklad\LOV\EetResponsibilityEnum;
6
use Fousky\Component\iDoklad\LOV\ExportedStateEnum;
7
use Fousky\Component\iDoklad\LOV\PaymentStatusEnum;
8
use Fousky\Component\iDoklad\LOV\VatOnPayStatusEnum;
9
use Fousky\Component\iDoklad\Model\ConstantSymbol\ConstantSymbolApiModel;
10
use Fousky\Component\iDoklad\Model\Contacts\ContactApiModelExpand;
11
use Fousky\Component\iDoklad\Model\Currencies\CurrencyApiModel;
12
use Fousky\Component\iDoklad\Model\Documents\DocumentAddressApiModel;
13
use Fousky\Component\iDoklad\Model\iDokladAbstractModel;
14
use Fousky\Component\iDoklad\Model\PaymentOptions\PaymentOptionApiModel;
15
16
/**
17
 * @method null|string getAttachmentFileName()
18
 * @method null|float getBaseTaxBasicRate()
19
 * @method null|float getBaseTaxBasicRateHc()
20
 * @method null|float getBaseTaxReducedRate1()
21
 * @method null|float getBaseTaxReducedRate1Hc()
22
 * @method null|float getBaseTaxReducedRate2()
23
 * @method null|float getBaseTaxReducedRate2Hc()
24
 * @method null|float getBaseTaxZeroRate()
25
 * @method null|float getBaseTaxZeroRateHc()
26
 * @method null|ConstantSymbolApiModel getConstantSymbol()
27
 * @method null|int getConstantSymbolId()
28
 * @method null|CurrencyApiModel getCurrency()
29
 * @method null|int getCurrencyId()
30
 * @method null|\DateTime getDateLastChange()
31
 * @method null|\DateTime getDateOfAccountingEvent()
32
 * @method null|\DateTime getDateOfIssue()
33
 * @method null|\DateTime getDateOfLastReminder()
34
 * @method null|\DateTime getDateOfMaturity()
35
 * @method null|\DateTime getDateOfPayment()
36
 * @method null|\DateTime getDateOfTaxing()
37
 * @method null|\DateTime getDateOfVatApplication()
38
 * @method null|string getDescription()
39
 * @method null|float getDiscount()
40
 * @method null|string getDocumentNumber()
41
 * @method null|int getDocumentSerialNumber()
42
 * @method null|EetResponsibilityEnum getEetResponsibility()
43
 * @method null|float getExchangeRate()
44
 * @method null|float getExchangeRateAmount()
45
 * @method null|ExportedStateEnum getExported()
46
 * @method null|int getId()
47
 * @method null|bool getIsEet()
48
 * @method null|bool getIsSentToAccountant()
49
 * @method null|bool getIsSentToPurchaser()
50
 * @method null|IssuedInvoiceItemApiModel[] getIssuedInvoiceItems()
51
 * @method null|string getItemsTextPrefix()
52
 * @method null|string getItemsTextSuffix()
53
 * @method null|int getLanguageId()
54
 * @method null|int getMaturity()
55
 * @method null|DocumentAddressApiModel getMyCompanyDocumentAddress()
56
 * @method null|int getMyCompanyDocumentAdrressId()
57
 * @method null|string getNote()
58
 * @method null|int getNumericSequenceId()
59
 * @method null|string getOrderNumber()
60
 * @method null|PaymentOptionApiModel getPaymentOption()
61
 * @method null|int getPaymentOptionId()
62
 * @method null|PaymentStatusEnum getPaymentStatus()
63
 * @method null|ContactApiModelExpand getPurchaser()
64
 * @method null|DocumentAddressApiModel getPurchaserDocumentAddress()
65
 * @method null|int getPurchaserDocumentAddressId()
66
 * @method null|int getPurchaserId()
67
 * @method null|int getRemindersCount()
68
 * @method null|string getReportColorValue()
69
 * @method null|int getReportId()
70
 * @method null|float getRoundingDifference()
71
 * @method null|float getTaxBasicRate()
72
 * @method null|float getTaxBasicRateHc()
73
 * @method null|float getTaxReducedRate1()
74
 * @method null|float getTaxReducedRate1Hc()
75
 * @method null|float getTaxReducedRate2()
76
 * @method null|float getTaxReducedRate2Hc()
77
 * @method null|float getTotalBasicRate()
78
 * @method null|float getTotalBasicRateHc()
79
 * @method null|float getTotalReducedRate1()
80
 * @method null|float getTotalReducedRate1Hc()
81
 * @method null|float getTotalReducedRate2()
82
 * @method null|float getTotalReducedRate2Hc()
83
 * @method null|float getTotalVat()
84
 * @method null|float getTotalVatHc()
85
 * @method null|float getTotalWithoutVat()
86
 * @method null|float getTotalWithoutVatHc()
87
 * @method null|float getTotalWithVat()
88
 * @method null|float getTotalWithVatHc()
89
 * @method null|string getVariableSymbol()
90
 * @method null|VatOnPayStatusEnum getVatOnPayStatus()
91
 * @method null|float getVatRateBasic()
92
 * @method null|float getVatRateReduced1()
93
 * @method null|float getVatRateReduced2()
94
 *
95
 * @author Lukáš Brzák <[email protected]>
96
 */
97
class IssuedInvoiceApiModelExpand extends iDokladAbstractModel
98
{
99
    public $AttachmentFileName;
100
101
    public $BaseTaxBasicRate;
102
103
    public $BaseTaxBasicRateHc;
104
105
    public $BaseTaxReducedRate1;
106
107
    public $BaseTaxReducedRate1Hc;
108
109
    public $BaseTaxReducedRate2;
110
111
    public $BaseTaxReducedRate2Hc;
112
113
    public $BaseTaxZeroRate;
114
115
    public $BaseTaxZeroRateHc;
116
117
    public $ConstantSymbol;
118
119
    public $ConstantSymbolId;
120
121
    public $Currency;
122
123
    public $CurrencyId;
124
125
    public $DateLastChange;
126
127
    public $DateOfAccountingEvent;
128
129
    public $DateOfIssue;
130
131
    public $DateOfLastReminder;
132
133
    public $DateOfMaturity;
134
135
    public $DateOfPayment;
136
137
    public $DateOfTaxing;
138
139
    public $DateOfVatApplication;
140
141
    public $Description;
142
143
    public $Discount;
144
145
    public $DocumentNumber;
146
147
    public $DocumentSerialNumber;
148
149
    public $EetResponsibility;
150
151
    public $ExchangeRate;
152
153
    public $ExchangeRateAmount;
154
155
    public $Exported;
156
157
    public $Id;
158
159
    public $IsEet;
160
161
    public $IsSentToAccountant;
162
163
    public $IsSentToPurchaser;
164
165
    public $IssuedInvoiceItems;
166
167
    public $ItemsTextPrefix;
168
169
    public $ItemsTextSuffix;
170
171
    public $LanguageId;
172
173
    public $Maturity;
174
175
    public $MyCompanyDocumentAddress;
176
177
    public $MyCompanyDocumentAdrressId;
178
179
    public $Note;
180
181
    public $NumericSequenceId;
182
183
    public $OrderNumber;
184
185
    public $PaymentOption;
186
187
    public $PaymentOptionId;
188
189
    public $PaymentStatus;
190
191
    public $Purchaser;
192
193
    public $PurchaserDocumentAddress;
194
195
    public $PurchaserDocumentAddressId;
196
197
    public $PurchaserId;
198
199
    public $RemindersCount;
200
201
    public $ReportColorValue;
202
203
    public $ReportId;
204
205
    public $RoundingDifference;
206
207
    public $TaxBasicRate;
208
209
    public $TaxBasicRateHc;
210
211
    public $TaxReducedRate1;
212
213
    public $TaxReducedRate1Hc;
214
215
    public $TaxReducedRate2;
216
217
    public $TaxReducedRate2Hc;
218
219
    public $TotalBasicRate;
220
221
    public $TotalBasicRateHc;
222
223
    public $TotalReducedRate1;
224
225
    public $TotalReducedRate1Hc;
226
227
    public $TotalReducedRate2;
228
229
    public $TotalReducedRate2Hc;
230
231
    public $TotalVat;
232
233
    public $TotalVatHc;
234
235
    public $TotalWithoutVat;
236
237
    public $TotalWithoutVatHc;
238
239
    public $TotalWithVat;
240
241
    public $TotalWithVatHc;
242
243
    public $VariableSymbol;
244
245
    public $VatOnPayStatus;
246
247
    public $VatRateBasic;
248
249
    public $VatRateReduced1;
250
251
    public $VatRateReduced2;
252
253
    /**
254
     * @return array
255
     */
256 View Code Duplication
    public static function getModelMap(): array
0 ignored issues
show
Duplication introduced by
This method seems to be duplicated in your project.

Duplicated code is one of the most pungent code smells. If you need to duplicate the same code in three or more different places, we strongly encourage you to look into extracting the code into a single class or operation.

You can also find more detailed suggestions in the “Code” section of your repository.

Loading history...
257
    {
258
        return [
259
            'ConstantSymbol' => ConstantSymbolApiModel::class,
260
            'Currency' => CurrencyApiModel::class,
261
            'IssuedInvoiceItems' => IssuedInvoiceItemApiModel::class,
262
            'PaymentOption' => PaymentOptionApiModel::class,
263
            'Purchaser' => ContactApiModelExpand::class,
264
            'PurchaserDocumentAddress' => DocumentAddressApiModel::class,
265
        ];
266
    }
267
268
    /**
269
     * @return array
270
     */
271 View Code Duplication
    public static function getEnumMap(): array
0 ignored issues
show
Duplication introduced by
This method seems to be duplicated in your project.

Duplicated code is one of the most pungent code smells. If you need to duplicate the same code in three or more different places, we strongly encourage you to look into extracting the code into a single class or operation.

You can also find more detailed suggestions in the “Code” section of your repository.

Loading history...
272
    {
273
        return [
274
            'EetResponsibility' => EetResponsibilityEnum::class,
275
            'Exported' => ExportedStateEnum::class,
276
            'PaymentStatus' => PaymentStatusEnum::class,
277
            'VatOnPayStatus' => VatOnPayStatusEnum::class,
278
        ];
279
    }
280
281
    /**
282
     * @return array
283
     */
284 View Code Duplication
    public static function getDateMap(): array
0 ignored issues
show
Duplication introduced by
This method seems to be duplicated in your project.

Duplicated code is one of the most pungent code smells. If you need to duplicate the same code in three or more different places, we strongly encourage you to look into extracting the code into a single class or operation.

You can also find more detailed suggestions in the “Code” section of your repository.

Loading history...
285
    {
286
        return [
287
            'DateLastChange',
288
            'DateOfAccountingEvent',
289
            'DateOfIssue',
290
            'DateOfLastReminder',
291
            'DateOfMaturity',
292
            'DateOfPayment',
293
            'DateOfTaxing',
294
            'DateOfVatApplication',
295
        ];
296
    }
297
}
298