BizToken = $param["BizToken"]; } if (array_key_exists("ChargeCount",$param) and $param["ChargeCount"] !== null) { $this->ChargeCount = $param["ChargeCount"]; } if (array_key_exists("ChargeDetails",$param) and $param["ChargeDetails"] !== null) { $this->ChargeDetails = []; foreach ($param["ChargeDetails"] as $key => $value){ $obj = new ChargeDetail(); $obj->deserialize($value); array_push($this->ChargeDetails, $obj); } } if (array_key_exists("RuleId",$param) and $param["RuleId"] !== null) { $this->RuleId = $param["RuleId"]; } } }