preorder api docs updated
This commit is contained in:
@@ -44,7 +44,7 @@ class Preorder extends mfBaseModel {
|
||||
$wohneinheit = $this->getProperty("adb_wohneinheit");
|
||||
|
||||
$a = [];
|
||||
$a['ucode'] = strtoupper($this->ucode);
|
||||
$a['code'] = strtoupper($this->ucode);
|
||||
$a['oaid'] = $this->oaid;
|
||||
$a['status'] = $this->getProperty("status")->getApiArray();
|
||||
$a['connectionType'] = $this->connection_type;
|
||||
@@ -62,7 +62,7 @@ class Preorder extends mfBaseModel {
|
||||
$address['zip'] = $hausnummer->plz->plz;
|
||||
$address['city'] = $hausnummer->strasse->gemeinde->name;
|
||||
$address['district'] = $hausnummer->ortschaft->name;
|
||||
$address['bock'] = ($wohneinheit->block) ? $wohneinheit->block : null;
|
||||
$address['block'] = ($wohneinheit->block) ? $wohneinheit->block : null;
|
||||
$address['stock'] = ($wohneinheit->stock) ? $wohneinheit->stock : null;
|
||||
$address['stiege'] = ($wohneinheit->stiege) ? $wohneinheit->stiege : null;
|
||||
$address['tuer'] = ($wohneinheit->tuer) ? $wohneinheit->tuer : null;
|
||||
@@ -74,9 +74,9 @@ class Preorder extends mfBaseModel {
|
||||
$customer['lastname'] = ($this->lastname) ? $this->lastname : null;
|
||||
$customer['street'] = ($this->street) ? $this->street : null;
|
||||
$customer['housenumber'] = ($this->hausnummer) ? $this->housenumber : null;
|
||||
$customer['zip'] = ($this->plz) ? $this->plz : null;
|
||||
$customer['zip'] = ($this->zip) ? $this->zip : null;
|
||||
$customer['city'] = ($this->city) ? $this->city : null;
|
||||
$customer['bock'] = ($this->block) ? $this->block : null;
|
||||
$customer['block'] = ($this->block) ? $this->block : null;
|
||||
$customer['stock'] = ($this->stock) ? $this->stock : null;
|
||||
$customer['stiege'] = ($this->stiege) ? $this->stiege : null;
|
||||
$customer['tuer'] = ($this->tuer) ? $this->tuer : null;
|
||||
|
||||
Reference in New Issue
Block a user