We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 38d74c5 + af779d4 commit f5a5526Copy full SHA for f5a5526
src/Message/ApiPurchaseResponse.php
@@ -47,6 +47,11 @@ public function getOrderId()
47
return ((isset($this->data->order) && isset($this->data->order->order_id))?$this->data->order->order_id:null);
48
}
49
50
+ public function getTransactionReference()
51
+ {
52
+ return $this->getOrderId();
53
+ }
54
+
55
public function getTotalAuthorizedAmount()
56
{
57
return ((isset($this->data->order) && isset($this->data->order->total_authorized_amount))?$this->data->order->total_authorized_amount:null);
0 commit comments