OrderDetailType
in package
Class representing OrderDetailType.
XSD Type: orderDetailType
Table of Contents
- $orderItem : array<string|int, mixed>
- $roundingItem : RoundingItemType|null
- Položka dokladu - výpočet DPH ze zaokrouhlení (pouze pro export).
- addToOrderItem() : self
- Adds as orderItem.
- getOrderItem() : array<string|int, OrderItemType>
- Gets as orderItem.
- getRoundingItem() : RoundingItemType
- Gets as roundingItem.
- issetOrderItem() : bool
- isset orderItem.
- setOrderItem() : self
- Sets a new orderItem.
- setRoundingItem() : self
- Sets a new roundingItem.
- unsetOrderItem() : void
- unset orderItem.
Properties
$orderItem
private
array<string|int, mixed>
$orderItem
= []
$roundingItem
Položka dokladu - výpočet DPH ze zaokrouhlení (pouze pro export).
private
RoundingItemType|null
$roundingItem
= null
Methods
addToOrderItem()
Adds as orderItem.
public
addToOrderItem(OrderItemType $orderItem) : self
Parameters
- $orderItem : OrderItemType
Return values
self —getOrderItem()
Gets as orderItem.
public
getOrderItem() : array<string|int, OrderItemType>
Return values
array<string|int, OrderItemType> —getRoundingItem()
Gets as roundingItem.
public
getRoundingItem() : RoundingItemType
Položka dokladu - výpočet DPH ze zaokrouhlení (pouze pro export).
Return values
RoundingItemType —issetOrderItem()
isset orderItem.
public
issetOrderItem(int|string $index) : bool
Parameters
- $index : int|string
Return values
bool —setOrderItem()
Sets a new orderItem.
public
setOrderItem(array<string|int, OrderItemType> $orderItem) : self
Parameters
- $orderItem : array<string|int, OrderItemType>
Return values
self —setRoundingItem()
Sets a new roundingItem.
public
setRoundingItem([RoundingItemType|null $roundingItem = null ]) : self
Položka dokladu - výpočet DPH ze zaokrouhlení (pouze pro export).
Parameters
- $roundingItem : RoundingItemType|null = null
Return values
self —unsetOrderItem()
unset orderItem.
public
unsetOrderItem(int|string $index) : void
Parameters
- $index : int|string