);
} /**
* `getChildren()` returns the child line-items of this line-item.
*
* @return ItemsFacade Returns the children as a `ItemsFacade`, that may be empty if no children exist.
*/
public function getChildren(): ItemsFacade
{ return new ItemsFacade($this->item->
getChildren(),
$this->priceStubs,
$this->helper,
$this->context
);
} /**
* `getType()` returns the type of this line-item.
* Possible types include `product`, `discount`, `container`, etc.
*
* @return string The type of the line-item.
*/
public function getType(): string
{ return $this->item->
getType();
}