Skip to content

Commit

Permalink
Merge pull request #64 from Paazl/1.6.1
Browse files Browse the repository at this point in the history
1.6.1
  • Loading branch information
Marvin-Magmodules authored Jun 4, 2021
2 parents c496f23 + 32e007a commit 3c64e2f
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 14 deletions.
7 changes: 2 additions & 5 deletions Api/Webapi/CheckShippingOptionInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,15 @@

namespace Paazl\CheckoutWidget\Api\Webapi;

use Magento\Framework\Exception\NoSuchEntityException;
use Paazl\CheckoutWidget\Api\Data\CheckQuoteResultInterface;

/**
* Interface CheckShippingOptionInterface
*/
interface CheckShippingOptionInterface
{
/**
* @param string $cartId
* @return CheckQuoteResultInterface
* @throws NoSuchEntityException
* @return \Paazl\CheckoutWidget\Api\Data\CheckQuoteResultInterface
* @throws \Magento\Framework\Exception\NoSuchEntityException
*/
public function get($cartId);
}
7 changes: 2 additions & 5 deletions Api/Webapi/GuestCheckShippingOptionInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,15 @@

namespace Paazl\CheckoutWidget\Api\Webapi;

use Magento\Framework\Exception\NoSuchEntityException;
use Paazl\CheckoutWidget\Api\Data\CheckQuoteResultInterface;

/**
* Interface CheckShippingOptionInterface
*/
interface GuestCheckShippingOptionInterface
{
/**
* @param int $cartId
* @return CheckQuoteResultInterface
* @throws NoSuchEntityException
* @return \Paazl\CheckoutWidget\Api\Data\CheckQuoteResultInterface
* @throws \Magento\Framework\Exception\NoSuchEntityException
*/
public function get($cartId);
}
3 changes: 1 addition & 2 deletions Plugin/Carrier/Infotext.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,7 @@ public function afterModelToDataObject(ShippingMethodConverter $subject, Shippin
{
$carrierCode = $result->getCarrierCode();
$infotext = $this->scopeConfig->getValue(
'carriers/' . $carrierCode . '/infotext',
\Magento\Store\Model\ScopeInterface::SCOPE_STORE
'carriers/' . $carrierCode . '/infotext'
);
$extensibleAttribute = ($result->getExtensionAttributes())
? $result->getExtensionAttributes()
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "paazl/magento2-checkout-widget",
"description": "Paazl checkoutWidget for Magento 2",
"type": "magento2-module",
"version": "1.6.0",
"version": "1.6.1",
"keywords": [
"Paazl",
"Magento 2",
Expand Down
2 changes: 1 addition & 1 deletion etc/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<default>
<carriers>
<paazlshipping>
<version>v1.6.0</version>
<version>v1.6.1</version>
<active>0</active>
<sallowspecific>0</sallowspecific>
<price>0</price>
Expand Down

0 comments on commit 3c64e2f

Please sign in to comment.