RuleId = $param["RuleId"]; } if (array_key_exists("TerminalType",$param) and $param["TerminalType"] !== null) { $this->TerminalType = $param["TerminalType"]; } if (array_key_exists("IdCard",$param) and $param["IdCard"] !== null) { $this->IdCard = $param["IdCard"]; } if (array_key_exists("Name",$param) and $param["Name"] !== null) { $this->Name = $param["Name"]; } if (array_key_exists("RedirectUrl",$param) and $param["RedirectUrl"] !== null) { $this->RedirectUrl = $param["RedirectUrl"]; } if (array_key_exists("Extra",$param) and $param["Extra"] !== null) { $this->Extra = $param["Extra"]; } if (array_key_exists("ImageBase64",$param) and $param["ImageBase64"] !== null) { $this->ImageBase64 = $param["ImageBase64"]; } if (array_key_exists("Encryption",$param) and $param["Encryption"] !== null) { $this->Encryption = new Encryption(); $this->Encryption->deserialize($param["Encryption"]); } if (array_key_exists("IntentionVerifyText",$param) and $param["IntentionVerifyText"] !== null) { $this->IntentionVerifyText = $param["IntentionVerifyText"]; } if (array_key_exists("IntentionQuestions",$param) and $param["IntentionQuestions"] !== null) { $this->IntentionQuestions = []; foreach ($param["IntentionQuestions"] as $key => $value){ $obj = new IntentionQuestion(); $obj->deserialize($value); array_push($this->IntentionQuestions, $obj); } } } }