@@ -8,36 +8,36 @@ |
||
| 8 | 8 | class SupplierItemDto extends AbstractItemDto |
| 9 | 9 | { |
| 10 | 10 | #[Attributes\Options\BooleanOption] |
| 11 | - public bool|string|null $default = null; |
|
| 11 | + public bool | string | null $default = null; |
|
| 12 | 12 | /** @var array<string, string|int|float|bool|array<string, string|int|float|bool>>|string|null */ |
| 13 | 13 | #[Attributes\RefElement] |
| 14 | - public array|string|null $refAd = null; |
|
| 14 | + public array | string | null $refAd = null; |
|
| 15 | 15 | #[Attributes\Options\StringOption(64)] |
| 16 | 16 | public ?string $orderCode = null; |
| 17 | 17 | #[Attributes\Options\StringOption(90)] |
| 18 | 18 | public ?string $orderName = null; |
| 19 | 19 | #[Attributes\Options\FloatOption] |
| 20 | - public float|string|null $purchasingPrice = null; |
|
| 20 | + public float | string | null $purchasingPrice = null; |
|
| 21 | 21 | #[Attributes\RefElement] |
| 22 | 22 | public ?string $currency = null; |
| 23 | 23 | #[Attributes\Options\FloatOption] |
| 24 | - public float|string|null $rate = null; |
|
| 24 | + public float | string | null $rate = null; |
|
| 25 | 25 | #[Attributes\Options\BooleanOption] |
| 26 | - public bool|string|null $payVAT = null; |
|
| 26 | + public bool | string | null $payVAT = null; |
|
| 27 | 27 | #[Attributes\Options\StringOption(20)] |
| 28 | 28 | public ?string $ean = null; |
| 29 | 29 | #[Attributes\Options\BooleanOption] |
| 30 | - public bool|string|null $printEAN = null; |
|
| 30 | + public bool | string | null $printEAN = null; |
|
| 31 | 31 | #[Attributes\Options\StringOption(10)] |
| 32 | 32 | public ?string $unitEAN = null; |
| 33 | 33 | #[Attributes\Options\FloatOption] |
| 34 | - public float|string|null $unitCoefEAN = null; |
|
| 34 | + public float | string | null $unitCoefEAN = null; |
|
| 35 | 35 | #[Attributes\Options\IntegerOption] |
| 36 | - public int|string|null $deliveryTime = null; |
|
| 36 | + public int | string | null $deliveryTime = null; |
|
| 37 | 37 | #[Attributes\RefElement] |
| 38 | 38 | public ?string $deliveryPeriod = null; |
| 39 | 39 | #[Attributes\Options\FloatOption] |
| 40 | - public float|string|null $minQuantity = null; |
|
| 40 | + public float | string | null $minQuantity = null; |
|
| 41 | 41 | #[Attributes\Options\StringOption(10)] |
| 42 | 42 | public ?string $unit = null; |
| 43 | 43 | public ?string $note = null; |
@@ -6,8 +6,8 @@ |
||
| 6 | 6 | |
| 7 | 7 | class CashSlipDto extends Document\AbstractDocumentDto |
| 8 | 8 | { |
| 9 | - public Header|HeaderDto|null $header = null; |
|
| 9 | + public Header | HeaderDto | null $header = null; |
|
| 10 | 10 | /** @var array<Item|ItemDto> */ |
| 11 | 11 | public array $details = []; |
| 12 | - public Summary|SummaryDto|null $summary = null; |
|
| 12 | + public Summary | SummaryDto | null $summary = null; |
|
| 13 | 13 | } |
@@ -13,8 +13,8 @@ |
||
| 13 | 13 | #[Attributes\Options\ListOption(['none', 'noneEveryRate', 'up2tenthEveryItem', 'up2tenthEveryRate', 'math2tenthEveryItem', 'math2tenthEveryRate', 'math2halfEveryItem', 'math2halfEveryRate', 'math2intEveryItem', 'math2intEveryRate'])] |
| 14 | 14 | public ?string $roundingVAT = null; |
| 15 | 15 | #[Attributes\Options\BooleanOption] |
| 16 | - public bool|string|null $calculateVAT = null; |
|
| 17 | - public Type\Dtos\CurrencyHomeDto|Type\CurrencyHome|null $homeCurrency = null; |
|
| 16 | + public bool | string | null $calculateVAT = null; |
|
| 17 | + public Type\Dtos\CurrencyHomeDto | Type\CurrencyHome | null $homeCurrency = null; |
|
| 18 | 18 | #[Attributes\OnlyInternal] |
| 19 | - public Type\Dtos\CurrencyForeignDto|Type\CurrencyForeign|null $foreignCurrency = null; |
|
| 19 | + public Type\Dtos\CurrencyForeignDto | Type\CurrencyForeign | null $foreignCurrency = null; |
|
| 20 | 20 | } |
@@ -11,24 +11,24 @@ |
||
| 11 | 11 | #[Attributes\Options\StringOption(255)] |
| 12 | 12 | public ?string $text = null; |
| 13 | 13 | #[Attributes\Options\FloatOption] |
| 14 | - public float|string|null $quantity = null; |
|
| 14 | + public float | string | null $quantity = null; |
|
| 15 | 15 | #[Attributes\Options\StringOption(10)] |
| 16 | 16 | public ?string $unit = null; |
| 17 | 17 | #[Attributes\Options\FloatOption] |
| 18 | - public float|string|null $coefficient = null; |
|
| 18 | + public float | string | null $coefficient = null; |
|
| 19 | 19 | #[Attributes\Options\BooleanOption] |
| 20 | - public bool|string|null $payVAT = null; |
|
| 20 | + public bool | string | null $payVAT = null; |
|
| 21 | 21 | #[Attributes\Options\ListOption(['none', 'third', 'low', 'high'])] |
| 22 | 22 | public ?string $rateVAT = null; |
| 23 | 23 | #[Attributes\Options\FloatOption] |
| 24 | - public float|string|null $discountPercentage = null; |
|
| 25 | - public Type\Dtos\CurrencyItemDto|Type\CurrencyItem|null $homeCurrency = null; |
|
| 26 | - public Type\Dtos\CurrencyItemDto|Type\CurrencyItem|null $foreignCurrency = null; |
|
| 24 | + public float | string | null $discountPercentage = null; |
|
| 25 | + public Type\Dtos\CurrencyItemDto | Type\CurrencyItem | null $homeCurrency = null; |
|
| 26 | + public Type\Dtos\CurrencyItemDto | Type\CurrencyItem | null $foreignCurrency = null; |
|
| 27 | 27 | #[Attributes\Options\StringOption(90)] |
| 28 | 28 | public ?string $note = null; |
| 29 | 29 | #[Attributes\Options\StringOption(64)] |
| 30 | 30 | public ?string $code = null; |
| 31 | - public Type\Dtos\StockItemDto|Type\StockItem|null $stockItem = null; |
|
| 31 | + public Type\Dtos\StockItemDto | Type\StockItem | null $stockItem = null; |
|
| 32 | 32 | #[Attributes\RefElement] |
| 33 | 33 | public ?string $centre = null; |
| 34 | 34 | #[Attributes\RefElement] |
@@ -13,12 +13,12 @@ discard block |
||
| 13 | 13 | #[Attributes\RefElement] |
| 14 | 14 | public ?string $number = null; |
| 15 | 15 | #[Attributes\Options\DateOption] |
| 16 | - public \DateTimeInterface|string|null $date = null; |
|
| 16 | + public \DateTimeInterface | string | null $date = null; |
|
| 17 | 17 | #[Attributes\RefElement] |
| 18 | 18 | public ?string $accounting = null; |
| 19 | 19 | #[Attributes\Options\StringOption(240)] |
| 20 | 20 | public ?string $text = null; |
| 21 | - public Type\Dtos\AddressDto|Type\Address|null $partnerIdentity = null; |
|
| 21 | + public Type\Dtos\AddressDto | Type\Address | null $partnerIdentity = null; |
|
| 22 | 22 | #[Attributes\RefElement] |
| 23 | 23 | public ?string $paymentType = null; |
| 24 | 24 | #[Attributes\RefElement] |
@@ -27,7 +27,7 @@ discard block |
||
| 27 | 27 | public ?string $centre = null; |
| 28 | 28 | /** @var array<string, string|int|float|bool|array<string, string|int|float|bool>>|string|null */ |
| 29 | 29 | #[Attributes\RefElement] |
| 30 | - public array|string|null $activity = null; |
|
| 30 | + public array | string | null $activity = null; |
|
| 31 | 31 | #[Attributes\RefElement] |
| 32 | 32 | public ?string $contract = null; |
| 33 | 33 | #[Attributes\RefElement] |
@@ -9,9 +9,9 @@ |
||
| 9 | 9 | { |
| 10 | 10 | public ?string $unit = null; |
| 11 | 11 | #[Attributes\Options\IntegerOption] |
| 12 | - public int|string|null $length = null; |
|
| 12 | + public int | string | null $length = null; |
|
| 13 | 13 | #[Attributes\RefElement] |
| 14 | 14 | public ?string $currency = null; |
| 15 | 15 | /** @var array<string, string|int|float|bool|array<string, string|int|float|bool>>|string|null */ |
| 16 | - public array|string|null $parameterList = null; |
|
| 16 | + public array | string | null $parameterList = null; |
|
| 17 | 17 | } |
@@ -12,5 +12,5 @@ |
||
| 12 | 12 | public ?string $description = null; |
| 13 | 13 | #[Attributes\Options\ListOption(['textValue', 'currencyValue', 'booleanValue', 'numberValue', 'integerValue', 'datetimeValue', 'unit', 'listValue']), Attributes\Options\RequiredOption] |
| 14 | 14 | public ?string $parameterType = null; |
| 15 | - public Settings|SettingsDto|null $parameterSettings = null; |
|
| 15 | + public Settings | SettingsDto | null $parameterSettings = null; |
|
| 16 | 16 | } |
@@ -7,12 +7,12 @@ |
||
| 7 | 7 | |
| 8 | 8 | class InvoiceDto extends Document\AbstractDocumentDto |
| 9 | 9 | { |
| 10 | - public Header|HeaderDto|null $header = null; |
|
| 10 | + public Header | HeaderDto | null $header = null; |
|
| 11 | 11 | /** @var array<Item|ItemDto> */ |
| 12 | 12 | public array $details = []; |
| 13 | 13 | /** @var array<Type\Link|Type\Dtos\LinkDto> */ |
| 14 | 14 | public array $links = []; |
| 15 | 15 | /** @var array<AdvancePaymentItem|AdvancePaymentItemDto> */ |
| 16 | 16 | public array $invoiceDetail = []; |
| 17 | - public Summary|SummaryDto|null $summary = null; |
|
| 17 | + public Summary | SummaryDto | null $summary = null; |
|
| 18 | 18 | } |
@@ -12,6 +12,6 @@ |
||
| 12 | 12 | public ?string $roundingDocument = null; |
| 13 | 13 | #[Attributes\Options\ListOption(['none', 'noneEveryRate', 'up2tenthEveryItem', 'up2tenthEveryRate', 'math2tenthEveryItem', 'math2tenthEveryRate', 'math2halfEveryItem', 'math2halfEveryRate', 'math2intEveryItem', 'math2intEveryRate'])] |
| 14 | 14 | public ?string $roundingVAT = null; |
| 15 | - public Type\Dtos\CurrencyHomeDto|Type\CurrencyHome|null $homeCurrency = null; |
|
| 16 | - public Type\Dtos\CurrencyForeignDto|Type\CurrencyForeign|null $foreignCurrency = null; |
|
| 15 | + public Type\Dtos\CurrencyHomeDto | Type\CurrencyHome | null $homeCurrency = null; |
|
| 16 | + public Type\Dtos\CurrencyForeignDto | Type\CurrencyForeign | null $foreignCurrency = null; |
|
| 17 | 17 | } |