20 lines
514 B
PHP
Executable File
20 lines
514 B
PHP
Executable File
<?php
|
|
namespace Magento\Quote\Api\Data;
|
|
|
|
/**
|
|
* ExtensionInterface class for @see \Magento\Quote\Api\Data\CartItemInterface
|
|
*/
|
|
interface CartItemExtensionInterface extends \Magento\Framework\Api\ExtensionAttributesInterface
|
|
{
|
|
/**
|
|
* @return \Magento\SalesRule\Api\Data\RuleDiscountInterface[]|null
|
|
*/
|
|
public function getDiscounts();
|
|
|
|
/**
|
|
* @param \Magento\SalesRule\Api\Data\RuleDiscountInterface[] $discounts
|
|
* @return $this
|
|
*/
|
|
public function setDiscounts($discounts);
|
|
}
|