|
19 | 19 | use Magento\Framework\App\ObjectManager;
|
20 | 20 |
|
21 | 21 | /**
|
| 22 | + * Class ShippingInformationManagement |
| 23 | + * |
| 24 | + * @package Magento\Checkout\Model |
22 | 25 | * @SuppressWarnings(PHPMD.CouplingBetweenObjects)
|
23 | 26 | */
|
24 | 27 | class ShippingInformationManagement implements \Magento\Checkout\Api\ShippingInformationManagementInterface
|
@@ -99,8 +102,8 @@ class ShippingInformationManagement implements \Magento\Checkout\Api\ShippingInf
|
99 | 102 | * @param \Magento\Customer\Api\AddressRepositoryInterface $addressRepository
|
100 | 103 | * @param \Magento\Framework\App\Config\ScopeConfigInterface $scopeConfig
|
101 | 104 | * @param \Magento\Quote\Model\Quote\TotalsCollector $totalsCollector
|
102 |
| - * @param CartExtensionFactory|null $cartExtensionFactory, |
103 |
| - * @param ShippingAssignmentFactory|null $shippingAssignmentFactory, |
| 105 | + * @param CartExtensionFactory|null $cartExtensionFactory |
| 106 | + * @param ShippingAssignmentFactory|null $shippingAssignmentFactory |
104 | 107 | * @param ShippingFactory|null $shippingFactory
|
105 | 108 | * @SuppressWarnings(PHPMD.ExcessiveParameterList)
|
106 | 109 | */
|
@@ -136,7 +139,14 @@ public function __construct(
|
136 | 139 | }
|
137 | 140 |
|
138 | 141 | /**
|
139 |
| - * {@inheritDoc} |
| 142 | + * Save address information. |
| 143 | + * |
| 144 | + * @param int $cartId |
| 145 | + * @param \Magento\Checkout\Api\Data\ShippingInformationInterface $addressInformation |
| 146 | + * @return \Magento\Checkout\Api\Data\PaymentDetailsInterface |
| 147 | + * @throws InputException |
| 148 | + * @throws NoSuchEntityException |
| 149 | + * @throws StateException |
140 | 150 | */
|
141 | 151 | public function saveAddressInformation(
|
142 | 152 | $cartId,
|
@@ -212,6 +222,8 @@ protected function validateQuote(\Magento\Quote\Model\Quote $quote)
|
212 | 222 | }
|
213 | 223 |
|
214 | 224 | /**
|
| 225 | + * Prepare shipping assignment. |
| 226 | + * |
215 | 227 | * @param CartInterface $quote
|
216 | 228 | * @param AddressInterface $address
|
217 | 229 | * @param string $method
|
|
0 commit comments