Skip to content

Commit 2355303

Browse files
author
Serhiy Shkolyarenko
committed
MAGETWO-32501: Implement Cart Service interfaces
removed unused class
1 parent fa6e3d3 commit 2355303

File tree

4 files changed

+4
-27
lines changed

4 files changed

+4
-27
lines changed

app/code/Magento/Quote/Api/Data/CurrencyInterface.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@
55
*/
66
namespace Magento\Quote\Api\Data;
77

8-
/**
9-
* @see \Magento\Checkout\Service\V1\Data\Cart\Currency
10-
*/
118
interface CurrencyInterface extends \Magento\Framework\Api\ExtensibleDataInterface
129
{
1310
/**

app/code/Magento/Quote/Model/Quote.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -473,6 +473,8 @@ public function getCurrency()
473473
}
474474

475475
/**
476+
* @codeCoverageIgnoreStart
477+
*
476478
* {@inheritdoc}
477479
*/
478480
public function getItems()
@@ -568,6 +570,7 @@ public function getCustomerNoteNotify()
568570
{
569571
return $this->_getData('customer_note_notify');
570572
}
573+
//@codeCoverageIgnoreEnd
571574

572575
/**
573576
* Get quote store identifier

app/code/Magento/Quote/Model/QuoteSearchResults.php

Lines changed: 0 additions & 23 deletions
This file was deleted.

app/code/Magento/Quote/etc/di.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<preference for="Magento\Quote\Api\Data\CartItemInterface" type="Magento\Quote\Model\Quote\Item" />
2222
<preference for="Magento\Quote\Api\CartItemRepositoryInterface" type="Magento\Quote\Model\Quote\Item\Repository" />
2323
<preference for="Magento\Quote\Api\CartRepositoryInterface" type="Magento\Quote\Model\QuoteRepository" />
24-
<preference for="Magento\Quote\Api\Data\CartSearchResultsInterface" type="Magento\Quote\Model\QuoteSearchResults" />
24+
<preference for="Magento\Quote\Api\Data\CartSearchResultsInterface" type="Magento\Framework\Api\SearchResults" />
2525
<preference for="Magento\Quote\Api\PaymentMethodManagementInterface" type="\Magento\Quote\Model\PaymentMethodManagement" />
2626
<preference for="Magento\Quote\Api\Data\PaymentInterface" type="\Magento\Quote\Model\Quote\Payment" />
2727
<preference for="Magento\Quote\Api\CouponManagementInterface" type="Magento\Quote\Model\CouponManagement" />

0 commit comments

Comments
 (0)