| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100 |
- <?php
- namespace Com\Pdd\Pop\Sdk\Api\Request;
- use Com\Pdd\Pop\Sdk\PopBaseHttpRequest;
- use Com\Pdd\Pop\Sdk\PopBaseJsonEntity;
- class PddDdkGoodsDetailRequest extends PopBaseHttpRequest
- {
- public function __construct()
- {
- }
- /**
- * @JsonProperty(String, "custom_parameters")
- */
- private $customParameters;
- /**
- * @JsonProperty(List<Long>, "goods_id_list")
- */
- private $goodsIdList;
- /**
- * @JsonProperty(String, "pid")
- */
- private $pid;
- /**
- * @JsonProperty(Integer, "plan_type")
- */
- private $planType;
- /**
- * @JsonProperty(String, "search_id")
- */
- private $searchId;
- /**
- * @JsonProperty(Long, "zs_duo_id")
- */
- private $zsDuoId;
- protected function setUserParams(&$params)
- {
- $this->setUserParam($params, "custom_parameters", $this->customParameters);
- $this->setUserParam($params, "goods_id_list", $this->goodsIdList);
- $this->setUserParam($params, "pid", $this->pid);
- $this->setUserParam($params, "plan_type", $this->planType);
- $this->setUserParam($params, "search_id", $this->searchId);
- $this->setUserParam($params, "zs_duo_id", $this->zsDuoId);
- }
- public function getVersion()
- {
- return "V1";
- }
- public function getDataType()
- {
- return "JSON";
- }
- public function getType()
- {
- return "pdd.ddk.goods.detail";
- }
- public function setCustomParameters($customParameters)
- {
- $this->customParameters = $customParameters;
- }
- public function setGoodsIdList($goodsIdList)
- {
- $this->goodsIdList = $goodsIdList;
- }
- public function setPid($pid)
- {
- $this->pid = $pid;
- }
- public function setPlanType($planType)
- {
- $this->planType = $planType;
- }
- public function setSearchId($searchId)
- {
- $this->searchId = $searchId;
- }
- public function setZsDuoId($zsDuoId)
- {
- $this->zsDuoId = $zsDuoId;
- }
- }
|