mivita/packages/shoppingcart/Contracts/Buyable.php
Kevin Adametz bfa3bb1df4 08 2024
2024-08-05 12:05:24 +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);
}