Skip to content

\Einvoicing\Delivery

getName()

Get party name

public getName(): string|null

Returns

  • string|null — Party name

setName()

Set party name

public setName($name: string|null): \Einvoicing\Delivery

Parameters

  • $name: string|null — Party name

Returns


getDate()

Get actual delivery date

public getDate(): \DateTime|null

Returns


setDate()

Set actual delivery date

public setDate($date: \DateTime|null): \Einvoicing\Delivery

Parameters

  • $date: \DateTime|null — Actual delivery date

Returns


getLocationIdentifier()

Get delivery location identifier

public getLocationIdentifier(): \Einvoicing\Identifier|null

Returns


setLocationIdentifier()

Set delivery location identifier

public setLocationIdentifier($identifier: \Einvoicing\Identifier|null): \Einvoicing\Delivery

Parameters

Returns


getAddress()

Get address lines

public getAddress(): string[]

Returns

  • string[] — Address lines (up to 3 lines)

setAddress()

Set address lines

public setAddress($addressLines: string[]): \Einvoicing\Delivery

Parameters

  • $addressLines: string[] — Address lines (up to 3 lines)

Returns

Throws


getCity()

Get city name

public getCity(): string|null

Returns

  • string|null — City name

setCity()

Set city name

public setCity($city: string|null): \Einvoicing\Delivery

Parameters

  • $city: string|null — City name

Returns


getPostalCode()

Get postal code

public getPostalCode(): string|null

Returns

  • string|null — Postal code

setPostalCode()

Set postal code

public setPostalCode($postalCode: string|null): \Einvoicing\Delivery

Parameters

  • $postalCode: string|null — Postal code

Returns


getSubdivision()

Get country subdivision (region, province, etc.)

public getSubdivision(): string|null

Returns

  • string|null — Country subdivision

setSubdivision()

Set country subdivision (region, province, etc.)

public setSubdivision($subdivision: string|null): \Einvoicing\Delivery

Parameters

  • $subdivision: string|null — Country subdivision

Returns


getCountry()

Get country code

public getCountry(): string|null

Returns

  • string|null — Country code

setCountry()

Set country code

public setCountry($countryCode: string|null): \Einvoicing\Delivery

Parameters

  • $countryCode: string|null — Country code

Returns