@@ -77,13 +77,13 @@ public function get_smtp_details()
7777 {
7878 return $ this ->get ("account/smtpdetail " ,"" );
7979 }
80- public function create_child_account ($ email ,$ password ,$ company_org ,$ first_name ,$ last_name ,$ credits )
80+ public function create_child_account ($ email ,$ password ,$ company_org ,$ first_name ,$ last_name ,$ credits, $ associate_ip )
8181 {
82- return $ this ->post ("account " ,json_encode (array ("child_email " =>$ email ,"password " =>$ password ,"company_org " =>$ company_org ,"first_name " =>$ first_name ,"last_name " =>$ last_name ,"credits " =>$ credits )));
82+ return $ this ->post ("account " ,json_encode (array ("child_email " =>$ email ,"password " =>$ password ,"company_org " =>$ company_org ,"first_name " =>$ first_name ,"last_name " =>$ last_name ,"credits " =>$ credits, " associate_ip " => $ associate_ip )));
8383 }
84- public function update_child_account ($ child_authkey ,$ company_org ,$ first_name ,$ last_name ,$ password )
84+ public function update_child_account ($ child_authkey ,$ company_org ,$ first_name ,$ last_name ,$ password, $ associate_ip , $ disassociate_ip )
8585 {
86- return $ this ->put ("account " ,json_encode (array ("auth_key " =>$ child_authkey ,"company_org " =>$ company_org ,"first_name " =>$ first_name ,"last_name " =>$ last_name ,"password " =>$ password )));
86+ return $ this ->put ("account " ,json_encode (array ("auth_key " =>$ child_authkey ,"company_org " =>$ company_org ,"first_name " =>$ first_name ,"last_name " =>$ last_name ,"password " =>$ password, " associate_ip " => $ associate_ip , " disassociate_ip " => $ disassociate_ip )));
8787 }
8888 public function delete_child_account ($ child_authkey )
8989 {
0 commit comments