<?php
/**
 * TOP API: taobao.fenxiao.distributor.procuct.static.get request
 * 
 * @author auto create
 * @since 1.0, 2013-11-17 16:59:01
 */
class FenxiaoDistributorProcuctStaticGetRequest
{
	/** 
	 * 分销商淘宝店主nick
	 **/
	private $distributorUserNick;
	
	/** 
	 * 供应商商品id，一次可以传多个，每次最多40个。
以,(英文)作为分隔符。
	 **/
	private $productIdArray;
	
	private $apiParas = array();
	
	public function setDistributorUserNick($distributorUserNick)
	{
		$this->distributorUserNick = $distributorUserNick;
		$this->apiParas["distributor_user_nick"] = $distributorUserNick;
	}

	public function getDistributorUserNick()
	{
		return $this->distributorUserNick;
	}

	public function setProductIdArray($productIdArray)
	{
		$this->productIdArray = $productIdArray;
		$this->apiParas["product_id_array"] = $productIdArray;
	}

	public function getProductIdArray()
	{
		return $this->productIdArray;
	}

	public function getApiMethodName()
	{
		return "taobao.fenxiao.distributor.procuct.static.get";
	}
	
	public function getApiParas()
	{
		return $this->apiParas;
	}
	
	public function check()
	{
		
		RequestCheckUtil::checkNotNull($this->distributorUserNick,"distributorUserNick");
		RequestCheckUtil::checkNotNull($this->productIdArray,"productIdArray");
	}
	
	public function putOtherTextParam($key, $value) {
		$this->apiParas[$key] = $value;
		$this->$key = $value;
	}
}
