Quittio next API

GermanInvoiceMacros
in package

FinalYes

Registers the builder macro de() of the German pack, which leads to the German special cases (GermanInvoice):

InvoiceBuilder::make()->de()->smallAmount()->... InvoiceBuilder::make()->de()->deductAdvance($advanceInvoice)->...

The macros of earlier versions (smallAmount(), propertyRelatedService(), newVehicle(), selfBilled(), deductAdvance(), consumerDefaultNotice() directly on the builder) still work and report a deprecation (E_USER_DEPRECATED).

Table of Contents

Constants

ADVANCE_TYPES  : array<string|int, mixed> = \Quittio\Country\DE\Builder\GermanInvoice::ADVA...

Methods

register()  : void
Registers the macros once; further calls do nothing.

Constants

ADVANCE_TYPES

use GermanInvoice::ADVANCE_TYPES

public array<string|int, mixed> ADVANCE_TYPES = \Quittio\Country\DE\Builder\GermanInvoice::ADVANCE_TYPES

Methods

register()

Registers the macros once; further calls do nothing.

public static register() : void
On this page

Search results