mirror of
https://github.com/bdnugget/magento2.git
synced 2026-11-07 17:27:36 +00:00
26 lines
662 B
PHP
26 lines
662 B
PHP
<?php
|
|
/**
|
|
*
|
|
* Copyright © Magento, Inc. All rights reserved.
|
|
* See COPYING.txt for license details.
|
|
*/
|
|
namespace Magento\Multishipping\Controller\Checkout\Address;
|
|
|
|
class SetBilling extends \Magento\Multishipping\Controller\Checkout\Address
|
|
{
|
|
/**
|
|
* @return void
|
|
*/
|
|
public function execute()
|
|
{
|
|
if ($addressId = $this->getRequest()->getParam('id')) {
|
|
$this->_objectManager->create(
|
|
\Magento\Multishipping\Model\Checkout\Type\Multishipping::class
|
|
)->setQuoteCustomerBillingAddress(
|
|
$addressId
|
|
);
|
|
}
|
|
$this->_redirect('*/checkout/billing');
|
|
}
|
|
}
|