@@ 65-72 (lines=8) @@ | ||
62 | * |
|
63 | * @return string|null |
|
64 | */ |
|
65 | public function getTransactionReference() |
|
66 | { |
|
67 | if (isset($this->data['payment']['hash'])) { |
|
68 | return $this->data['payment']['hash']; |
|
69 | } |
|
70 | ||
71 | return null; |
|
72 | } |
|
73 | /** |
|
74 | * Get the transaction id. |
|
75 | * |
|
@@ 78-85 (lines=8) @@ | ||
75 | * |
|
76 | * @return string|null |
|
77 | */ |
|
78 | public function getTransactionId() |
|
79 | { |
|
80 | if (isset($this->data['payment']['merchant_payment_code'])) { |
|
81 | return $this->data['payment']['merchant_payment_code']; |
|
82 | } |
|
83 | ||
84 | return null; |
|
85 | } |
|
86 | ||
87 | /** |
|
88 | * Get the error message from the response. |