for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Genkgo\Camt\DTO;
class RelatedParty
{
private RelatedPartyTypeInterface $relatedPartyDetails;
private ?Account $account;
public function __construct(RelatedPartyTypeInterface $relatedPartyDetails, ?Account $account)
$this->relatedPartyDetails = $relatedPartyDetails;
$this->account = $account;
}
public function getRelatedPartyType(): RelatedPartyTypeInterface
return $this->relatedPartyDetails;
public function getAccount(): ?Account
return $this->account;