<?php
/**
 * TOP API: taobao.hotel.get request
 *
 * @author auto create
 * @since 1.0, 2012-02-07 12:35:56
 */
class HotelGetRequest
{
	/**
	 * 要查询的酒店id。必须为数字
	 **/
	private $hid;

	/**
	 * 是否需要返回该酒店的房型列表。可选值：true，false。
	 **/
	private $needRoomType;

	private $apiParas = array();

	public function setHid($hid)
	{
		$this->hid = $hid;
		$this->apiParas["hid"] = $hid;
	}

	public function getHid()
	{
		return $this->hid;
	}

	public function setNeedRoomType($needRoomType)
	{
		$this->needRoomType = $needRoomType;
		$this->apiParas["need_room_type"] = $needRoomType;
	}

	public function getNeedRoomType()
	{
		return $this->needRoomType;
	}

	public function getApiMethodName()
	{
		return "taobao.hotel.get";
	}

	public function getApiParas()
	{
		return $this->apiParas;
	}

	public function check()
	{

		RequestCheckUtil::checkNotNull($this->hid,"hid");
	}
}
