magento2-docker/generated/code/Magento/Quote/Api/Data/AddressExtension.php

45 lines
1.0 KiB
PHP
Executable File

<?php
namespace Magento\Quote\Api\Data;
/**
* Extension class for @see \Magento\Quote\Api\Data\AddressInterface
*/
class AddressExtension extends \Magento\Framework\Api\AbstractSimpleObject implements AddressExtensionInterface
{
/**
* @return string|null
*/
public function getPickupLocationCode()
{
return $this->_get('pickup_location_code');
}
/**
* @param string $pickupLocationCode
* @return $this
*/
public function setPickupLocationCode($pickupLocationCode)
{
$this->setData('pickup_location_code', $pickupLocationCode);
return $this;
}
/**
* @return \Magento\SalesRule\Api\Data\RuleDiscountInterface[]|null
*/
public function getDiscounts()
{
return $this->_get('discounts');
}
/**
* @param \Magento\SalesRule\Api\Data\RuleDiscountInterface[] $discounts
* @return $this
*/
public function setDiscounts($discounts)
{
$this->setData('discounts', $discounts);
return $this;
}
}