razorpayOrder = $razorpayOrder; } public function getOrderId() { return $this->razorpayOrder->receipt; } public function getTransactionReference() { return $this->razorpayOrder->razorpay_payment_id; } public function toArray() { return $this->razorpayOrder->toArray(); } }