Files
Virtnet.bond/app/Console/Commands/Extension/stubs/gateway.stub
2025-11-30 11:57:22 +01:00

32 lines
566 B
Plaintext

<?php
namespace {{ namespace }};
use App\Classes\Extension\Gateway;
use App\Models\Invoice;
class {{ class }} extends Gateway
{
/**
* Get all the configuration for the extension
*
* @param array $values
* @return array
*/
public function getConfig($values = [])
{
return [];
}
/**
* Return a view or a url to redirect to
*
* @param Invoice $invoice
* @param float $total
* @return string
*/
public function pay(Invoice $invoice, $total)
{
return '';
}
}