¨4.0.1¨
This commit is contained in:
@@ -10,21 +10,25 @@ class RazorpayResponse extends GatewayResponse implements HasTransactionReferenc
|
||||
{
|
||||
private $razorpayOrder;
|
||||
|
||||
|
||||
public function __construct(RazorpayOrder $razorpayOrder)
|
||||
{
|
||||
$this->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();
|
||||
|
||||
Reference in New Issue
Block a user