We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df022a2 commit 361f8fbCopy full SHA for 361f8fb
src/PleskX/Api/Operator/Customer.php
@@ -24,6 +24,22 @@ public function create($properties)
24
return new Struct\Info($response);
25
}
26
27
+ public function set_status($plesk_customer_id,$status)
28
+ {
29
+ $packet = $this->_client->getPacket();
30
+
31
+ $get = $packet->addChild($this->_wrapperTag)->addChild('set');
32
33
+ $filter = $get->addChild('filter');
34
+ $filter->addChild('id',$plesk_customer_id);
35
+ $values = $get->addChild('values');
36
+ $gen_info = $values->addChild('gen_info');
37
+ $gen_info->addChild('status',$status);
38
+ $response = $this->_client->request($packet,$this->_client::RESPONSE_FULL);
39
40
+ return new Struct\Info($response);
41
+ }
42
43
/**
44
* @param string $field
45
* @param integer|string $value
0 commit comments