<?php

namespace Market\Request\V20151101;

/**
 * @deprecated Please use https://github.com/aliyun/openapi-sdk-php
 *
 * Request of DescribeProduct
 *
 * @method string getCode()
 * @method string getQueryDraft()
 * @method string getAliUid()
 */
class DescribeProductRequest extends \RpcAcsRequest
{

    /**
     * @var string
     */
    protected $method = 'POST';

    /**
     * Class constructor.
     */
    public function __construct()
    {
        parent::__construct(
            'Market',
            '2015-11-01',
            'DescribeProduct',
            'yunmarket'
        );
    }

    /**
     * @param string $code
     *
     * @return $this
     */
    public function setCode($code)
    {
        $this->requestParameters['Code'] = $code;
        $this->queryParameters['Code'] = $code;

        return $this;
    }

    /**
     * @param string $queryDraft
     *
     * @return $this
     */
    public function setQueryDraft($queryDraft)
    {
        $this->requestParameters['QueryDraft'] = $queryDraft;
        $this->queryParameters['QueryDraft'] = $queryDraft;

        return $this;
    }

    /**
     * @param string $aliUid
     *
     * @return $this
     */
    public function setAliUid($aliUid)
    {
        $this->requestParameters['AliUid'] = $aliUid;
        $this->queryParameters['AliUid'] = $aliUid;

        return $this;
    }
}
