Quittio 0.3 API

DocumentReference
in package
uses Immutable

Read onlyYes
FinalYes

Reference to a related document on line level or as additional reference (profile EXTENDED), e.g. delivery note, order, contract or receiving advice.

$typeCode uses UNTDID 1001 (e.g. 130 invoiced object, 916 additional document) where applicable.

Table of Contents

Constants

TYPE_CONTRACT  : string = 'contract'
TYPE_DESPATCH_ADVICE  : string = 'despatch_advice'
TYPE_ORDER  : string = 'order'
TYPE_OTHER  : string = 'other'
TYPE_RECEIVING_ADVICE  : string = 'receiving_advice'

Properties

$description  : string|null
$id  : string
$issueDate  : Date|null
$kind  : string
$lineId  : string|null
$typeCode  : RawCode|null

Methods

__construct()  : mixed
with()  : static
Returns a copy with the given properties replaced.

Constants

TYPE_RECEIVING_ADVICE

public string TYPE_RECEIVING_ADVICE = 'receiving_advice'

Properties

Methods

__construct()

public __construct(string $id[, string $kind = self::TYPE_OTHER ][, string|null $lineId = null ][, Date|null $issueDate = null ][, RawCode|null $typeCode = null ][, string|null $description = null ]) : mixed
Parameters
$id : string
$kind : string = self::TYPE_OTHER
$lineId : string|null = null
$issueDate : Date|null = null
$typeCode : RawCode|null = null
$description : string|null = null

with()

Returns a copy with the given properties replaced.

public with(array<string, mixed> $changes) : static
Parameters
$changes : array<string, mixed>
Return values
static
On this page

Search results