Bill Meet streaming hourly and storage per GB like Transfer.
Deploy Ladill Meet / deploy (push) Successful in 54s
Deploy Ladill Meet / deploy (push) Successful in 54s
Wallet debits at session end, on recording/file storage, and via daily renewals with grace period before asset deletion. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
namespace App\Console\Commands;
|
||||
|
||||
use App\Services\Meet\MeetBillingService;
|
||||
use Illuminate\Console\Command;
|
||||
|
||||
class ProcessMeetBillingCommand extends Command
|
||||
{
|
||||
protected $signature = 'meet:process-billing';
|
||||
|
||||
protected $description = 'Renew monthly Meet recording and file storage billing';
|
||||
|
||||
public function handle(MeetBillingService $billing): int
|
||||
{
|
||||
$result = $billing->processDueStorageRenewals();
|
||||
|
||||
$this->info(sprintf(
|
||||
'Meet storage billing: %d renewed, %d entered grace, %d deleted.',
|
||||
$result['renewed'],
|
||||
$result['graced'],
|
||||
$result['deleted'],
|
||||
));
|
||||
|
||||
return self::SUCCESS;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user