public function __construct($login, $id, $type, $subType = null, $bankId = null) { $this->login = $login; $this->id = $id; $this->type = $type; $this->subType = $subType; $this->bankId = $bankId; }