Basic port of old payment methods

This commit is contained in:
2024-04-12 10:54:18 +02:00
parent 365b5f9555
commit 5b98cec087
4 changed files with 44 additions and 0 deletions
@@ -0,0 +1,11 @@
<?php
namespace App\Library\Economy\Payment;
abstract class CashGateway implements GatewayInterface
{
public static function getName(): string
{
return 'cash';
}
}
@@ -0,0 +1,11 @@
<?php
namespace App\Library\Economy\Payment;
abstract class CecaGateway implements GatewayInterface
{
public static function getName(): string
{
return 'tpv';
}
}
@@ -0,0 +1,11 @@
<?php
namespace App\Library\Economy\Payment;
abstract class DropGateway implements GatewayInterface
{
public static function getName(): string
{
return 'drop';
}
}
@@ -0,0 +1,11 @@
<?php
namespace App\Library\Economy\Payment;
abstract class PaypalGateway implements GatewayInterface
{
public static function getName(): string
{
return 'paypal';
}
}