API reference / Quittio \ Core \ Builder
Party
final class in quittio/core
Quittio\Core\Builder\Party · Source
Starts a seller or buyer for InvoiceBuilder::seller() and buyer() without a callback: ->buyer(Party::make('Kunde AG')->vatId('DE987654321')->address('Weg 1', '54321', 'Beispielstadt', 'DE')).
Methods#
| Method | Description |
|---|---|
::make() | A new PartyBuilder with the name (BT-27 for the seller, BT-44 for the buyer) already set. |
make()#
public static function make(string $name): PartyBuilderA new PartyBuilder with the name (BT-27 for the seller, BT-44 for the buyer) already set.
| Parameter | Type | Description |
|---|---|---|
$name | string |
- Returns
PartyBuilder