move into sonardesk
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
namespace Modules\Commerce\Contracts;
|
||||
|
||||
use Modules\Commerce\Models\Product;
|
||||
|
||||
interface InventoryProvider
|
||||
{
|
||||
public function adjust(Product $product, int $quantity, string $reason, ?int $userId = null): void;
|
||||
|
||||
public function available(Product $product): int;
|
||||
}
|
||||
Reference in New Issue
Block a user