Skip to content

Commit 5682778

Browse files
AnujNehraAnujNehra
authored andcommitted
ACP2E-2153: Add 400 status code documentation for Rest api V1/carts/mine/estimate-shipping-methods
1 parent 55d25c1 commit 5682778

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

app/code/Magento/Quote/Api/ShipmentEstimationInterface.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@
55
*/
66
namespace Magento\Quote\Api;
77

8+
use Magento\Framework\Exception\NoSuchEntityException;
89
use Magento\Quote\Api\Data\AddressInterface;
10+
use Magento\Quote\Api\Data\ShippingMethodInterface;
911

1012
/**
1113
* Interface ShipmentManagementInterface
@@ -16,9 +18,11 @@ interface ShipmentEstimationInterface
1618
{
1719
/**
1820
* Estimate shipping by address and return list of available shipping methods
21+
*
1922
* @param mixed $cartId
2023
* @param AddressInterface $address
21-
* @return \Magento\Quote\Api\Data\ShippingMethodInterface[] An array of shipping methods
24+
* @return ShippingMethodInterface[] An array of shipping methods
25+
* @throws NoSuchEntityException Data not supported.
2226
* @since 100.0.7
2327
*/
2428
public function estimateByExtendedAddress($cartId, AddressInterface $address);

0 commit comments

Comments
 (0)