This commit is contained in:
2026-09-15 10:26:34 +08:00
commit ecf36afa56
10493 changed files with 1404888 additions and 0 deletions
@@ -0,0 +1,30 @@
<?php
namespace Stemcell\Checkout\Model\Cart;
use Stemcell\Checkout\Api\Data\Quote\TotalsInterface;
use Stemcell\Checkout\Api\Data\Quote\TotalsItemInterface;
class Totals extends \Magento\Quote\Model\Cart\Totals implements TotalsInterface
{
/**
* Get totals by items
*
* @return TotalsItemInterface[]|null
*/
public function getItems()
{
return $this->getData(self::KEY_ITEMS);
}
/**
* Get totals by items
*
* @param TotalsItemInterface[] $items
* @return $this
*/
public function setItems(array $items = null)
{
return $this->setData(self::KEY_ITEMS, $items);
}
}