public function __construct(Payment $payment, $fromDeleted) { $this->payment = $payment; $this->fromDeleted = $fromDeleted; }