@@ -4,10 +4,8 @@ |
||
| 4 | 4 | |
| 5 | 5 | use FOS\RestBundle\View\View; |
| 6 | 6 | use FOS\RestBundle\View\ViewHandlerInterface; |
| 7 | -use Sylius\Component\Core\Model\ImageInterface; |
|
| 8 | 7 | use Sylius\Component\Core\Model\TaxonInterface; |
| 9 | 8 | use Sylius\Component\Taxonomy\Repository\TaxonRepositoryInterface; |
| 10 | -use Sylius\ShopApiPlugin\Factory\ImageViewFactoryInterface; |
|
| 11 | 9 | use Sylius\ShopApiPlugin\Factory\TaxonViewFactoryInterface; |
| 12 | 10 | use Sylius\ShopApiPlugin\View\TaxonView; |
| 13 | 11 | use Symfony\Bundle\FrameworkBundle\Controller\Controller; |
@@ -5,8 +5,6 @@ |
||
| 5 | 5 | use Sylius\Component\Core\Model\OrderInterface; |
| 6 | 6 | use Sylius\Component\Core\Model\OrderItemInterface; |
| 7 | 7 | use Sylius\ShopApiPlugin\View\CartSummaryView; |
| 8 | -use Sylius\ShopApiPlugin\View\TotalsView; |
|
| 9 | -use Sylius\ShopApiPlugin\View\ItemView; |
|
| 10 | 8 | |
| 11 | 9 | final class CartViewFactory implements CartViewFactoryInterface |
| 12 | 10 | { |
@@ -4,20 +4,12 @@ |
||
| 4 | 4 | |
| 5 | 5 | use FOS\RestBundle\View\View; |
| 6 | 6 | use FOS\RestBundle\View\ViewHandlerInterface; |
| 7 | -use Sylius\Component\Core\Factory\PaymentMethodFactoryInterface; |
|
| 8 | 7 | use Sylius\Component\Core\Model\OrderInterface; |
| 9 | 8 | use Sylius\Component\Core\Model\PaymentInterface; |
| 10 | 9 | use Sylius\Component\Core\Model\PaymentMethodInterface; |
| 11 | -use Sylius\Component\Core\Model\ShipmentInterface; |
|
| 12 | -use Sylius\Component\Core\Model\ShippingMethodInterface; |
|
| 13 | 10 | use Sylius\Component\Core\Repository\OrderRepositoryInterface; |
| 14 | 11 | use Sylius\Component\Payment\Resolver\PaymentMethodsResolverInterface; |
| 15 | -use Sylius\Component\Registry\ServiceRegistryInterface; |
|
| 16 | -use Sylius\Component\Shipping\Calculator\CalculatorInterface; |
|
| 17 | -use Sylius\Component\Shipping\Resolver\ShippingMethodsResolverInterface; |
|
| 18 | 12 | use Sylius\ShopApiPlugin\Factory\PaymentMethodViewFactoryInterface; |
| 19 | -use Sylius\ShopApiPlugin\View\PaymentMethodView; |
|
| 20 | -use Sylius\ShopApiPlugin\View\ShipmentMethodView; |
|
| 21 | 13 | use Symfony\Component\HttpFoundation\Request; |
| 22 | 14 | use Symfony\Component\HttpFoundation\Response; |
| 23 | 15 | |