for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace LauLamanApps\IzettleApi\API\Purchase;
use Money\Money;
use Ramsey\Uuid\UuidInterface;
abstract class AbstractPayment
{
private $uuid;
private $amount;
public function __construct(UuidInterface $uuid, Money $amount)
$this->uuid = $uuid;
$this->amount = $amount;
}
public function getUuid(): UuidInterface
return $this->uuid;
public function getAmount(): Money
return $this->amount;