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