$chosenDeliveryAddress and $chosenInvoiceAddress are now protected

This commit is contained in:
Franck Allimant
2014-05-15 19:30:30 +02:00
parent 268d5a997d
commit 32542efe28

View File

@@ -10,13 +10,48 @@ use Thelia\Core\Event\TheliaEvents;
use Thelia\Model\Base\Order as BaseOrder;
use Thelia\Model\Base\OrderProductTaxQuery;
use Thelia\Model\Map\OrderProductTaxTableMap;
use Thelia\Model\Tools\ModelEventDispatcherTrait;
class Order extends BaseOrder
{
use \Thelia\Model\Tools\ModelEventDispatcherTrait;
use ModelEventDispatcherTrait;
public $chosenDeliveryAddress = null;
public $chosenInvoiceAddress = null;
protected $choosenDeliveryAddress = null;
protected $choosenInvoiceAddress = null;
/**
* @param null $choosenDeliveryAddress
*/
public function setChoosenDeliveryAddress($choosenDeliveryAddress)
{
$this->choosenDeliveryAddress = $choosenDeliveryAddress;
return $this;
}
/**
* @return null
*/
public function getChoosenDeliveryAddress()
{
return $this->choosenDeliveryAddress;
}
/**
* @param null $choosenInvoiceAddress
*/
public function setChoosenInvoiceAddress($choosenInvoiceAddress)
{
$this->choosenInvoiceAddress = $choosenInvoiceAddress;
return $this;
}
/**
* @return null
*/
public function getChoosenInvoiceAddress()
{
return $this->choosenInvoiceAddress;
}
/**
* {@inheritDoc}