companyCode = $companyCode; $this->apiParas["companyCode"] = $companyCode; } public function getCompanyCode() { return $this->companyCode; } public function setContactName($contactName) { $this->contactName = $contactName; $this->apiParas["contactName"] = $contactName; } public function getContactName() { return $this->contactName; } public function setContactTel($contactTel) { $this->contactTel = $contactTel; $this->apiParas["contactTel"] = $contactTel; } public function getContactTel() { return $this->contactTel; } public function setDate($date) { $this->date = $date; $this->apiParas["date"] = $date; } public function getDate() { return $this->date; } public function setFlightNo($flightNo) { $this->flightNo = $flightNo; $this->apiParas["flightNo"] = $flightNo; } public function getFlightNo() { return $this->flightNo; } public function setFrom($from) { $this->from = $from; $this->apiParas["from"] = $from; } public function getFrom() { return $this->from; } public function setItemId($itemId) { $this->itemId = $itemId; $this->apiParas["itemId"] = $itemId; } public function getItemId() { return $this->itemId; } public function setPassagers($passagers) { $this->passagers = $passagers; $this->apiParas["passagers"] = $passagers; } public function getPassagers() { return $this->passagers; } public function setSeatCode($seatCode) { $this->seatCode = $seatCode; $this->apiParas["seatCode"] = $seatCode; } public function getSeatCode() { return $this->seatCode; } public function setTo($to) { $this->to = $to; $this->apiParas["to"] = $to; } public function getTo() { return $this->to; } public function getApiMethodName() { return "qianmi.elife.air.order.payBill"; } public function getApiParas() { return $this->apiParas; } public function check() { RequestCheckUtil::checkNotNull($this->companyCode, "companyCode"); RequestCheckUtil::checkNotNull($this->contactName, "contactName"); RequestCheckUtil::checkNotNull($this->contactTel, "contactTel"); RequestCheckUtil::checkNotNull($this->date, "date"); RequestCheckUtil::checkNotNull($this->flightNo, "flightNo"); RequestCheckUtil::checkNotNull($this->from, "from"); RequestCheckUtil::checkNotNull($this->itemId, "itemId"); RequestCheckUtil::checkNotNull($this->seatCode, "seatCode"); RequestCheckUtil::checkNotNull($this->to, "to"); } public function putOtherTextParam($key, $value) { $this->apiParas[$key] = $value; $this->$key = $value; } }