27 lines
576 B
PHP
Executable File
27 lines
576 B
PHP
Executable File
<?php
|
|
namespace Magento\Quote\Api\Data;
|
|
|
|
/**
|
|
* Extension class for @see \Magento\Quote\Api\Data\TotalsInterface
|
|
*/
|
|
class TotalsExtension extends \Magento\Framework\Api\AbstractSimpleObject implements TotalsExtensionInterface
|
|
{
|
|
/**
|
|
* @return string|null
|
|
*/
|
|
public function getCouponLabel()
|
|
{
|
|
return $this->_get('coupon_label');
|
|
}
|
|
|
|
/**
|
|
* @param string $couponLabel
|
|
* @return $this
|
|
*/
|
|
public function setCouponLabel($couponLabel)
|
|
{
|
|
$this->setData('coupon_label', $couponLabel);
|
|
return $this;
|
|
}
|
|
}
|