<?php
/**
 * TOP API: taobao.baichuan.item.subscribe.relation.query request
 * 
 * @author auto create
 * @since 1.0, 2016.08.04
 */
class BaichuanItemSubscribeRelationQueryRequest
{
	/** 
	 * 商品Id
	 **/
	private $itemId;
	
	private $apiParas = array();
	
	public function setItemId($itemId)
	{
		$this->itemId = $itemId;
		$this->apiParas["item_id"] = $itemId;
	}

	public function getItemId()
	{
		return $this->itemId;
	}

	public function getApiMethodName()
	{
		return "taobao.baichuan.item.subscribe.relation.query";
	}
	
	public function getApiParas()
	{
		return $this->apiParas;
	}
	
	public function check()
	{
		
		RequestCheckUtil::checkNotNull($this->itemId,"itemId");
	}
	
	public function putOtherTextParam($key, $value) {
		$this->apiParas[$key] = $value;
		$this->$key = $value;
	}
}
