![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/cartforge.co/vendor/magento/module-quote/Api/ |
<?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ namespace Magento\Quote\Api; /** * Interface ShippingMethodManagementInterface * @api * @since 100.0.2 */ interface ShippingMethodManagementInterface { /** * Estimate shipping * * @param int $cartId The shopping cart ID. * @param \Magento\Quote\Api\Data\EstimateAddressInterface $address The estimate address * @return \Magento\Quote\Api\Data\ShippingMethodInterface[] An array of shipping methods. * @deprecated 100.0.7 */ public function estimateByAddress($cartId, \Magento\Quote\Api\Data\EstimateAddressInterface $address); /** * Estimate shipping * * @param int $cartId The shopping cart ID. * @param int $addressId The estimate address id * @return \Magento\Quote\Api\Data\ShippingMethodInterface[] An array of shipping methods. */ public function estimateByAddressId($cartId, $addressId); /** * Lists applicable shipping methods for a specified quote. * * @param int $cartId The shopping cart ID. * @return \Magento\Quote\Api\Data\ShippingMethodInterface[] An array of shipping methods. * @throws \Magento\Framework\Exception\NoSuchEntityException The specified quote does not exist. * @throws \Magento\Framework\Exception\StateException The shipping address is missing. */ public function getList($cartId); }