17 lines
385 B
PHP
17 lines
385 B
PHP
<?php
|
|
|
|
namespace App\Repositories\Api\Order;
|
|
|
|
use App\Repositories\BaseRepositoryInterface;
|
|
|
|
interface OrderRepositoryInterface extends BaseRepositoryInterface
|
|
{
|
|
public function createItem($orderId, array $data);
|
|
|
|
public function processPayment($order, $method);
|
|
|
|
public function hasPendingOrder($customerId);
|
|
|
|
public function getOrders($customerId, array $filters);
|
|
}
|