Quittio 0.3 API

Deprecated

Table of Contents

core/src/Formats/DefaultFormatResolver.php
core/src/Formats/FormatRegistry.php
core/src/Quittio.php
country-de/src/Builder/GermanInvoiceMacros.php
country-de/src/Support/Flags.php
country-de/src/Tax/VatPreset.php

DefaultFormatResolver.php

Line Element Reason
32 DefaultFormatResolver::EU_COUNTRIES

use VatTerritory::EU_MEMBER_STATES

FormatRegistry.php

Line Element Reason
22 FormatRegistry::XRECHNUNG_CII

the German pack registers XRechnung, use Quittio\Country\DE\Formats\XRechnungFormats::CII

27 FormatRegistry::XRECHNUNG_UBL

the German pack registers XRechnung, use Quittio\Country\DE\Formats\XRechnungFormats::UBL

Quittio.php

Line Element Reason
612 Quittio::withSerializer()

use addSerializer(); like it, it changes this instance

620 Quittio::withValidator()

use addValidator(); like it, it changes this instance

628 Quittio::withoutValidators()

use clearValidators(); like it, it changes this instance

636 Quittio::withRenderer()

use setRenderer(); like it, it changes this instance

644 Quittio::withTemplateEngine()

use setTemplateEngine(); like it, it changes this instance

652 Quittio::withPaymentQrGenerator()

use setPaymentQrGenerator(); like it, it changes this instance

660 Quittio::withFormatResolver()

use setFormatResolver(); like it, it changes this instance

GermanInvoiceMacros.php

Line Element Reason
29 GermanInvoiceMacros::ADVANCE_TYPES

use GermanInvoice::ADVANCE_TYPES

Flags.php

Line Element Reason
31 Flags::SMALL_AMOUNT_LIMIT

the limit depends on the issue date, use TaxTables::smallAmountLimitOn()

VatPreset.php

Line Element Reason
38 VatPreset::Standard19

use Standard; the key "de.standard_19" of stored data stays readable

43 VatPreset::Reduced7

use Reduced; the key "de.reduced_7" of stored data stays readable

Search results