We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0484403 commit 75e457cCopy full SHA for 75e457c
src/AqBanking/ContextXmlRenderer.php
@@ -75,6 +75,18 @@ public function getTransactions()
75
return $transactions;
76
}
77
78
+ /**
79
+ * @return Money
80
+ */
81
+ public function getBalance()
82
+ {
83
+ $statusNode = $this->domDocument->getElementsByTagName('bookedBalance')->item(0);
84
+
85
+ return $this->renderMoneyElement(
86
+ $this->xPath->query('value', $statusNode)->item(0)
87
+ );
88
+ }
89
90
/**
91
* @param \DOMNodeList $nodes
92
* @throws \RuntimeException
0 commit comments