• Модуль: sale
  • Путь к файлу: ~/bitrix/modules/sale/lib/payment.php
  • Класс: BitrixSalePayment
  • Вызов: Payment::getPayableItemCollection
public function getPayableItemCollection() : PayableItemCollection
{
	if ($this->payableItemCollection === null)
	{
		$registry = Registry::getInstance(static::getRegistryType());

		/** @var PayableItemCollection $itemCollectionClassName */
		$itemCollectionClassName = $registry->getPayableItemCollectionClassName();
		$this->payableItemCollection = $itemCollectionClassName::load($this);
	}

	return $this->payableItemCollection;
}