Skip to content

Commit c1d8645

Browse files
Disconnect
1 parent 44b1c52 commit c1d8645

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/DisconnectsModel.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public function getList($filters = Array())
3333
}
3434

3535
public function disconnect($id, $tndetail = false) {
36-
$d = new Disconnect($this, array("OrderId" => $id));
36+
$d = new Disconnect($this, array("orderId" => $id));
3737
$d->get($tndetail);
3838
return $d;
3939
}
@@ -114,20 +114,20 @@ public function save() {
114114
$data = parent::post(null, "DisconnectTelephoneNumberOrder", $this->to_array());
115115
$this->OrderStatus = new OrderRequestStatus($data);
116116
if(isset($this->OrderStatus->orderRequest)) {
117-
$this->OrderId = $this->OrderStatus->orderRequest->id;
117+
$this->orderId = $this->OrderStatus->orderRequest->id;
118118
$this->set_data($this->OrderStatus->orderRequest->to_array());
119119
}
120120
}
121121

122122
/**
123123
* Get Entity Id
124124
* @return type
125-
* @throws Exception in case of OrderId is null
125+
* @throws Exception in case of orderId is null
126126
*/
127127
private function get_id() {
128-
if(!isset($this->OrderId))
129-
throw new \Exception("You can't use this function without OrderId");
130-
return $this->OrderId;
128+
if(!isset($this->orderId))
129+
throw new \Exception("You can't use this function without orderId");
130+
return $this->orderId;
131131
}
132132

133133
/**

0 commit comments

Comments
 (0)