Work on product costing (broadband) and reporting
This commit is contained in:
28
app/Interfaces/ProductSupplier.php
Normal file
28
app/Interfaces/ProductSupplier.php
Normal file
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
namespace App\Interfaces;
|
||||
|
||||
use Illuminate\Support\Collection;
|
||||
|
||||
interface ProductSupplier {
|
||||
/**
|
||||
* Return the traffic inclusion with the service
|
||||
*
|
||||
* @return mixed
|
||||
*/
|
||||
public function allowance(): Collection;
|
||||
|
||||
/**
|
||||
* Render the traffic inclusion as a string
|
||||
*
|
||||
* @return mixed
|
||||
*/
|
||||
public function allowance_string(): string;
|
||||
|
||||
/**
|
||||
* Return the product cost
|
||||
*
|
||||
* @return float
|
||||
*/
|
||||
public function getCostAttribute(): float;
|
||||
}
|
Reference in New Issue
Block a user