Skip to content

Commit ca93ec6

Browse files
committed
added CompletePurchaseResponse::getCurrency
1 parent a5719e2 commit ca93ec6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/Message/CompletePurchaseResponse.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,11 @@ public function getAmount()
5555
return $this->data['LMI_PAYMENT_AMOUNT'];
5656
}
5757

58+
public function getCurrency()
59+
{
60+
return $this->request->getCurrencyByPurse($this->data['LMI_PAYEE_PURSE']);
61+
}
62+
5863
public function getTestMode()
5964
{
6065
return (bool) $this->getMode();

0 commit comments

Comments
 (0)