osb/app/Interfaces/ProductItem.php

29 lines
458 B
PHP
Raw Normal View History

<?php
namespace App\Interfaces;
2022-02-01 05:40:46 +00:00
use Illuminate\Support\Collection;
interface ProductItem
{
/**
2022-02-01 05:40:46 +00:00
* Return the traffic inclusion with the service
*
2022-02-01 05:40:46 +00:00
* @return mixed
*/
2022-02-01 05:40:46 +00:00
public function allowance(): Collection;
/**
2022-02-01 05:40:46 +00:00
* Render the traffic inclusion as a string
*
2022-02-01 05:40:46 +00:00
* @return mixed
*/
2022-02-01 05:40:46 +00:00
public function allowance_string(): string;
/**
2022-02-01 05:40:46 +00:00
* Does this offering capture usage information
*
2022-02-01 05:40:46 +00:00
* @return bool
*/
2022-02-01 05:40:46 +00:00
public function hasUsage(): bool;
}