app/Components/Purchasable/Abstracts/Purchasable.php
<?php
namespace App\Components\Purchasable\Abstracts;
use Akaunting\Money\Money;
interface Purchasable
{
public function getPurchasableData(): array;
public function getPurchasablePrice(string $currency): Money;
public function getPurchasablePriceDiscounted(string $currency): ?Money;
}