Updates - API updates and PHP-SDK 1.0.10
API Updates
Added a new value for zusatzkosten element: ust_berechneter_wert. Contains the value of the calculated VAT in the currency of the realty
<zusatzkosten>
<betriebskosten>
<name>Betriebskosten</name>
<!-- ... -->
<ust_berechneter_wert>24</ust_berechneter_wert>
</betriebskosten>
<heizkosten>
<name>Heizkosten</name>
<!-- ... -->
<ust_berechneter_wert>10</ust_berechneter_wert>
</heizkosten>
</zusatzkosten>
Added regionaler_zusatz in geo which contains the new field Nähe (BC-Break: Lage/Nähe has been split into to separate fields)
<geo>
<!-- ... -->
<regionaler_zusatz>Nähe Stephansplatz</regionaler_zusatz>
</geo>
PHP-SDK 1.0.10
Added support for locality
<?php
// returns the value for <freitexte><lage>
$realty->getLocality()
Added support for commission
<?php
// returns the value for <preise><aussen_courtage> eg: 16.200,00 € inkl. 20% USt.
$realty->getCommission()
Added new properties for additional costs
<?php
//$cost is an instance of Justimmo/Model/AdditionalCosts
// returns the name
$cost->getName();
// returns the gross value
$cost->getGross();
// returns net value
$cost->getNet();
// returns the vat value in percent
$cost->getVat();
// returns the vat type: numeric|percent
$cost->getVatType();
// returns the vat value as currency (nummeric)
$cost->getVatValue();
// returns the vat as inputed by user in Justimmo
$cost->getVatInput();
// returns if a cost is optional, an optional cost is excluded in overall values
$cost->getOptional()