Updated preorder api
This commit is contained in:
@@ -359,7 +359,11 @@ class Preorder extends mfBaseModel {
|
||||
$a['cifurl'] = $this->cifurl;
|
||||
$a['oaid'] = $this->oaid;
|
||||
$a['extref'] = $this->extref;
|
||||
$a['orderDate'] = ($this->order_date) ? date("Y-m-d",$this->order_date) : null;
|
||||
$a['status'] = $this->getProperty("status")->getApiArray();
|
||||
$a['ciftoken'] = ($this->ciftoken) ? $this->ciftoken : null;
|
||||
$a['cifurl'] = ($this->cifurl) ? $this->cifurl : null;
|
||||
$a['installationDate'] = ($this->installation_date) ? date("c", $this->installation_date) : null;
|
||||
$a['connectionType'] = $this->connection_type;
|
||||
$a['connectionCount'] = ($this->connection_count) ? (int)$this->connection_count : 1;
|
||||
$a['isAdditionalOrder'] = ($this->is_additional_order) ? true : false;
|
||||
|
||||
Reference in New Issue
Block a user