Skip to content

Commit 84c7cd8

Browse files
MAGETWO-71675: Customer can't see available Payment Method for specific country
- fix static tests
1 parent a33c2f5 commit 84c7cd8

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

app/code/Magento/Checkout/Model/ShippingInformationManagement.php

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@
1919
use Magento\Framework\App\ObjectManager;
2020

2121
/**
22+
* Class ShippingInformationManagement
23+
*
24+
* @package Magento\Checkout\Model
2225
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
2326
*/
2427
class ShippingInformationManagement implements \Magento\Checkout\Api\ShippingInformationManagementInterface
@@ -99,8 +102,8 @@ class ShippingInformationManagement implements \Magento\Checkout\Api\ShippingInf
99102
* @param \Magento\Customer\Api\AddressRepositoryInterface $addressRepository
100103
* @param \Magento\Framework\App\Config\ScopeConfigInterface $scopeConfig
101104
* @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
104107
* @param ShippingFactory|null $shippingFactory
105108
* @SuppressWarnings(PHPMD.ExcessiveParameterList)
106109
*/
@@ -136,7 +139,14 @@ public function __construct(
136139
}
137140

138141
/**
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
140150
*/
141151
public function saveAddressInformation(
142152
$cartId,
@@ -212,6 +222,8 @@ protected function validateQuote(\Magento\Quote\Model\Quote $quote)
212222
}
213223

214224
/**
225+
* Prepare shipping assignment.
226+
*
215227
* @param CartInterface $quote
216228
* @param AddressInterface $address
217229
* @param string $method

0 commit comments

Comments
 (0)