gruene-seele/packages/shoppingcart/Contracts/Buyable.php
2025-04-01 10:39:21 +02:00

27 lines
No EOL
535 B
PHP

<?php
namespace App\Packages\Shoppingcart\Contracts;
interface Buyable
{
/**
* Get the identifier of the Buyable item.
*
* @return int|string
*/
public function getBuyableIdentifier($options = null);
/**
* Get the description or title of the Buyable item.
*
* @return string
*/
public function getBuyableDescription($options = null);
/**
* Get the price of the Buyable item.
*
* @return float
*/
public function getBuyablePrice($options = null);
}