Пример #1
0
 /**
  * Set item for render
  *
  * @param QuoteItem|OrderItem|InvoiceItem|CreditMemoItem $item
  * @return $this
  */
 public function setItem($item)
 {
     $this->item = $item;
     $this->storeId = $item->getStoreId();
     return $this;
 }